On Mon, Feb 24, 2014 at 9:30 PM, Daniel Lipsitt dan@typeamachines.com wrote:
I sent the below to the list before I was a subscriber and I don't think it made it through.
I don't know if I'm having a problem with QEMU or the linaro system image I'm using or something else, so I'm posting it here. Let me know if there's a more appropriate place.
I'm experiencing the following crash:
$ qemu-system-arm -machine beagle -nographic -sd linaro-saucy-nano-20140126.img qemu: fatal: Trying to execute code outside RAM or ROM at 0x402f0400
R00=40014044 R01=402f0400 R02=00000000 R03=00000000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000000 R13=4020fcb0 R14=00000000 R15=402f0400 PSR=400001df -Z-- A sys32 s00=00000000 s01=00000000 d00=0000000000000000 s02=00000000 s03=00000000 d01=0000000000000000 s04=00000000 s05=00000000 d02=0000000000000000 s06=00000000 s07=00000000 d03=0000000000000000 s08=00000000 s09=00000000 d04=0000000000000000 s10=00000000 s11=00000000 d05=0000000000000000 s12=00000000 s13=00000000 d06=0000000000000000 s14=00000000 s15=00000000 d07=0000000000000000 s16=00000000 s17=00000000 d08=0000000000000000 s18=00000000 s19=00000000 d09=0000000000000000 s20=00000000 s21=00000000 d10=0000000000000000 s22=00000000 s23=00000000 d11=0000000000000000 s24=00000000 s25=00000000 d12=0000000000000000 s26=00000000 s27=00000000 d13=0000000000000000 s28=00000000 s29=00000000 d14=0000000000000000 s30=00000000 s31=00000000 d15=0000000000000000 s32=00000000 s33=00000000 d16=0000000000000000 s34=00000000 s35=00000000 d17=0000000000000000 s36=00000000 s37=00000000 d18=0000000000000000 s38=00000000 s39=00000000 d19=0000000000000000 s40=00000000 s41=00000000 d20=0000000000000000 s42=00000000 s43=00000000 d21=0000000000000000 s44=00000000 s45=00000000 d22=0000000000000000 s46=00000000 s47=00000000 d23=0000000000000000 s48=00000000 s49=00000000 d24=0000000000000000 s50=00000000 s51=00000000 d25=0000000000000000 s52=00000000 s53=00000000 d26=0000000000000000 s54=00000000 s55=00000000 d27=0000000000000000 s56=00000000 s57=00000000 d28=0000000000000000 s58=00000000 s59=00000000 d29=0000000000000000 s60=00000000 s61=00000000 d30=0000000000000000 s62=00000000 s63=00000000 d31=0000000000000000 FPSCR: 00000000 Aborted (core dumped)
Here's how I created the image:
linaro-media-create --dev beagle \ --hwpack hwpack_linaro-beaglebone_20140203-602_armhf_supported.tar.gz \ --binary linaro-saucy-nano-20140126-627.tar.gz \ --image-file linaro-saucy-nano-20140126.img
I get the same error on the following OS/qemu combos:
Ubuntu Trusty
$ qemu-system-arm --version QEMU emulator version 1.7.0 (Debian 1.7.0+dfsg-3ubuntu1), Copyright (c) 2003-2008 Fabrice Bellard
Ubuntu Saucy
$ qemu --version QEMU emulator version 1.5.0 (Debian 1.5.0+dfsg-3ubuntu5.2), Copyright (c) 2003-2008 Fabrice Bellard
MacOS 10.8.5
QEMU emulator version 1.7.0 (qemu-linaro 2014.01), Copyright (c) 2003-2008 Fabrice Bellard
I get a similar error at a different address with this highbank image:
http://releases.linaro.org/14.01/ubuntu/highbank/highbank-saucy_server_20140...
$ qemu-system-arm -machine highbank -nographic -sd highbank-saucy_server_20140126-596.img qemu: fatal: Trying to execute code outside RAM or ROM at 0x08000000
Well, highbank does not support SD, but that's not your issue. Where's your dtb and kernel?
I've recently sent some patches to qemu-devel to fix highbank. I think this may be the smc call issue.
As for beagle, never used it so can't really help there.
Rob