[U-Boot] FW: u-boot v2016 vs v2013

Fabio Estevam festevam at gmail.com
Tue Jan 16 14:57:00 UTC 2018


Hi Mehmet,

On Tue, Jan 16, 2018 at 11:40 AM, Mehmet Ali İPİN
<mehmet.ipin at pavotek.com.tr> wrote:
> Dear Estevam,
>
> Thank you for your helps. I finally managed to build u-boot-2018. With these commands:
> export CROSS_COMPILE=/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-
>  export ARCH=arm
>  make distclean
>  make mx6sabreauto_defconfig
>  make
>
> There are u-boot, u-boot.bin, u-boot.img, ... files, but I could not see u-boot.imx file, which we use it to download to the DDR via USB, with usb_loader program.
>
> I used u-boot-2016 lately, which was generating .imx file; Do you know if we can generate it with 2018.1?

mx6sabreauto has been converted to SPL, so the generated binaries are
SPL and u-boot.img.

You can flash them into the SD card like this:

- Flash the SPL binary into the SD card:

$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync

- Flash the u-boot.img binary into the SD card:

$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync

This is described in board/freescale/mx6sabreauto/README.

You can also load SPL and u-boot.img via imx_usb_loader tool. Make
sure you use their latest code and follow doc/README.sdp.


More information about the U-Boot mailing list