On 7/20/20 3:01 AM, Christoph Hellwig wrote: > To try to reproduce your report I built a mps2_defconfig kernel > and then run the qemu command line manually extraced from your > script below, using a mainline qemu built for arm-softmmu, but it > crashes with the following message even for the baseline kernel. > > qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1) > > R00=00000000 R01=00000000 R02=00000000 R03=00000000 > R04=00000000 R05=00000000 R06=00000000 R07=00000000 > R08=00000000 R09=00000000 R10=00000000 R11=00000000 > R12=00000000 R13=ffffffe0 R14=fffffff9 R15=00000000 > XPSR=40000003 -Z-- A handler > FPSCR: 00000000 > > Does anyone have an idea what this means? > Ah, sorry, you can't use the upstream version of qemu to test mps2-an385 Linux images. You'll have to use a version from https://github.com/groeck/qemu. I'd recommend to use the v5.0.0-local branch. I had to make some changes to qemu to be able to boot mps2-an385. I tried to submit those changes into upstream qemu, but that was rejected because, as I was told, the qemu implementation would no longer reflect the real hardware with those changes in place. Guenter