wiki:TransitionToOpenWRT

Transition to OpenWRT

OpenInkpot has been built upon IPlinux, which we see as a good foundation, but unfortunately it is maintained by OpenInkpot developers themselves, so it is a lot of work. In order to focus exclusively on e-Books reading experience we have decided to move to !OpenWRT.

Plan

  1. Have a working toolchain for N516
  2. Have our N516 kernel in OpenWRT
  3. Move userspace stuff packaging to OpenWRT
  4. ...
  5. PROFIT!

Toolchain and buildsystem

Start with existing N516 profile in OpenWRT.

Kernel

Our kernel is built from git. We need to tweak kernel building a bit.

Userspace

Known issues:

  1. Our initsystem is different, lot of stuff need to be cleaned up.
  2. Locales or gettext() without locales

Possible improvement areas in OI AKA TODO for OI

  1. Tweak toolchain for speed instead of size
  2. Privileges separation and system-wide controls (D-Bus?)
  3. Removing all the custom IPC as soon as we have D-Bus in place.
  4. s/mdev/hotplug2/ or s/mdev/udev/

Possible improvement areas in OpenWRT AKA TODO for OpenWRT itself

  1. Basesystem rework: OpenWRT one is a bit inflexible
  2. Native build from git

Current tickets

#1038
Run our kernel on N516 built using OpenWRT