running u-boot in qemu-system-arm64

Jack Andrews effbiae at gmail.com
Mon Dec 16 02:57:01 CET 2024


thanks for u-boot.

does u-boot run in qemu when emulating a raspberry pi 3 (or 4)?

i'm running
 $ qemu-system-arm64 -M raspi3b -kernel u-boot

and i just get a blank screen

i built u-boot with
export ARCH=arm64
export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
export CC=gcc
make rpi_3_defconfig
make

i also tried variations on qemu like:
 $ qemu-system-arm64 -smp 4,cores=1 -serial null -serial stdio -M raspi3b
-kernel u-boot
 $ qemu-system-arm64 -smp 4,cores=1 -serial null -serial stdio -M raspi3ap
-kernel u-boot

best,
jack


More information about the U-Boot mailing list