rkdeveloptool icon indicating copy to clipboard operation
rkdeveloptool copied to clipboard

Getting "Opening loader failed, exiting download boot!" when running rkdeveloptool db

Open Marcus-C137 opened this issue 5 years ago • 3 comments

Put device into MaskRom mode. Build was successfull, but can not open loader

Marcus-C137 avatar Jul 03 '20 17:07 Marcus-C137

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.........|

drmckay avatar Jul 26 '20 21:07 drmckay

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

blazczak avatar Mar 28 '21 00:03 blazczak

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)

SciLor avatar Feb 05 '22 23:02 SciLor