Architectures/ARM/SheevaplugInstaller

Using the Sheeva Installer to get Fedora 11 onto the internal NAND or a SD Card
http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer

modify the rootfs from http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/rootfs-f11.tar.bz2

untar in a temp folder and make a new root fs from rootfs_f11 excluding the rootfs_f11 folder name

put the new rootfs.tar.gz and the latest kernels from http://sheeva.with-linux.com/sheeva into the installer folder and copy it over to the USB key

(TODO provide a link to my copy / or make a script to do it automatically)

script to build installer folder contents
 * 1) !/bin/bash

KVER="2.6.31"

function Md5Compare {       if  cut -d' ' -f1) \                        != $(md5sum $1 | cut -d' ' -f1) ; then echo "Bad md5 detected on $1" exit 1 fi }

mkdir sheeva cd sheeva

mkdir installer mkdir kernels mkdir work

cd kernels wget -Nd -q http://sheeva.with-linux.com/sheeva/$KVER/sheeva-$KVER-uImage wget -Nd -q http://sheeva.with-linux.com/sheeva/$KVER/sheeva-$KVER-uImage.md5

wget -Nd -q http://sheeva.with-linux.com/sheeva/$KVER/sheeva-$KVER-Modules.tar.gz wget -Nd -q http://sheeva.with-linux.com/sheeva/$KVER/sheeva-$KVER-Modules.tar.gz.md5

Md5Compare sheeva-$KVER-Modules.tar.gz sheeva-$KVER-Modules.tar.gz.md5 Md5Compare sheeva-$KVER-uImage sheeva-$KVER-uImage.md5

cp sheeva-$KVER-uImage ../installer/uImage cp sheeva-$KVER-Modules.tar.gz ../installer/modules.tar.gz

cd ../work wget -Nd http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/rootfs-f11.tar.bz2 rm -fr rootfs-f11/ tar --preserve-permissions -xjf rootfs-f11.tar.bz2 cd rootfs-f11/ sed -i -e 's/root/mtdblock1/; s/nfs/ubifs/' etc/fstab rm -fr tmp/* var/cache/yum/* var/tmp/* tar --preserve-permissions --preserve-order -czf ../../installer/rootfs.tar.gz ./ cd .. rm -fr rootfs-f11/
 * 1) sed -i -e 's/root/mmcblk0p1/; s/nfs/ext3/; s/1 1/0 0/' etc/fstab

cd ../installer ls -l

now follow the steps in the sheevaplug installer docs

1. change the mac address 2. plugin the usb key in fat format with the contents of installer folder 3. run php ./runme.php on the host and follow the steps (did not work in 64bit fedora needs 32bit)

when installed to nand the fstab is wrong change nfs to ubifs and /dev/root to /dev/mtdblock1 (need to do with sed since vi is not installed)

(TODO make the change in the script it self)

yum update yum upgrade yum install @core

will also need mtd-utils and mtd-utils-ubifs for upgrading kernels in future

add users set passwords etc

also refer

http://plugcomputer.org/plugwiki/index.php/User:Ajayr

ask me for any for help you may need