by vdias » Thu Feb 09, 2012 5:27 pm
With the help of the users os openstora i manage to run debian on a usb plugged on the stora...
$this->bbcode_second_pass_code('', '
1)
Download:
kernel image: http://dl.dropbox.com/u/1397036/stora_di/uImage.di
initrd image: http://dl.dropbox.com/u/1397036/stora_di/uInitrd.di
kernel image: http://dl.dropbox.com/u/1397036/stora_di/uImage
initrd image: http://dl.dropbox.com/u/1397036/stora_di/uInitrd
Found them here: (http://www.openstora.com/phpBB3/viewtopic.php?f=6&t=217)
2)
Upload them to your tftp server.
3)
Start the Sora and stop the u-boot process
4)
setenv mainlineLinux yes
setenv arcNumber 2743
setenv ipaddr XXX.XXX.XXX.XXX
setenv serverip XXX.XXX.XXX.XXX
saveenv
reset
5)
stop the u-boot process
tftpboot 0x200000 uImage.di
tftpboot 0x800000 uInitrd.di
setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
bootm 0x200000 0x800000
6)
Install Debian, ignore all errors... ;)
7)
stop the u-boot process
tftpboot 0x200000 uImage
tftpboot 0x800000 uInitrd
setenv bootargs $(console) root=/dev/sdb1
bootm 0x200000 0x800000
8)
Login to your new Debian
Execute:
apt-get update
apt-get install uboot-mkimage initramfs-tools ntpdate
ntpdate-debian
cd /tmp/
wget http://dl.dropbox.com/u/1397036/stora_di/linux-image-2.6.33-2-kirkwood_kirkwood.1.1_armel.deb
wget http://dl.dropbox.com/u/1397036/stora_di/stora-flash
dpkg -i linux-image-2.6.33-2-kirkwood_kirkwood.1.1_armel.deb
chmod 744 /tmp/stora-flash
cd /boot
/tmp/stora-flash -i vmlinuz-2.6.33-2-kirkwood -r initrd.img-2.6.33-2-kirkwood
reboot
9)
And before changing the boot process check if everything is working, using:
stop the u-boot process and
setenv bootargs $(console) root=/dev/sdb1 rootdelay=5
usb reset
ext2load usb 0 0x200000 /boot/uImage
ext2load usb 0 0x800000 /boot/uInitrd
bootm 0x200000 0x800000
10)
If step 9 worked without problems you can save this setting to your stora, using:
stop the u-boot process and
setenv bootcmd_usb 'usb reset; ext2load usb 0 0x200000 /boot/uImage; ext2load usb 0 0x800000 /boot/uInitrd'
setenv bootcmd 'setenv bootargs $(console) root=/dev/sdb1 rootdelay=5; run bootcmd_usb; bootm 0x200000 0x800000'
saveenv
reset
')
Looking at the guide for dockstar form you guys, it seems that for arch you use a different way to configure uboot.
Trying to understand your process, and looking at Seagate GoFlex Net step by step guide (similiar hardware) i get lost on step 13...