From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoann Padioleau To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Mon, 9 Jun 2014 07:40:27 +0000 Message-ID: <6A8E390C-6DFC-4DA1-98F1-BA29D06CFAEA@fb.com> References: In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-ID: <82D470147356DE41893A745E55E6DB08@fb.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [9fans] 9pi on qemu failure Topicbox-Message-UUID: f8aafae4-ead8-11e9-9d60-3106f5b1d025 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 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 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-emulating-raspberry-pi-the-easy-way/&k=3DZVNjlDMF0FElm4dQtryO4A%3D%3D%= 0A&r=3D%2FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg= 6YJxYvceJz4dKM6VilU%3D%0A&s=3Daafa0b698d8faa75b24756ff8567b8699fd2686c0d385= 62cc6c97e5a00bcf362=20 >>> wget https://urldefense.proofpoint.com/v1/url?u=3Dhttp://xecdesign.com/= downloads/linux-qemu/kernel-qemu&k=3DZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=3D%2= FN9d7W2LRwZks3eyFNLr8Q%3D%3D%0A&m=3DxtUc%2B%2BLTD9Nd9zDzA3%2BHrYrg6YJxYvceJ= z4dKM6VilU%3D%0A&s=3Dbbec0427d0c6670d2da7f7bb614919390a9829436af5205dc85696= cf4cb582e5 >=20 > 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. >=20 > 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. >=20 >=20