qemu-system-arm: ../hw/usb/hcd-dwc2.c:666: dwc2_glbreg_read: Assertion `addr <= GINTSTS2' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to run the 2016-05-27 Raspbian image on the emulated raspi2 platform, the system boots but shortly after the login prompt QEMU (master; commit ID ca489cd037e4d50
qemu-system-arm: ../hw/usb/
Steps to reproduce:
1. Get the image: wget http://
2. Extract the kernel image and DTB:
sudo losetup -f --show -P 2016-05-
sudo mkdir /mnt/rpi
sudo mount /dev/loop11p1 /mnt/rpi/
cp /mnt/rpi/
cp /mnt/rpi/
sudo umount /mnt/rpi
sudo losetup -d /dev/loop11
3. Run QEMU:
qemu-system-arm -M raspi2 -m 1G -dtb bcm2709-rpi-2-b.dtb -kernel kernel7.img -append "rw earlyprintk loglevel=8 console=
A few seconds after the login prompt is displayed, QEMU will exit with the assertion failure.
I also tried changing all of the asserts to if statements that (for MMIO reads) returned 0 and (for writes) just returned, but this resulted in a non-responsive system.
Note for bisection: it looks like it works fine as of tag stable-4.2 .