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 I am able to boot this oneiric image:
http://releases.linaro.org/images/12.03/oneiric/nano/beagle-nano.img.gz
Can somebody supply me with a working qemu beaglebone command line? What does LAVA use?
Thanks,
Dan
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
On Mar 10, 2014, at 10:28 AM, Rob Herring robherring2@gmail.com wrote:
Well, highbank does not support SD, but that's not your issue. Where's your dtb and kernel?
It's inside the pre-built image here: http://releases.linaro.org/14.01/ubuntu/highbank/
I'm not actually interested in highbank, I was just posting it for comparison. Anybody have any beaglebone hints?
Thanks, Dan
On 10 March 2014 19:15, Daniel Lipsitt dan@typeamachines.com wrote:
On Mar 10, 2014, at 10:28 AM, Rob Herring robherring2@gmail.com wrote:
Well, highbank does not support SD, but that's not your issue. Where's your dtb and kernel?
It's inside the pre-built image here: http://releases.linaro.org/14.01/ubuntu/highbank/
I'm not actually interested in highbank, I was just posting it for comparison. Anybody have any beaglebone hints?
"beaglebone" here is a red herring, since QEMU doesn't support that, only the beagleboard. Typically this error message means "your guest has gone off to the wrong address for some reason" rather than being a QEMU bug. The most common reason for that is "tried to use kernel for a different board than the one being emulated" but that doesn't at first glance seem to be the problem here.
thanks -- PMM
On Mar 10, 2014, at 12:20 PM, Peter Maydell peter.maydell@linaro.org wrote:
"beaglebone" here is a red herring, since QEMU doesn't support that, only the beagleboard.
Hm, a while back Tyler Baker told me that you could use QEMU with the beaglebone black. Maybe he meant qemu-user rather than qemu-system?
Dan
sorry for the confusion, I meant qemu-user :)
On 10 March 2014 12:35, Daniel Lipsitt dan@typeamachines.com wrote:
On Mar 10, 2014, at 12:20 PM, Peter Maydell peter.maydell@linaro.org wrote:
"beaglebone" here is a red herring, since QEMU doesn't support that, only the beagleboard.
Hm, a while back Tyler Baker told me that you could use QEMU with the beaglebone black. Maybe he meant qemu-user rather than qemu-system?
Dan