Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
Gentoo armv4tl-softfloat-linux-gnueabi optimalized for Openmoko (-Os -march=armv4t -mtune=arm920t) on 2008.0/arm profile (glibc based, sane bootstrapable toolchain)
(embedded uclibc/arm profile armv4tl-softfloat-linux-uclibcgnueabi in plans)
Screenshot (hosted at ImageShack)
http://www.gentoo.org/doc/en/handbook/handbook-arm.xml (Skip points 2 and 3)
fdisk /dev/mmcblk0
mkfs.ext2 /dev/mmcblk0p1
mount /dev/mmcblk0p1 /media/card
scp stage3-armv4tl-*.tar.bz2 portage-*.tar.bz2 root@openmoko:/media/card
tar -xjpf /media/card/stage3-armv4tl-*.tar.bz2 -C /media/card tar -xjpf /media/card/portage-*.tar.bz2 -C /media/card/usr
rm /media/card/stage3-armv4tl-*.tar.bz2 /media/card/portage-*.tar.bz2
chroot /media/card /bin/bash
source /etc/profile; env-update
cp /usr/share/zoneinfo/YOURZONE /etc/localtime
nano /etc/conf.d/hostname
rc-update del consolefont boot
nano /etc/fstab
nano /etc/inittab
echo "modules=\"g_ether\"" >> /etc/conf.d/modules ln -s /etc/init.d/net.lo /etc/init.d/net.usb0 echo "config_usb0=\"192.168.0.202 netmask 255.255.255.0\"" > /etc/conf.d/net echo "routes_usb0=\"default via 192.168.0.200\"" >> /etc/conf.d/net echo "nameserver 192.168.0.200" > /etc/resolv.conf
rc-update add sshd default
passwd
exit
cp /boot/uImage-2.6.24 /media/card/boot/
cp -rpf /lib/modules /media/card/lib/
echo "PORTAGE_BINHOST=\"http://torindel.sezamkowa.net/openmoko/armv4tl-softfloat-linux-gnueabi/~arm/packages/All\"" >> /etc/make.conf
source /etc/profile; env-update
export INSTALL_MASK="*.h"
EMERGE_DEFAULT_OPTS="-gK"
As i'll be adding some packages to ftp above you might want to ask for some package here: GentooPackageWishList
Overlay with moko things and more packages coming soon.