9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Building a Raspberry Pi image / Keyboard support
@ 2014-07-02  6:01 Anant Narayanan
  2014-07-02  6:32 ` Bakul Shah
  0 siblings, 1 reply; 21+ messages in thread
From: Anant Narayanan @ 2014-07-02  6:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1239 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] Building a Raspberry Pi image / Keyboard support
@ 2014-07-07  9:30 Richard Miller
  2014-07-07 13:26 ` kokamoto
  0 siblings, 1 reply; 21+ messages in thread
From: Richard Miller @ 2014-07-07  9:30 UTC (permalink / raw)
  To: 9fans

> Why you named /dev/sdM0/dos not /dev/sdM0/9fat?
> I prefer the latter, because it is accordant with other cpus.

This is standard Plan 9 behaviour of disk/fdisp -p, on any cpu.
The convention is that dos is the name for a primary dos partition,
and 9fat is the name for a dos subpartition at the start of a
plan9 partition.

Perhaps you are thinking of one of the forks which does it
differently?

If you prefer different naming, you can change it yourself with
a 'part' command to /dev/sdM0/ctl - /cfg/$sysname/termrc would
be a sensible place to do this.




^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] Building a Raspberry Pi image / Keyboard support
@ 2014-07-07  9:30 Richard Miller
  0 siblings, 0 replies; 21+ messages in thread
From: Richard Miller @ 2014-07-07  9:30 UTC (permalink / raw)
  To: 9fans

> disk/fdisp -p

Oops, disk/fdisk is what I meant to type.




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

end of thread, other threads:[~2014-07-08 23:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-02  6:01 [9fans] Building a Raspberry Pi image / Keyboard support Anant Narayanan
2014-07-02  6:32 ` Bakul Shah
2014-07-04 23:45   ` Anant Narayanan
2014-07-05  0:58     ` kokamoto
2014-07-05  7:01       ` Steve Simon
2014-07-06  1:15         ` kokamoto
2014-07-06  5:59           ` Shane Morris
2014-07-07  4:58           ` kokamoto
2014-07-07  5:58             ` kokamoto
2014-07-07 16:02             ` erik quanstrom
2014-07-07 23:12               ` kokamoto
2014-07-08  0:20                 ` erik quanstrom
2014-07-08 23:35           ` kokamoto
2014-07-05  8:20     ` Charles Forsyth
2014-07-05  9:01     ` Bakul Shah
2014-07-05 13:13     ` Ramakrishnan Muthukrishnan
2014-07-05 23:44       ` Anant Narayanan
2014-07-07 16:09         ` erik quanstrom
2014-07-07  9:30 Richard Miller
2014-07-07 13:26 ` kokamoto
2014-07-07  9:30 Richard Miller

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