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

Waseem ALKurdi waseem19992009 at outlook.com
Wed Oct 2 20:36:57 UTC 2019


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?

Kindest regards,

Waseem


More information about the U-Boot mailing list