[OpenWrt-Devel] Running Raspberry Pi 3 OpenWrt in QEMU

W. Michael Petullo mike at flyn.org
Sun Jun 2 17:56:28 EDT 2019


I am interested in running the Raspberry Pi 3 OpenWrt image (built from
commit a1210f88) in QEMU.  I am close to accomplishing this, but the
kernel panics soon after booting.

I run QEMU With:

qemu-system-aarch64 -kernel build_dir/target-aarch64_cortex-a53_musl/linux-brcm2708_bcm2710/vmlinux -dtb build_dir/target-aarch64_cortex-a53_musl/linux-brcm2708_bcm2710/image-bcm2710-rpi-3-b.dtb -cpu cortex-a53 -m 256 -M raspi3 -serial stdio -append "root=/dev/sda2 rootfstype=ext4 rw" -hda openwrt-brcm2708-bcm2710-rpi-3-ext4-factory.img

The kernel call stack at the time of the crash appears to be:

DWC_READ_REG32
dwc_otg_driver_probe
platform_drv_probe
driver_probe_device
__driver_attach
bus_for_each_dev
driver_attach
bus_add_driver
driver_register
__platform_driver_register
dwc_otg_driver_init
do_one_initcall
kernel_init_freeable
kernel_init
ret_from_fork

Has anyone had more luck with this?

-- 
Mike

:wq

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list