9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Raspberry Pi 3 B+ image of 9front
@ 2019-01-05 23:37 cinap_lenrek
  2019-01-06  0:48 ` Raingloom
  0 siblings, 1 reply; 6+ messages in thread
From: cinap_lenrek @ 2019-01-05 23:37 UTC (permalink / raw)
  To: 9fans

oh yeah. sorry.

just do this before:

bind / /n/src9

i missed this because that step is implied by sys/lib/rootbind
that i use when building iso from a separate clean repository.

--
cinap



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [9fans] Raspberry Pi 3 B+ image of 9front
@ 2019-01-05 19:13 cinap_lenrek
  0 siblings, 0 replies; 6+ messages in thread
From: cinap_lenrek @ 2019-01-05 19:13 UTC (permalink / raw)
  To: raingloom, 9fans

richard miller did a very fine job with the image.

9front used to have a image to download based on it for the raspi1,
but it is quite old and nobody updated it.

in the last release, we updated the kernel from richards
code and made the /sys/lib/dist/mkfile able to produce a
bootable sdcard image with hjfs filesystem.

documentation in the fqa is under way.

you can build a bootable sdcard image by running:

# build arm userspace
objtype=arm
cd /sys/src
mk install

# build kernel
cd /sys/src/9/bcm

# pi1 kernel (optional)
mk 'CONF=pi' install

# pi2/3 kernel
# mk 'CONF=pi2' install (pi2 is default)
mk install

# download firmware
cd /sys/src/boot/bcm
mk

# build bootable hjfs sdcard image
cd /sys/lib/dist
mk /tmp/mysdcard.pi.img

# copy to sdcard
cat /tmp/mysdcard.pi.img > /dev/sdM0/data

--
cinap



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [9fans] Raspberry Pi 3 B+ image of 9front
@ 2019-01-05 17:08 Raingloom
  2019-01-05 21:49 ` Chris McGee
  0 siblings, 1 reply; 6+ messages in thread
From: Raingloom @ 2019-01-05 17:08 UTC (permalink / raw)


Has anyone made one? I'm trying to put one together but the Plan 9 disk tools are... well they are quite different to what I'm used to. I managed to build the kernel and the userspace (with CONF=rpi2, which is afaik the correct one for rpi3 too?) and am trying to mirror the partitioning of the image by Richard Miller (at least more or less, I'll probably have to change things for HJFS) and combine the contents from that and a 9front VM.
Is that a good way to go ahead?



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-06  0:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2ECD349844717870DA8862A351DA2ED6@felloff.net>
2019-01-05 22:44 ` [9fans] Raspberry Pi 3 B+ image of 9front Raingloom
2019-01-05 23:37 cinap_lenrek
2019-01-06  0:48 ` Raingloom
  -- strict thread matches above, loose matches on Subject: below --
2019-01-05 19:13 cinap_lenrek
2019-01-05 17:08 Raingloom
2019-01-05 21:49 ` Chris McGee

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).