wm: doc

Download patch

ref: 75955a24c85f16b17b0a9549559ef488b8265859
parent: f6b4d9b9dc53c2842b23dee80081cb5a874a1138
author: mkf <mkf@cloud9p.org>
date: Mon Aug 12 13:51:34 EDT 2024

pi.ms: add some more

--- a/pi.ms
+++ b/pi.ms
@@ -1,6 +1,6 @@
 .HTML "plan 9 on pi"
 .TL
-template
+plan 9 on pi
 
 .AU
 mkf
@@ -56,3 +56,30 @@
 and said to be working for first pi (bcm2385).
 I haven't tested it, but PWM audio interface have been realtively same since
 bcm2385 (with some minor improvments) from arm core's view point.
+.NH
+Wireless
+.LP
+9front has recently added support for raspberry pi's wifi.
+this supports 3+ and zero 2. zero too should work but requires changes to kernel.
+.NH
+UART
+.NH
+Compiling a kernel
+.LP
+Kernels for pi port are located under
+.CW /sys/src/9/bcm
+for 32-bit port (all raspberry pis)
+and
+.CW /sys/src/9/bcm64
+for 64-bit kernel (late revisions of pi 2, pi zero 2 and pi 3 and newer)
+.P1
+# 32 bit kernels (work on 64 bit pis as well)
+cd /sys/src/9/bcm
+mk 'CONF=pi'
+mk 'CONF=pi2'
+
+# 64 bit kernels:
+cd /sys/src/9/bcm64
+mk 'CONF=pi3' # for pi 3
+mk 'CONF=pi4' # for pi 4
+.P2