code: fqa.9front.org

ref: a46a261a9a55af8d1d5a0c04b83a1c019f1aec46
dir: /appendixj.ms/

View raw version
.\" This troff source is processed to create all forms of the
.\" 9FRONT DASH 1 book and the http://fqa.9front.org website.
.\" NOTE: Purely experimental. Methods employed may change.
.\" troff -ms -mpictures appendixj.ms | page
.\" htmlroff -u -ms -mhtml appendixj.ms >appendixj.html
.de FG	\" .FG <basename>
.ie h .html - <img src="\\$1.\\$2" />
.el .BP \\$1.ps
.br
..
.bp
.po 1i \" page offset (from left)
.fp 1 R LucidaSans
.fp 2 I LucidaSansI
.fp 3 B LucidaSansB
.fp 4 BI LucidaSansI
.fp 5 CW LucidaCW
.paragraph 0
.margin 0
.HTML "Appendix J - Junk
.html - <style type="text/css">body{font-size:10pt}; a{font-size:10pt}</style>
.html - <a href="fqa.html">FQA INDEX</a> |
.html - <a href="appendixg.html">Appendix G - GSOC</a> |
.html - <a href="appendixl.html">Appendix L - Languages</a>
.html - <hr />
.SH
.LG
.ihtml h1 <h1>
Appendix J - Junk
.ihtml h1
.NL
.R
.html - <a href="appendixj.html">html</a> |
.html - <a href="appendixj.pdf">pdf</a> |
.html - <a href="appendixj.ms">troff</a>

.SH
.ihtml h2 <h2>
Raspberry Pi
.R
.ihtml h2
.html - <br />
.FG pie-in-face jpg

.SH
Installation Instructions
.R

The current release supports
raspi1, 2, 3, and 4, and you can build a sdcard image that will
be bootable on raspi by running:

[Continued on next page]
.P1
cd /sys/src

# build 32-bit arm userspace
objtype=arm
mk install

# build 64-bit arm64 userspace
objtype=arm64
mk install

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

# build 32-bit kernel for rpi1 or rpi2 (pi2 also works for raspi3)
cd /sys/src/9/bcm
mk 'CONF=pi' install
mk 'CONF=pi2' install

# build a 64-bit kernel for rpi3 or rpi4
cd /sys/src/9/bcm64
mk 'CONF=pi3' install
mk 'CONF=pi4' install

# build bootable hjfs sdcard image for rpi
cd /sys/lib/dist
bind / /n/src9
mk /path/to/somethingsomething.pi.img
.P2
Once booted on the Raspberry Pi, you're able to mount the dos partition with:
.P1
9fs pidos
.P2
This will mount the dos partition on
.CW /n/pidos ,
similar to how
.CW
9fs 9fat
.R
works.

.html - <hr />
.html - <a href="fqa.html">FQA INDEX</a> |
.html - <a href="fqa9.html">FQA 9 - Troubleshooting</a> |
.html - <a href="appendixl.html">Appendix L - Languages</a>