* Re: [9fans] Fwd: 9pi on qemu failure [not found] <D0AA9853-AFD7-455A-BA05-792F6BF97354@hamnavoe.com> @ 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
* Re: [9fans] 9pi on qemu failure 2014-06-08 16:02 ` [9fans] Fwd: 9pi on qemu failure Richard Miller @ 2014-06-09 7:40 ` Yoann Padioleau 2014-06-09 8:30 ` Skip Tavakkolian 0 siblings, 1 reply; 4+ messages in thread From: Yoann Padioleau @ 2014-06-09 7:40 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 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. > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] 9pi on qemu failure 2014-06-09 7:40 ` [9fans] " Yoann Padioleau @ 2014-06-09 8:30 ` Skip Tavakkolian 0 siblings, 0 replies; 4+ messages in thread From: Skip Tavakkolian @ 2014-06-09 8:30 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 2095 bytes --] 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 <pad@fb.com> 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 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. > > > > > > > [-- Attachment #2: Type: text/html, Size: 3366 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <68B58F92-5074-41F9-BD7C-929B6C59257F@hamnavoe.com>]
* Re: [9fans] Fwd: 9pi on qemu failure [not found] <68B58F92-5074-41F9-BD7C-929B6C59257F@hamnavoe.com> @ 2014-06-08 16:14 ` Richard Miller 0 siblings, 0 replies; 4+ messages in thread From: Richard Miller @ 2014-06-08 16:14 UTC (permalink / raw) To: 9fans >>> I've tried to run 9pi from richard miller on qemu but failed > ... >> does anyone have the s9pi kernel image that corresponds to this? >> i don't so i can't connect this failure to the source. Looking at file dates, that was an old kernel which came from 9pi.img-old.gz . I've now replaced 9pi (and added a corresponding s9pi) with the kernel from the newer 9pi.img.gz, to reduce confusion. ^ 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 -- [not found] <D0AA9853-AFD7-455A-BA05-792F6BF97354@hamnavoe.com> 2014-06-08 16:02 ` [9fans] Fwd: 9pi on qemu failure Richard Miller 2014-06-09 7:40 ` [9fans] " Yoann Padioleau 2014-06-09 8:30 ` Skip Tavakkolian [not found] <68B58F92-5074-41F9-BD7C-929B6C59257F@hamnavoe.com> 2014-06-08 16:14 ` [9fans] Fwd: " Richard Miller
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).