User:Ajayr

From PlugWiki

Jump to: navigation, search

I have 2 sheeva plugs, both are setup with Fedora 11 and the kernel 2.6.31 from http://sheeva.with-linux.com/sheeva

1 is a dedicated mail server and is set to boot from and run off the USB Hardisk, I am using a Seagate Freeagent Pro 250 GB Hard disk. I run postfix, dovecot, milter-greylist, clamav, and clamav-milter. It also runs apache and php. It is connected to the internet via a ADSL Router.

The other is a torrent box, It is connected to the internet via a EVDO CDMA USB Modem it has a 40 GB Samsung USB Hard disk.

HOWTO Fedora 11 on Sheeva Plug

I first run installer alpha 6 and used the rootfs from rootfs I had to modify by untarring and removing the leading rootfs_f11 folder. I used the kernels and modules from http://sheeva.with-linux.com/sheeva

After installing I connected via USB serial Console assigned an IP connected to the net and did

yum update
yum upgrade
yum install @core 
and after that customised the packages I needed

Then depending on the setup I play with uboot the first one boot from USB with root on USB is straight forward and is documented elsewhere on this wiki.

The other one is tricky, since I have a 4 port USB Hub between the sheeva plug and the USB HDD & USB Modem it will not boot from USB, so kernel is on nand while root is on USB HDD

I need to add this over and above the stuff installer-alpha-6 put in

setenv bootargs_usb 'root=/dev/sda1 rootfstype=ext3 rootdelay=20'
setenv bootcmd_ar 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_usb); nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
setenv bootcmd 'run bootcmd_ar'
and I can revert the change by either run real_bootcmd or changing bootcmd

I have some rpms that I have built (basically get the latest version from koji and rpmbuild --rebuild the src rpm, once you have all the necessary build tools installed in fedora) up at ftp://ftp.krithika.net/pub/

Media:Mkinstaller.sh.gz

Fedora Project ARM Pages

http://fedoraproject.org/wiki/Architectures/ARM


http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugInstaller

Personal tools