|
Struggling to install Debian Wheezy on GoFlex Home January 30, 2015 08:44AM |
Registered: 9 years ago Posts: 2 |
ide reset setenv bootargs root=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs) load ide 0:1 0x810000 /boot/uImage bootm 0x810000
baudrate=115200
bootcmd=ide reset; usb start; setenv letter 9;for type in ide usb; do for disk in 0; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-goflexnet.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run bootm;fi;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage
ethaddr=00:10:75:28:29:B9
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
The part that bothers me is in the bootcmd command when it sets "setenv letter 9". With that, it seems that the kernel boot arguments look like this "console=ttyS0,115200 root=/dev/sd91 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)" where obviously /dev/sd91 is an invalid device.
netconsole=6666@10.80.10.101/eth0,6666@10.80.10.11/ netconsole=@/,6666@10.80.10.11/
|
Re: Struggling to install Debian Wheezy on GoFlex Home January 30, 2015 11:13AM |
Admin Registered: 13 years ago Posts: 18,569 |
|
Re: Struggling to install Debian Wheezy on GoFlex Home January 30, 2015 01:56PM |
Registered: 9 years ago Posts: 2 |