From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: Anant Narayanan Date: Tue, 1 Jul 2014 23:01:53 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7bb0423646947904fd2fa210 Subject: [9fans] Building a Raspberry Pi image / Keyboard support Topicbox-Message-UUID: ff3c70e0-ead8-11e9-9d60-3106f5b1d025 --047d7bb0423646947904fd2fa210 Content-Type: text/plain; charset=UTF-8 It's been fun playing around with Plan 9 on Raspberry Pi - thanks to everyone who made it happen. 1. I'm trying to get a custom built kernel to boot but not having great luck, unfortunately. I got as far as "mk 'CONF=pi'" in /sys/src/9/bcm (those are the latest sources, correct?) which generated a 2M kernel named 's9pi'. I added that to the FAT partition on the standard 9pi SD card image and edited config.txt to point to it. Now, when I boot I see a rainbow pattern screen -- switching back to the 9pi kernel in config.txt makes it boot again. The kernel I built seems to be a bit different than the one included in the SD card image, though they are roughly the same size: $ file s9pi # built kernel s9pi: Plan 9 executable, ARM 7-something $ file 9pi # kernel includes in SD card image 9pi: data What am I doing wrong? 2. A couple of my keyboards don't work with the standard kernel on the SD card (the mouse works fine). Is /sys/src/omap/usbehciomap.c the right place for me to start looking into adding support for them? Thanks again! -Anant --047d7bb0423646947904fd2fa210 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It's been fun playing around = with Plan 9 on Raspberry Pi - thanks to everyone who made it happen.
1. I'm trying to get a custom built kernel to boot but not havin= g great luck, unfortunately. I got as far as "mk 'CONF=3Dpi'&q= uot; in /sys/src/9/bcm (those are the latest sources, correct?) which gener= ated a 2M kernel named 's9pi'. I added that to the FAT partition on= the standard 9pi SD card image and edited config.txt to point to it. Now, = when I boot I see a rainbow pattern screen -- switching back to the 9pi ker= nel in config.txt makes it boot again.

The kernel I built seems to be a bit different than the one inclu= ded in the SD card image, though they are roughly the same size:

$ f= ile s9pi # built kernel
s9pi: Plan 9 executable, ARM 7-something
$ file 9pi # kernel includes in SD card image
9pi: data

Wha= t am I doing wrong?

2. A couple of my keyboards don't work= with the standard kernel on the SD card (the mouse works fine). Is /sys/sr= c/omap/usbehciomap.c the right place for me to start looking into adding su= pport for them?

Thanks again!

-Anant
--047d7bb0423646947904fd2fa210--