- Log in to post comments
# check for last version:
http://downloads.ipfire.org/
# download IpFire image
URL=http://downloads.ipfire.org/releases/ipfire-2.x/2.15-core79/ipfire-2.15.1gb-ext4.armv5tel-full-core79.img.gz
wget ${URL} -P /tmp/
# copy image to USB pen (do NOT use sdcard, i´t will not boot)
sudo umount /dev/sde*
sudo zcat /tmp/ipfire-*.1gb-ext4.armv5tel-full-core*.img.gz > /dev/sde
sync
# configuring serial console
mount /dev/sde3 /mnt
echo "7:2345:respawn:/sbin/agetty ttyS0 115200 vt100" >> /mnt/etc/inittab
umount /mnt
# plug usb pen to SheevaPlug and connect power cable
# connect to terminal
#sudo apt-get install cu
#sudo chown uucp /dev/ttyUSB0; sudo cu -s 115200 -l /dev/ttyUSB0
sudo screen /dev/ttyUSB0 115200
# boot from sdcard
# update u-boot to DENX u-boot FIRST!
# wget http://www.downloadsnewit.co.uk/u-boot/recovery/sheevaplug/denx/u-boot.elf
# http://forum.ipfire.org/index.php?topic=8176.msg54562#msg54562
#setenv mainlineLinux yes
#setenv arcNumber 2097
setenv bootcmd_mmc 'mmc init; fatload mmc 0:1 0x6400000 /uImage-ipfire-kirkwood; fatload mmc 0:1 0x6800000 /uInit-ipfire-kirkwood'
setenv bootcmd 'setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p3 rootwait'; run bootcmd_mmc; bootm 0x6400000 0x6800000'
saveenv
reset
# manual boot
mmc init
# OR
# mmcinit
fatload mmc 0:1 0x6400000 /uImage-ipfire-kirkwood
fatload mmc 0:1 0x6800000 /uInit-ipfire-kirkwood
setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p3 rootdelay=10'
bootm 0x6400000 0x6800000
set bootargs_root_mmc 'root=/dev/mmcblk0p3 rootdelay=5'
set bootcmd_mmc 'setenv bootargs $(bootargs_console) $(bootargs_root_mmc); mmcinit; fatload mmc 1 0x6400000 uImage-ipfire-kirkwood; fatload mmc 1 0x6800000 uInit-ipfire-kirkwood; bootm 0x6400000 0x6800000';
setenv bootcmd_nand 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000'
setenv bootargs_root_mmc 'root=/dev/mmcblk0p1'
setenv bootcmd_mmc 'setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root_mmc); mmcinit; fatload mmc 0 0x800000 uImage-ipfire-kirkwood; bootm 0x800000'
# boot from usb
setenv bootcmd_usb 'usb start; fatload usb 0:1 0x6400000 /uImage-ipfire-kirkwood; fatload usb 0:1 0x6800000 /uInit-ipfire-kirkwood'
setenv bootcmd 'setenv bootargs 'console=ttyS0,115200 root=/dev/sda3 rootdelay=5'; run bootcmd_usb; bootm 0x6400000 0x6800000'
saveenv
reset
# Links
http://downloads.ipfire.org/latest#arch_arm
http://wiki.ipfire.org/de/arm/start/kirkwood/installation
http://wiki.ipfire.org/en/hardware/arm/kirkwood
http://www.panticz.de/SheevaPlug
http://www.randomexploits.com/projects/sheevaplug/sd-boot.htm
http://forum.ipfire.org/index.php?topic=7642.0
http://forum.ipfire.org/index.php?topic=7001.0
http://forum.ipfire.org/index.php?topic=8176.0
http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml