rkdeveloptool
rkdeveloptool copied to clipboard
Getting "Opening loader failed, exiting download boot!" when running rkdeveloptool db
Put device into MaskRom mode. Build was successfull, but can not open loader
check if the loader file is in the same directory :) if it is correct, you have to use a specific loader image format, which can be created several ways... the correct image should look like this:
$ hexdump -n 16 -C [yourfilename] 00000000 42 4f 4f 54 66 00 50 02 00 00 00 00 03 01 e4 07 |BOOTf.P.........|
Ran into the same error message when trying to use rkdeveloptool to flash firefly-rk3399.
I'm curious @drmckay, what would be the easiest way to obtain the specific loader image format you're describing? The format of files in https://github.com/rockchip-linux/rkbin has changed, they no longer start with 0x42 0x4F 0x4F 0x54. This seems to break the instructions posted at http://wiki.t-firefly.com/ROC-RK3328-CC/flash_emmc.html#rkdeveloptool and https://en.opensuse.org/HCL:Firefly-RK3399
hexdump -n 16 -C rk3399_miniloader_v1.26.bin
00000000 82 00 00 14 00 00 00 00 52 53 41 4b f8 01 00 00 |........RSAK....|
00000010
You may build the bootloader if you want, just remove the "rm loader.bin" in the /scripts/checkpatch.sh and run it (from the root directoy)