Forum Discussion
Altera_Forum
Honored Contributor
8 years agoOne more question.
I build preloader (SPL) from u-boot sources (https://github.com/altera-opensource/u-boot-socfpga, socfpga_v2013.01.01) with handsoff defaults from repository: make mrproper make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- socfpga_cyclone5_config make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- I get u-boot.img and u-boot-spl.bin. The last one I use to build preloader-mkpimage.bin: mkpimage --header-version 0 -o preloader-mkpimage.bin u-boot-spl.bin u-boot-spl.bin u-boot-spl.bin u-boot-s pl.bin But after updating SD card's partition 2 with this .bin (dd if=preloader-mkpimage.bin of=/dev/mmcblk0p3 bs=64k seek=0) - board doesn't boot at all. And now I am wondering if there is anything which I should modify (at prloader/u-boot sources) before building u-boot-spl.bin. u-boot build with the same way (u-boot.img) works fine. I've tried to build preloader-mkpimage.bin according to the https://rocketboards.org/foswiki/view/documentation/avgsrdpreloader as well but results are the same - board doesn't boot at all - no single character on serial console. Thanks