Editing Gentoo/N900
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This is the official page for the unofficial port of Gentoo to N900 internet tablets. | This is the official page for the unofficial port of Gentoo to N900 internet tablets. | ||
- | If you have any questions/troubles, you can find | + | If you have any questions/troubles, you can find me on freenode [irc://chat.freenode.net/maemo #maemo] and [irc://chat.freenode.net/gentoo-embededded #gentoo-embedded] ([http://webchat.freenode.net/?channels=%23Maemo,%23Gentoo-Embedded webchat]). |
'''Bootable with X, WiFi, SMS, and GPRS''' | '''Bootable with X, WiFi, SMS, and GPRS''' | ||
Line 62: | Line 62: | ||
/dev/mmcblk0p4 : start= 4194368, size= 52436992, Id= 5 | /dev/mmcblk0p4 : start= 4194368, size= 52436992, Id= 5 | ||
/dev/mmcblk0p5 : start= 4194384, size= 20971568, Id=83 | /dev/mmcblk0p5 : start= 4194384, size= 20971568, Id=83 | ||
- | /dev/mmcblk0p6 : start= 25165968, size= 31465392, Id=83 | + | /dev/mmcblk0p6 : start= 25165968, size= 31465392, Id=83</blockquote> |
If you're more conforable with standard Linux fdisk, [https://garage.maemo.org/plugins/wiki/index.php?RepartitionInstructions&id=1382&type=g supposedly] [http://archive.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb the deb from Debian Lenny] works. | If you're more conforable with standard Linux fdisk, [https://garage.maemo.org/plugins/wiki/index.php?RepartitionInstructions&id=1382&type=g supposedly] [http://archive.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb the deb from Debian Lenny] works. | ||
Line 136: | Line 136: | ||
===Configure timezone=== | ===Configure timezone=== | ||
- | |||
ls /usr/share/zoneinfo | ls /usr/share/zoneinfo | ||
+ | cp /usr/share/zoneinfo/UTC /etc/localtime | ||
echo "UTC" > /etc/timezone | echo "UTC" > /etc/timezone | ||
- | + | ||
==Booting== | ==Booting== | ||
===Configuring your kernel=== | ===Configuring your kernel=== | ||
- | If you just want to use your Maemo kernel, simply copy /lib/modules/* from your Maemo partition into Gentoo (you'll need to exit the chroot first) | + | If you just want to use your Maemo kernel, simply copy /lib/modules/* from your Maemo partition into Gentoo (you'll need to exit the chroot first). |
However, if you want to build one yourself (required for any custom kernel modules, or non-X11 console), follow these steps: | However, if you want to build one yourself (required for any custom kernel modules, or non-X11 console), follow these steps: | ||
- | emerge fremantle-power-sources | + | emerge fremantle-power-sources # regular fremantle-sources is also available |
cd /usr/src/linux | cd /usr/src/linux | ||
make menuconfig | make menuconfig | ||
Line 156: | Line 156: | ||
Note that this kernel will not boot Maemo without setting up the modules on the Maemo partition. I believe this is as simple as copying the directory and running depmod on that side, but I'll have to review it before I'm sure. | Note that this kernel will not boot Maemo without setting up the modules on the Maemo partition. I believe this is as simple as copying the directory and running depmod on that side, but I'll have to review it before I'm sure. | ||
- | + | You can skip the compiling (but you still need to install the sources!) if you want, by using [http://luke.dashjr.org/programs/gentoo-n900/kernels/ one of my prebuilt kernels]. | |
- | + | ||
+ | ===Configuring your system etc=== | ||
The following steps from Gentoo's official handbook are just fine here: | The following steps from Gentoo's official handbook are just fine here: | ||
- | * [ | + | * [http://www.gentoo.org/doc/en/handbook/handbook-arm.xml?part=1&chap=8 Configuring your System] |
- | + | * [http://www.gentoo.org/doc/en/handbook/handbook-arm.xml?part=1&chap=9 Installing Necessary System Tools] | |
- | * [ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
===Installing N900-required stuff=== | ===Installing N900-required stuff=== |
Learn more about Contributing to the wiki.