[U-Boot] U-Boot build for i.MX board won't boot in corresponding QEMU machine

Bin Meng bmeng.cn at gmail.com
Thu Oct 3 11:54:35 UTC 2019


+QEMU developers ML

On Thu, Oct 3, 2019 at 7:37 PM Waseem ALKurdi
<waseem19992009 at outlook.com> wrote:
>
> Dear all,
>
> I'm trying to get mainline U-Boot to boot on mainline QEMU 4.1.0 for the 'sabrelite' board, using the configuration 'mx6qsabrelite_defconfig'.
>
> It's not booting at all. Actually, not a single U-Boot build for an i.MX board would boot, with the exception of 'imx25-pdk'.
>
> I'm compiling U-Boot by un-tarring the source tarball and running the following commands:
>
> $ time CROSS_COMPILE=/path/to/toolchain/arm-2014.05/bin/arm-none-linux-gnueabi- make ARCH=arm clean
> $ time CROSS_COMPILE=/path/to/toolchain/arm-2014.05/bin/arm-none-linux-gnueabi- make ARCH=arm mrproper
> $ time CROSS_COMPILE=/path/to/toolchain/arm-2014.05/bin/arm-none-linux-gnueabi- make ARCH=arm mx6qsabrelite_defconfig
>
> then after the build finishes:
>
> $ qemu-system-arm -M sabrelite -m 512M -kernel ~/Downloads/u-boot-2019.10-rc3/u-boot.imx -monitor stdio
>
> And other variations on this command as well.
> No amount of kernel commandline options or anything would make it boot. What should I do?
>

I suspect mainline QEMU sabrelite machine only supports booting the
Linux kernel directly, but not booting U-Boot.

Regards,
Bin


More information about the U-Boot mailing list