ref: 9741c16aeb223a19d6be2c9e3a6c8a18d7ecd6d0
parent: 5a66d479b53aa756f9c13a3fa1a94dc5dc8da2ca
author: Aaron Lin <jrmu@inter9.org>
date: Fri Nov 1 00:38:58 EDT 2024
Add instructions for booting into rpi cpu kernel
--- a/cpu-p9.ms
+++ b/cpu-p9.ms
@@ -81,6 +81,20 @@
% cd /sys/src/9/bcm
% mk 'CONF=picpu'
+% dossrv; mount /srv/dos /n/9fat /dev/sdM0/dos
+% cp /sys/src/9/bcm/9picpu /n/9fat/
+
+Edit config.txt so the [pi1] block reads as follows:
+
+[pi1]
+# Pi Zero W uses this entry, not [pi0]
+kernel=9picpu
+
+Edit cmdline.txt so it reads as follows:
+
+readparts=1 nobootprompt=local console='0 b115200' ether1=type=4330 nvram='#S/sdM0/nvram'
+
+Make sure cmdline.txt is only one single line!
(You may want to replace picpu with pi2cpu, pi4cpu)