Firmware/Building: Difference between revisions
< Firmware
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
apt-get install debootstrap schroot |
apt-get install debootstrap schroot |
||
debootstrap --arch i386 raring raring-i386 http:// |
debootstrap --arch i386 raring raring-i386 http://archive.ubuntu.com/ubuntu |
||
cp -p /etc/apt/apt.conf raring-i386/etc/apt/ # for universe, security, etc |
cp -p /etc/apt/apt.conf raring-i386/etc/apt/ # for universe, security, etc |
||
cp -p /etc/apt/sources.list raring-i386/etc/apt/ # for proxy settings |
cp -p /etc/apt/sources.list raring-i386/etc/apt/ # for proxy settings |
||
Line 20: | Line 20: | ||
apt-get update |
apt-get update |
||
apt-get install git subversion gcc patch make wget iasl |
apt-get install git subversion gcc patch make wget iasl |
||
svn |
svn checkout -q svn://openfirmware.info/openfirmware |
||
(cd openfirmware/cpu/x86/pc/olpc/via/build; make olpc.rom) |
(cd openfirmware/cpu/x86/pc/olpc/via/build; make olpc.rom) |
||
Line 30: | Line 30: | ||
yum install -y gcc git svn make glibc-static wget |
yum install -y gcc git svn make glibc-static wget |
||
svn |
svn checkout -q svn://openfirmware.info/openfirmware |
||
(cd openfirmware/cpu/arm/olpc/4.0/build; make olpc.rom) |
(cd openfirmware/cpu/arm/olpc/4.0/build; make olpc.rom) |
Revision as of 04:29, 28 June 2013
Ubuntu
An XO-1.5 build using an Ubuntu 13.04 Raring chroot:
apt-get install debootstrap schroot debootstrap --arch i386 raring raring-i386 http://archive.ubuntu.com/ubuntu cp -p /etc/apt/apt.conf raring-i386/etc/apt/ # for universe, security, etc cp -p /etc/apt/sources.list raring-i386/etc/apt/ # for proxy settings cp -p /etc/environment raring-i386/etc/ # for proxy and locale settings cp -p /etc/sudoers raring-i386/etc/ # for %admin on Ubuntu ln -s /proc/mounts raring-i386/etc/mtab cat << EOF > /etc/schroot/chroot.d/raring-i386 [raring-i386] directory=/home/james/ephemeral.iso/raring-i386 type=directory personality=linux32 groups=users,admin EOF schroot -c raring-i386 apt-get update apt-get install git subversion gcc patch make wget iasl svn checkout -q svn://openfirmware.info/openfirmware (cd openfirmware/cpu/x86/pc/olpc/via/build; make olpc.rom)
Fedora - native self-hosting
How to build Open Firmware for an XO-1.75 or XO-4, on an XO-1.75 or XO-4
- start with OLPC OS 13.2.0 build 8,
yum install -y gcc git svn make glibc-static wget svn checkout -q svn://openfirmware.info/openfirmware (cd openfirmware/cpu/arm/olpc/4.0/build; make olpc.rom)