Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2440 - Raspberry Pi 3 build does not seem to run in QEMU #7255

Open
openwrt-bot opened this issue Aug 13, 2019 · 1 comment
Open

FS#2440 - Raspberry Pi 3 build does not seem to run in QEMU #7255

openwrt-bot opened this issue Aug 13, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

MikePetullo:

I am interested in running a Raspberry Pi 3 OpenWrt image (built from commit 7ec092e) in QEMU. My aim is to perform some testing of custom-built images before shipment. 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 -append "root=/dev/sda2 rootfstype=ext4 rw" -hda openwrt-brcm2708-bcm2710-rpi-3-ext4-factory.img

The kernel crashes under these circumstances. I attached a screenshot I cobbled together that contains the kernel's output.

I first mentioned this issue on the openwrt-devel mailing list (June 2, 2019, subject "Running Raspberry Pi 3 OpenWrt in QEMU"), and Petr Štetiar suggested I open a bug report here.

@openwrt-bot
Copy link
Author

ynezz:

Well, I've asked you to copy&paste the crash log (or attach it as the plain text file), images means more work, you can't search in them...

I think, that adding -nographic command line option should help with that.

built from commit 7ec092e

BTW I can't find this commit and it would be much easier if you can reproduce this with snapshot images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant