PDA

View Full Version : Help to bootargs and multiboot from hdd



calle3
3rd February, 2010, 07:00 PM
Iam trying to get a E2 image working on a hdd with multiboot, I have a DGS based image in flash.

I have installed the E2 image in sda3 on hdd ( I have made 4 partitions )

My pc ip is 192.168.1.101 and box 192.168.1.102

Have tried with these bootargs:

setenv menu_1 'front_puts "DGS i Flash";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 quiet";setenv bootcmd "bootm a0060000"';saveenv;boot

setenv menu_2 'front_puts "USB STICK";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb2 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot'

setenv menu_3 'front_puts "HD SDA 3";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sda3 rw rootdelay=1 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run boothdd";saveenv;boot'

setenv menu_4 'front_puts "HD SDA 4";setenv ipaddr 192.168.1.102;setenv serverip 192.168.1.101;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:4 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sda4 rw rootdelay=1 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run boothdd";saveenv;boot'

saveenv

but I cant get it to run... neither of the images, I have putty running when booting
Putty stops... and says....
** Unable to read "boot/uImage" from ide 0:3 **
## Booting image at a5ff0000 ...
Bad Magic Number

Anybody.. some ideas???

aftermath
4th February, 2010, 08:26 AM
bad magic number means one of these things.

either a bad formatted partition which cant be read.

maybe the partition needs mounted.

maybe the image you unpacked is corrupt.

solution :
in nlb settings turn off format HDD, and also turn off in nlb settings turn off format HDD, and also off check HDD on boot .
format HDD to just 1 partition and make it ext3 .

Boot DGS based image.
FTP a different stick version E2 to /media
then unpack it using telnet commands.

flash the latest DGS multiboot config or search here for a newish one.

boot image from HDD by holding down number 6 on remote control while you switch on the box..
some multiboot configs are different so take notice of the number to press.
Edit/Delete Message

calle3
4th February, 2010, 08:50 AM
bad magic number means one of these things.

either a bad formatted partition which cant be read.

maybe the partition needs mounted.

maybe the image you unpacked is corrupt.

solution :
in nlb settings turn off format HDD, and also turn off in nlb settings turn off format HDD, and also off check HDD on boot .
format HDD to just 1 partition and make it ext3 .

Boot DGS based image.
FTP a different stick version E2 to /media
then unpack it using telnet commands.

flash the latest DGS multiboot config or search here for a newish one.

boot image from HDD by holding down number 6 on remote control while you switch on the box..
some multiboot configs are different so take notice of the number to press.
Edit/Delete Message

I will try that... but I cant understand something, I have tried the guide with a USB.stick with the same result!!

I am using PGI 0,5 in flash.. I am not shure where to change the NLB setting for the hdd???

http://www.digital-kaos.co.uk/forums/images/galaxy/misc/progress.gif

aftermath
4th February, 2010, 08:54 AM
I am using PGI 0,5 in flash.. I am not shure where to change the NLB setting for the hdd???

http://www.digital-kaos.co.uk/forums/images/galaxy/misc/progress.gif

sorry i thought you were using NLB image in flash.
just check your HDD settings on PGI, and dissable anything that could format or set up your HDD on booting.

NLB images alter the HDD on booting and create a swat partition so your HDD becomes sda1 for sway and sda2 for main partition.

but best to format into 1 partition , ext3 for using E2 on HDD or ex2 for E2 on USB stick

calle3
4th February, 2010, 09:26 AM
sorry i thought you were using NLB image in flash.
just check your HDD settings on PGI, and dissable anything that could format or set up your HDD on booting.

NLB images alter the HDD on booting and create a swat partition so your HDD becomes sda1 for sway and sda2 for main partition.

but best to format into 1 partition , ext3 for using E2 on HDD or ex2 for E2 on USB stick

I had some problems format my hdd with telnet before I tried to install E2. I couldnt format sda1 but all the others partitions. That means my box wouldnt show my hdd anymore all the hdd settings is grayed out....
Would you recomend me to use another image in flash??