Wednesday 10 February 2010

Running Fedora ARM on Nokia N900

When I’ve got mine N900, I thought, pity that it doesn’t have Fedora in it. But now, I’ve managed to run Fedora ARM port on it.

Steps were the following:
  1. Rebuild kernel with FRAMEBUFFER_CONSOLE=y enabled to see console output and flash it. It is well described on Maemo Kernel Guide and Jebba’s notes
  2. Setup bootmenu
  3. Unpack prebuilt rootfs to partition on an SD card
  4. Copy kernel modules to /lib/modules and firmware to /lib/firmware inside new system

Hardware support

Watchdog

To prevent hardware reset by watchdog chip it needs to have chars regularly written to correspondent device. On N900’s board this is /dev/watchdog and /dev/twl4030_wdt. I’ve made simple rpm with config for watchdog daemon and startup script.

Wifi

Wifi is working “out-of-the-box”. Only script to startup it like this one should be prepared and put to PATH, as there is no way to type anything except english letters from console.

Touchscreen

tslib could provide touchscreen support, but to be available in X it needs xf86-input-tslib driver.

Battery

To have battery charging it needs to run bme proprietary daemon.


But it is more useful to run Fedora system in chroot from Maemo to have familiar userspace instead of cripple busybox.