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 ''me'' (probably luke-jr) 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]).
+
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 129: Line 129:
===Install and configure the Portage tree, with N900 overlay===
===Install and configure the Portage tree, with N900 overlay===
  emerge --sync --quiet
  emerge --sync --quiet
-
  USE='-* git curl ssl curl_ssl_openssl python_targets_python2_7' emerge layman
+
  emerge layman
-
  # be sure to follow layman post-install instructions to edit make.conf
+
  layman -a n900
-
  layman -fa n900
+
rm /etc/make.profile
-
eselect profile set n900:n900/armv7a-hardfloat-linux-musleabi
+
  ln -s /var/lib/layman/n900/profiles/default/linux/arm/10.0/n900/ /etc/make.profile
-
layman -a musl
+
===Configure timezone===
===Configure timezone===
-
USE=-nls emerge -1 timezone-data<!-- timezone-data[nls] broken in current musl stage3 as of 2015-07-21 -->
 
  ls /usr/share/zoneinfo
  ls /usr/share/zoneinfo
 +
cp /usr/share/zoneinfo/UTC /etc/localtime
  echo "UTC" > /etc/timezone
  echo "UTC" > /etc/timezone
-
emerge --config timezone-data
+
 
==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) and emerge the appropriate kernel sources: fremantle-sources, fremantle-power-sources, and meego-sources are available.
+
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 155:
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.
-
===Configuring your system etc===
+
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].
-
All of these are optional if you just want a chroot.
+
 +
===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:
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Filesystem_information Filesystem information]
+
* [http://www.gentoo.org/doc/en/handbook/handbook-arm.xml?part=1&chap=8 Configuring your System]
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Networking_information Networking information]
+
* [http://www.gentoo.org/doc/en/handbook/handbook-arm.xml?part=1&chap=9 Installing Necessary System Tools]
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#System_information System information]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#System_logger System logger]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Optional:_Cron_daemon Optional: Cron daemon]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Optional:_File_indexing Optional: File indexing]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Optional:_Remote_access Optional: Remote access]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Filesystem_tools Filesystem tools]
+
-
* [https://wiki.gentoo.org/wiki/Handbook:X86/Full/Installation#Networking_tools Networking tools]
+
===Installing N900-required stuff===
===Installing N900-required stuff===

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)