Table of Contents

Gentoo on N8x0

This is the official page for the unofficial port of Gentoo to N8x0 internet tablets.

If you have any questions/troubles, you can find us on Freenode #maemo, #gentoo-embedded or just post your questions at the end of this page.

:!: Now bootable with X, BlueTooth, WiFi, and GPS.

Team

Resources

Overlay

We have an overlay where all tablet-related packages will be put.

You may browse it or clone from git://github.com/slonopotamus/n8x0-overlay.git (you'll need to install git in order to do that).

Overlay is also available via layman.

First, install layman and git:

USE=git emerge layman

Edit/update /etc/make.conf how layman told you.

Fetch overlay:

layman -a n8x0

You can now emerge the n8x0 ebuilds.

Subprojects

fb_text2screen

fb_text2screen is an opensource rewrite of text2screen - small tool for text drawing on framebuffer devices.

Sources: http://github.com/slonopotamus/fb_text2screen

Releases:

0.1.1 (2009-08-04)

Changes:
	* fixed tarball script
	* write errors to stderr
	* added --version option

0.1 (2009-07-18)

Initial release. Fully compatible with text2screen tool.

opendsme

opendsme is an opensource rewrite of dsme/cal-related Maemo tools.

Sources: http://github.com/slonopotamus/opendsme

Releases:

0.2 (2009-08-04)

Features added:
	* readonly libopencal
	* bt-cal functionality added to open-wlan-cal
	* semi-working open-cal-tool

0.1 (2009-07-18)

Initial release. Features open-wlan-cal utility.

Credits

This project would not be possible without great advices from solar on #gentoo-embedded. Also, we'd like to thank Stskeeps from #maemo, one of core maintainers of Deblet project (and, now, Mer) (and, now, Meego).

christendoc began this project with his porting work.

slonopotamus brought us a more correct CHOST along with much better Gentoo support in general.

Luke-Jr has worked on improving support on N810, especially GPS and newer kernels.

Using in chroot

  1. Download stage3 tarball from Resources section
  2. Create folder for Gentoo. System and portage tree will take up 1GB
  3. cd in folder you just created
  4. Run tar -xvjpf stage3-armv6j-*.tar.bz2 to unpack stage.
  5. Run
    mount -t proc proc proc
    mount -o bind /dev dev
    mount -o bind /dev/pts dev/pts 
    cp -L /etc/resolv.conf etc/
    chroot . /bin/bash
    env-update && source /etc/profile

    to prepare environment and chroot into Gentoo.

  6. Voila, you're inside Gentoo chroot.

(Note: the "mount -o bind /dev/pts dev/pts" bit prevents the 'out of pts' error when inside the chroot. In most other circumstances we could just 'mount -o rbind /dev dev' but busybox silently ignores the rbind option.)

Emerge any packages you want/tweak any settings you want.

You'll need to run

emerge --sync

before installing packages.

Read A Portage Introduction if you don't have previous experience with Gentoo.