9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Philip Silva via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] RPi in QEMU
Date: Sat, 26 Aug 2023 09:23:50 +0000	[thread overview]
Message-ID: <q-P8RuHCvBNdYFhAq41Frb9Db8AmYfa2wG03E8SeCpQ9qXJDTHYKCi-emSZhaKU-ES2zoU-LtlQifAaj4G98__0luTab0kVzPp1ShGHKA4U=@protonmail.com> (raw)
In-Reply-To: <CAL_X0tDvifAo54A6=gtAdtP5Un8MkAneJAUsQRaUQQ7Xfuu8=w@mail.gmail.com>

Hi,

I've only tried qemu with 9front and this got me to a console (the files in dos/ are from the image):

EXTRA_ARGS='user=glenda nobootprompt=local!/dev/sdM0/fs virtio nousbrc='
qemu-system-aarch64 -M raspi3b -dtb dos/bcm2711-rpi-4-b.dtb  -kernel dos/9PI3 -append "console='1 b9600' core_freq=250 arm_64bit=1 gpu_mem=16 enable_uart=1 boot_delay=1 $EXTRA_ARGS"  -drive file=9front.img,if=sd,format=raw -serial mon:stdio

It's awfully slow though but maybe it's possible to run fast with KVM.

Also I had been trying https://github.com/0xMirasio/qemu-patch-raspberry4.git but I think it also works with an unpatched qemu.

Philip



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T5da5467097e4eab2-M7e01ab465d585393c0cf2f6b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2023-08-26  9:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26  4:22 Don Bailey
2023-08-26  9:23 ` Philip Silva via 9fans [this message]
2023-08-26 11:39   ` hiro
2023-08-26 10:44     ` mkf
2023-08-26 11:48       ` hiro
2023-08-26 12:52         ` Philip Silva via 9fans
2023-08-26 19:38         ` Don A. Bailey
2023-08-31 18:47           ` Richard Miller
2023-09-01  2:11             ` Don Bailey
2023-09-01  8:18               ` Richard Miller
2023-09-01  8:47                 ` fgergo
2023-09-01  8:56                   ` quiekaizam via 9fans
2023-09-01 14:06               ` Richard Miller
2023-09-01 15:38                 ` Don Bailey
2023-09-01 19:37                   ` Richard Miller
2023-09-02  2:01                     ` Don Bailey
2023-09-02  3:25                       ` Don Bailey
2023-09-02  8:25                         ` hiro
2023-09-02 15:20                         ` Richard Miller
2023-09-14 11:52                           ` adr via 9fans
2023-09-14 17:11                             ` Richard Miller
2023-09-14 17:25                               ` adr via 9fans
2023-09-02 15:17                       ` Richard Miller

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='q-P8RuHCvBNdYFhAq41Frb9Db8AmYfa2wG03E8SeCpQ9qXJDTHYKCi-emSZhaKU-ES2zoU-LtlQifAaj4G98__0luTab0kVzPp1ShGHKA4U=@protonmail.com' \
    --to=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).