9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9pi on qemu failure
@ 2014-06-08  0:57 Yoann Padioleau
  2014-06-08 11:56 ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: Yoann Padioleau @ 2014-06-08  0:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

Hi,

I've tried to run 9pi from richard miller on qemu but failed
http://plan9.bell-labs.com/sources/contrib/miller/

qemu-system-arm -cpu arm1176 -m 512 -M versatilepb -kernel 9pi
qemu: fatal: Trying to execute code outside RAM or ROM at 0x80010028

R00=00000000 R01=00052078 R02=00000552 R03=00000fff
R04=00003000 R05=000009ff R06=1ff0040e R07=21000000
R08=7f000000 R09=00000000 R10=00000000 R11=00001805
R12=000a8ffc R13=80002ffc R14=00010058 R15=80010028
PSR=000001d3 ---- A svc32
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
FPSCR: 00000000
abort trap: 6



This works though with a linux kernel compiled for the raspberry, e.g.
from http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/

  *   wget http://xecdesign.com/downloads/linux-qemu/kernel-qemu


and then
qemu-system-arm -cpu arm1176 -m 512 -M versatilepb -kernel kernel-qemu

works.


[-- Attachment #2: Type: text/html, Size: 3502 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [9fans] Fwd:  9pi on qemu failure
@ 2014-06-08 16:02 Richard Miller
  2014-06-09  7:40 ` [9fans] " Yoann Padioleau
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Miller @ 2014-06-08 16:02 UTC (permalink / raw)
  To: 9fans

>> This works though with a linux kernel compiled for the raspberry, e.g.
>> from http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/
>> wget http://xecdesign.com/downloads/linux-qemu/kernel-qemu

I would bet that linux kernel isn't actually configured for the
raspberry pi -- it will be for a generic arm1176.  The pi's processor isn't
an arm1176 exactly; it's a Broadcom bcm2835 videocore gpu, with an arm
core grafted on.  It's highly unlikely that qemu knows how to emulate
this well enough for a native bcm kernel like 9pi to run successfuly.
The "emulating raspberry pi the easy way" is not really emulating the
pi, just using a generic arm kernel to run linux software from a
raspberry pi linux distribution image.

If you want to run 9pi, I recommend buying a raspberry pi.  They aren't
expensive, and native Plan 9 is a much more rewarding experience.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-09  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-08  0:57 [9fans] 9pi on qemu failure Yoann Padioleau
2014-06-08 11:56 ` erik quanstrom
2014-06-08 16:02 [9fans] Fwd: " Richard Miller
2014-06-09  7:40 ` [9fans] " Yoann Padioleau
2014-06-09  8:30   ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).