i compiled u-boot with:
$ export ARCH=arm
$ export CROSS_COMPILE=/home/matt/gcc-linaro/bin/arm-linux-gnueabi-
$ make mx6qsabresd_config
$ make all
$ dd if=u-boot.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
On both methodes the board does not boot up. Any suggestions what I am doing wrong?
Solved! Go to Solution.
" The line I provided earlier is for the 2013 U-boot, not the 2009.08 one."
i am having problem with 2009 u-boot.bin ,
i am working with i.mx53smd custom board. and i am having issue with u-boot.bin . i am using u-boot 2009-8 version with Freescale u-boot related patches(r10.4) . as per processor manual i am copying by using (dd if=u-boot.bin of=<sdcard "/dev/sdX"> bs=512 seek=2 )u-boot.bin at 0x400 location in sd card , but i am unable to get console.
Again i tried to compile u-boot 2013 for my i.mx53 custom board and generated u-boot.imx and copied same 0x400 location it is working fine , but u-boot.bin not executing for both 2009 and 2013.
so please help me !!!!!!
i tried "dd if=u-boot.in of=/dev/sdb bs=512 seek=2 skip=2" still it is not working.
and i tried " dd if=u-boot-no-padding off=/dev/sdb bs=512 seek=2 " it is also not working. And i am trying to load u-boot.bin through MFG tool it is hanging at Jump to os image .
can you plz advise how to proceed with 2009.08 u-boot.bin in to sd card .
thank you Leonardo and Fabio! Your Solutions works, but I do not understand why.. because in the manual there is no explanation to do that this way. There is only mentioned that the board starts with an offset of 512 bytes from the SD-Card.. Can you help me and explain this behaviour?
Update: It works although if i copy it not to the first partition.
On Yocto, u-boot is located on the first partition. So, do a dd like this
dd ... of=/dev/sdb1 ...
Also, I am not sure if seek & skip parameters are needed.