9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Yoann Padioleau <pad@fb.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9pi on qemu failure
Date: Mon,  9 Jun 2014 07:40:27 +0000	[thread overview]
Message-ID: <6A8E390C-6DFC-4DA1-98F1-BA29D06CFAEA@fb.com> (raw)
In-Reply-To: <fa047f99e97ff75b0281c111daa222fc@hamnavoe.com>

Hi,

I have a raspberry pi :) but I've found it incredibly convenient to have an emulator
to test things. The development iterative loop is far faster when you can cross-compile
from your pc and test directly on your pc. Then once it works you can deploy
and test on the real machine. Anyway, I understand it would be complicated
to make plan9 works on qemu for arm1176.

On Jun 8, 2014, at 9:02 AM, Richard Miller <9fans@hamnavoe.com> wrote:

>>> This works though with a linux kernel compiled for the raspberry, e.g.
>>> from https://urldefense.proofpoint.com/v1/url?u=http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=%2FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=xtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvceJz4dKM6VilU%3D%0A&s=aafa0b698d8faa75b24756ff8567b8699fd2686c0d38562cc6c97e5a00bcf362 
>>> wget https://urldefense.proofpoint.com/v1/url?u=http://xecdesign.com/downloads/linux-qemu/kernel-qemu&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=%2FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=xtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvceJz4dKM6VilU%3D%0A&s=bbec0427d0c6670d2da7f7bb614919390a9829436af5205dc85696cf4cb582e5
> 
> 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.
> 
> 




  reply	other threads:[~2014-06-09  7:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D0AA9853-AFD7-455A-BA05-792F6BF97354@hamnavoe.com>
2014-06-08 16:02 ` [9fans] Fwd: " Richard Miller
2014-06-09  7:40   ` Yoann Padioleau [this message]
2014-06-09  8:30     ` [9fans] " Skip Tavakkolian
2014-06-08  0:57 Yoann Padioleau
2014-06-08 11:56 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6A8E390C-6DFC-4DA1-98F1-BA29D06CFAEA@fb.com \
    --to=pad@fb.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).