From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <6A8E390C-6DFC-4DA1-98F1-BA29D06CFAEA@fb.com> References: <6A8E390C-6DFC-4DA1-98F1-BA29D06CFAEA@fb.com> Date: Mon, 9 Jun 2014 01:30:51 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e011824a86d575a04fb63076f Subject: Re: [9fans] 9pi on qemu failure Topicbox-Message-UUID: f8cc33d0-ead8-11e9-9d60-3106f5b1d025 --089e011824a86d575a04fb63076f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable if you setup an auth+fs+cpu machine, then you can tftp boot the pi(s); it is just as fast. On Mon, Jun 9, 2014 at 12:40 AM, Yoann Padioleau wrote: > 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 complicate= d > 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=3Dhttp://xecdesign.com/qemu-em= ulating-raspberry-pi-the-easy-way/&k=3DZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=3D= %2FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvc= eJz4dKM6VilU%3D%0A&s=3Daafa0b698d8faa75b24756ff8567b8699fd2686c0d38562cc6c9= 7e5a00bcf362 > >>> wget > https://urldefense.proofpoint.com/v1/url?u=3Dhttp://xecdesign.com/downloa= ds/linux-qemu/kernel-qemu&k=3DZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=3D%2FN9d7W2= LRwZks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvceJz4dKM6V= ilU%3D%0A&s=3Dbbec0427d0c6670d2da7f7bb614919390a9829436af5205dc85696cf4cb58= 2e5 > > > > 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. > > > > > > > --089e011824a86d575a04fb63076f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
if you setup an auth+fs+cpu machine, then you can tftp boo= t the pi(s); it is just as fast.


On Mon, Jun 9, 2014 at 12:40 AM, Yoann Padioleau <= span dir=3D"ltr"><pad@fb= .com> wrote:
Hi,

I have a raspberry pi :) but I've found it incredibly convenient to hav= e an emulator
to test things. The development iterative loop is far faster when you can c= ross-compile
from your pc and test directly on your pc. Then once it works you can deplo= y
and test on the real machine. Anyway, I understand it would be complicated<= br> 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 raspber= ry, e.g.
>>> from https://urldefense.proofpoint.com/v1/url?u=3Dhttp://xecdesign.com/q= emu-emulating-raspberry-pi-the-easy-way/&k=3DZVNjlDMF0FElm4dQtryO4A%3D%= 3D%0A&r=3D%2FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zD= zA3%2BHrYrg6YJxYvceJz4dKM6VilU%3D%0A&s=3Daafa0b698d8faa75b24756ff8567b8= 699fd2686c0d38562cc6c97e5a00bcf362
>>> wget https://u= rldefense.proofpoint.com/v1/url?u=3Dhttp://xecdesign.com/downloads/linux-qe= mu/kernel-qemu&k=3DZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=3D%2FN9d7W2LRw= Zks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvceJz4dKM6= VilU%3D%0A&s=3Dbbec0427d0c6670d2da7f7bb614919390a9829436af5205dc85696cf= 4cb582e5
>
> I would bet that linux kernel isn't actually configured for the > raspberry pi -- it will be for a generic arm1176. =C2=A0The pi's p= rocessor isn't
> an arm1176 exactly; it's a Broadcom bcm2835 videocore gpu, with an= arm
> core grafted on. =C2=A0It's highly unlikely that qemu knows how to= emulate
> this well enough for a native bcm kernel like 9pi to run successfuly.<= br> > The "emulating raspberry pi the easy way" is not really emul= ating 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. =C2=A0They = aren't
> expensive, and native Plan 9 is a much more rewarding experience.
>
>



--089e011824a86d575a04fb63076f--