Zaurus: Trying to execute code outside RAM or ROM with latest kernel

Bug #885239 reported by Benoît Canet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Medium
Unassigned

Bug Description

Compiling the latest kernel "commit dc47d3810cdcb4f32bfa31d50f26af97aced0638" for zaurus machines
with the linaro toolchain and booting it in 11.10 qemu-system-arm leads to:

benoit@Laure:~/linux-2.6$ qemu-system-arm -M spitz --kernel arch/arm/boot/zImage
qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0355000

R00=0000397f R01=000002c9 R02=a0000100 R03=c0355000
R04=a0004000 R05=0000001f R06=00003905 R07=00000c02
R08=a0004000 R09=69054114 R10=a0369f94 R11=00000020
R12=e28604e0 R13=c0355000 R14=a0008040 R15=c0355000
PSR=600001d3 -ZC- A svc32
Aborted

Revision history for this message
Benoît Canet (benoit-canet) wrote :
Revision history for this message
Benoît Canet (benoit-canet) wrote :
description: updated
Revision history for this message
Peter Maydell (pmaydell) wrote :

This regression is introduced in the "Add trustzone support" patch.

Revision history for this message
Peter Maydell (pmaydell) wrote :

The trustzone support patch has mangled handling of cp15 registers for xscale cores, so we can no longer successfully write c1,c0,0,0. That's a shame because that's the SCTLR and it includes the MMU enable bit :-)

Revision history for this message
Peter Maydell (pmaydell) wrote :

I've rearranged this code to be a bit more careful about not disarranging the legacy decoding of pre-v6 cores, and zaurus boots again. Fixes in qemu-linaro in git and should be in the next release.

Changed in qemu-linaro:
milestone: none → 2012.03
importance: Undecided → Medium
status: New → Fix Committed
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.