Cm3 Idbloader.img boot help

Hi there,

I can’t seem to generate a usable boot image for the cm3 - not sure why. I don’t see the SPL text on console - which has me worried.

uboot seems to output the necessary files, however I am not clear on what to use and where.

Is there a guide on running make.sh in the uboot directory and which files to use for the spl loader image ? I assume that u-boot.itb is the fit image which loads after the SPL image.

For the record, I am sourcing the following uboot :

https://github.com/radxa/u-boot.git
commit  = 19cefea3b8a7e22fa29b39367b04a8ab90c5c765
defconfig = radxa-cm3-io-rk3566
make BL31=../rkbin/bin/rk35/rk3568_bl31_v1.24.elf spl/u-boot-spl.bin u-boot.dtb u-boot.itb

I then use uboot.img as the u-boot.itb, which is written to the offset 8MB on the sdcard.

I am generating the idbloader.img like so :

uboot/tools/mkimage -n rk3568 -T rksd -d rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin:uboot/spl/u-boot-spl.bin idbloader.img

Actually, I think it is working.

1 Like