<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://slonopotamus.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://slonopotamus.org/feed.php">
        <title>slonopotamus.org gentoo-on-n8x0</title>
        <description></description>
        <link>http://slonopotamus.org/</link>
        <image rdf:resource="http://slonopotamus.org/lib/images/favicon.ico" />
       <dc:date>2010-09-10T18:29:41+04:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/boot?rev=1264464513&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/cflags?rev=1253989128&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/cross-bootstrap?rev=1263201096&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/gps?rev=1244671582&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/issues?rev=1263048809&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/kernel?rev=1253989077&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/qemu?rev=1274418571&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/sound?rev=1251753385&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/wireless?rev=1250578697&amp;do=diff"/>
                <rdf:li rdf:resource="http://slonopotamus.org/gentoo-on-n8x0/x11?rev=1241816615&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://slonopotamus.org/lib/images/favicon.ico">
        <title>slonopotamus.org</title>
        <link>http://slonopotamus.org/</link>
        <url>http://slonopotamus.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/boot?rev=1264464513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-26T03:08:33+04:00</dc:date>
        <title>Booting</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/boot?rev=1264464513&amp;do=diff</link>
        <description>back


I assume you know how to partition and format your SD card. If not, Gentoo isn't likely a distro of your choice.

So, create a separate  partition 2GB at least (mmcblk1p3 in my case) for Gentoo and a separate one for swap (I used mmcblk1p2).

Download bootmenu &lt;http://packages.tspre.org/pool/user/b/bootmenu/bootmenu_1.5-2.tar.gz&gt; and unpack it.</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/cflags?rev=1253989128&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-26T22:18:48+04:00</dc:date>
        <title>Choosing CFLAGS</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/cflags?rev=1253989128&amp;do=diff</link>
        <description>Back


First of all, I strongly recommend reading ARM architecture Wikipedia entry.

Both N810 and N800 tablets have ARM1136JF-S CPU, which supports:

	*  Thumb-2
	*  wp&gt;Jazelle
	*  VFP
	*  EDSP


From info above we can easily set -mtune=arm1136jf-s (make binaries tweaked to run as fast as possible on ARM1136JF-S) and -mfpu=vfp (use VFP for floating point operations).</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/cross-bootstrap?rev=1263201096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-11T12:11:36+04:00</dc:date>
        <title>Initial cross-bootstrap</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/cross-bootstrap?rev=1263201096&amp;do=diff</link>
        <description>back


Read this if you want to know how I ported Gentoo and/or want to do it yourself.

First I tried using existing arm OABI stages. Two problems. You'll immediately hit #462677. That can possibly be fixed by using kernel &gt;=2.6.25. However one of my goals is minimal intervention in device preinstalled software (initfs, kernel, maemo image). Second: although Gentoo has some documented way of changing CHOST, I don't believe it is possible to perform OABI-&gt;EABI migration. Correct me if I'm wrong.</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/gps?rev=1244671582&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-11T02:06:22+04:00</dc:date>
        <title>GPS setup</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/gps?rev=1244671582&amp;do=diff</link>
        <description>back



Basic GPS


Install needed packages



emerge gps5300driver gpsd


Configure /etc/conf.d/gpsd



GPS_DEV=&quot;/dev/pgps&quot;
RC_NEED=&quot;gps5300driver&quot;
GPSD_OPTS=&quot;-b -n -P /var/run/gpsd.pid -F /var/run/gpsd.sock&quot;


Add startup scripts



rc-update add gps5300driver boot
rc-update add gpsd default</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/issues?rev=1263048809&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-09T17:53:29+04:00</dc:date>
        <title>Known issues</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/issues?rev=1263048809&amp;do=diff</link>
        <description>back



'Unknown HZ value' warning from top/ps

It is a procps bug. This warning doesn't break anything.

emerge pygtk results in 100% cpu usage by gcc on gtk.c for inadequate amount on time (tens of hours)

This is a lack of optimization in gcc due to what it needs a lot of RAM (400mb on my amd64 desktop) in order to compile gtk.c file. Build pygtk without -O optimizations.</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/kernel?rev=1253989077&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-26T22:17:57+04:00</dc:date>
        <title>Custom Kernel</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/kernel?rev=1253989077&amp;do=diff</link>
        <description>back



Misc Notes


mainline Linux 2.6.30 will include p54spi driver for wifi

&lt;http://code.google.com/p/compcache/&gt;

&lt;http://elinux.org/N800&gt;</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/qemu?rev=1274418571&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-21T09:09:31+04:00</dc:date>
        <title>Running in QEMU</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/qemu?rev=1274418571&amp;do=diff</link>
        <description>Back


If you have powerfull desktop/server box, you can run n8x0 stage on it. Main reasons to do so are CPU speed (and quantity) and RAM amount (several packages cannot be built on N8X0 due to insufficient RAM). We'll use QEMU user emulation + wp&gt;binfmt_misc. Due to the need to pass additional args to QEMU (cpu model), we'll create wrapper script that'll call QEMU with it.</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/sound?rev=1251753385&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-01T01:16:25+04:00</dc:date>
        <title>Sound setup</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/sound?rev=1251753385&amp;do=diff</link>
        <description>back




:!: This thing assumes you're running diablo kernel

Run scripts/n8x0-password.pl from n8x0 overlay and add what it says to /etc/portage/mirrors.



$ /usr/local/portage/layman/n8x0/scripts/n8x0-password.pl
Please add this line to /etc/portage/mirrors :
        n8x0    &lt;url_goes_here&gt;</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/wireless?rev=1250578697&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-18T10:58:17+04:00</dc:date>
        <title>Wireless setup</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/wireless?rev=1250578697&amp;do=diff</link>
        <description>back



WiFi

:!: This thing assumes you're running diablo kernel



emerge sys-kernel/diablo-sources
eselect kernel set linux-2.6.21-diablo
cd /usr/src/linux &amp;&amp; make nokia_2420_defconfig &amp;&amp; make modules &amp;&amp; make modules_install


Install sys-apps/n8x0-env with USE='nokia-osso-linux wifi' from n8x0 overlay.</description>
    </item>
    <item rdf:about="http://slonopotamus.org/gentoo-on-n8x0/x11?rev=1241816615&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-09T01:03:35+04:00</dc:date>
        <title>X11 setup</title>
        <link>http://slonopotamus.org/gentoo-on-n8x0/x11?rev=1241816615&amp;do=diff</link>
        <description>back


Install sys-apps/n8x0-env with USE='X' from n8x0 overlay.

Run rc-update add nokia-tablets-pointercal default.

Uncomment following line in /etc/ts.conf:



module_raw input


Create /etc/X11/xorg.conf with following contents.

FIXME Keypad up/down/left/right doesn't work with this config.</description>
    </item>
</rdf:RDF>
