AnsweredAssumed Answered

u-boot.bin vs u-boot.imx. How to boot with .bin ?

Question asked by Adrian Mango on Jul 23, 2018
Latest reply on Jul 24, 2018 by igorpadykov


I have a question about u-boot.bin and u-boot.imx. Basically I generated 2018-u-boot.bin and 2018-u-boot.imx. The .imx file worked fine with command "sudo dd if=u-boot/u-boot.imx of=${DISK} seek=2 bs=512". Is it possible to boot with 2018-u-boot.bin file and how to write this .bin file to sdcard so that it can boot ? I tried different ways couldn't boot with .bin file


Second question would be the format of .bin and .imx, I compared both in hex editor and found that the .imx file had some header append it. Basically .imx = imx header + .bin. I have 2009-u-boot.bin that came from the iMX53 Loco dev kit. This .bin file does not appear to have any imx header. More importantly, the command to write is "sudo dd if=u-boot.bin of=/dev/sdb bs=512 && sync && sync" and this command worked, the board booted. Can you help me understand why this u-boot.bin worked without imx header ?


Thank you !