On Fri, Oct 13, 2017 at 5:00 PM, <[email protected]> wrote: > hi all, > > i found the cubieboard4 is supported by the official u-boot with > Cubieboard4_defconfig, and i have built success with u-boot-2017.09.tar.bz2. > next i put the u-boot on board, > dd if=u-boot.bin of=/dev/mmcblk1 bs=1k seek=19096, but it can't work, error > occur: > [mmc]: ***SD/MMC 2 init OK!!!*** > sdcard 2 init ok > ERROR! NOT find the head of uboot. > Ready to disable icache. > > i have tried the below binaries, but all fails > u-boot.bin > u-boot-nodtb.bin > u-boot-dtb.bin > u-boot-sunxi-with-spl.bin
See how to install mainline U-boot here: http://linux-sunxi.org/Mainline_U-Boot#Install_U-Boot You should use u-boot-sunxi-with-spl.bin, and seek only 8 blocks, instead of 19096. Mainline U-boot includes SPL, so you don't need boot0 from the vendor BSP. ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
