Skip to content

DJSundog/debxo

 
 

Repository files navigation

xodist - Debian image builder for OLPC XO

Why is this needed?  Because the OLPC XO has exceptional and flexible
firmware support unlike an ordinary PC.  The usual Debian boot CDs do
not work, yet.  xodist builds a Debian system image in the format
required by the firmware.

See configs/* for other image flavours, and change "kde" below to the
flavour.  See README.approx before starting if you would like to cache
the packages downloaded.

How to use xodist to generate a Debian KDE image for an OLPC XO:

1.  build the root filesystem,

	sudo ./mkchroot.sh --config-type debxo-kde debxo-kde.root

2.  make the JFFS2 filesystem,

	sudo ./mkjffs2.sh --config-type debxo-kde debxo-kde.root debxo-kde.img

3.  copy the files to a thumb drive,

	sudo ./mkbootable.sh --output /mnt debxo-kde

4.  ensure the XO is unlocked, by obtaining a Developer Key, and using
the OpenFirmware command,

	disable-security

5.  shut down the XO,

6.  insert the thumb drive,

7.  power up, answer the prompt, and the image will be copied to the
NAND flash, and then booted,

Warning: this erases everything on the XO, including any Developer
Key, but if you have followed step 4 above that should not matter so
much.

8.  remove the thumb drive before the next reboot or power up.

Note: Firmware Q2E20 or newer is required. The jffs2 images are for
installation on NAND (the onboard flash), the ext3 images are only for
usbsticks and sd-cards.

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 85.8%
  • Forth 13.7%
  • Perl 0.5%