shithub: n900

ref: 57fb4c212047c9e4d305a32e8def2a85721a4b37
dir: /README.md/

View raw version
# n900

a [plan 9 front][1] port to the [nokia n900][2].

[1]: http://9front.org
[2]: https://en.wikipedia.org/wiki/Nokia_N900

## status

**working**: keyboard, screen, rtc, mmc  
**broken**: audio, touch, battery, usb, networking, camera

## build

clone this repository to a 9front system and bind the directories.

    cd n900
    bind -ac sys/src/9 /sys/src/9
    bind -ac sys/src/boot /sys/src/boot
    bind -ac sys/lib/dist /sys/lib/dist

compile the system for the arm architecture.

    cd /sys/src
    objtype=arm mk install
    objtype=arm mk clean

compile the kernel

    cd /sys/src/9/n900
    mk install
    mk clean

build the boot scripts

    cd /sys/src/boot/n900
    mk

build a bootable image suitable for writing to an sd card.

    bind /root /n/src9
    bind -a /dist/plan9front /n/src9

    cd /sys/lib/dist
    mk 9front.n900.img