PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [ipbox910] HDMU auf Festplatte installieren?



Dark_Hell
08.04.2013, 15:35
Hi,

ich hab eine IPBox910, momentane Konstellation ist, ich boote vom USB Stick (sdb1) hab aber noch eine Festplatte (sda) in der Box. Jetzt meine Frage, kann ich die Platte so partitionieren, das ich z.B mehrere Partitionen (sda2 - sdaxx) für Images hab aber z.B. sda1 zum aufnehmen bleibt?

Hier mal meine Bootargs, wenn ich es richtig sehe hab ich so keine Möglichkeit von sda2 - sdaxx zu booten?


#Bootargs Morly's SH4 STB Admin Tool from: Mo Apr 8 2013baudrate=115200
preboot=if edb toenv ethaddr; then echo "Setup mac address."; else echo "Use default mac address."; fi; bootmenu
menu_timeout=echo booting...;front_puts "booting";boot
menu_serialbreak=echo entering boot loader console.;front_puts "console"
menu_upgusb=setenv stdout vga;setenv stderr vga;if usbupg; then reset; else echo Oops...; echo You can debug through serial port.; fi
menu_upgusbhost=setenv stdout vga;setenv stderr vga;if usbupghost; then reset; else echo Oops...; echo You can debug through serial port.; fi
menu_upgserial=setenv stdout vga;setenv stderr vga;serial_upgrade;reset
menu_set2set=setenv stdout vga;setenv stderr vga;serial_set2set;reset
menu_hddfmt=setenv bootargs $bootargs format_hdd=1;front_puts "format hdd";boot
menu_debugmode=setenv bootargs $bootargs debug debug_app=1;front_puts "debug shell";boot
menu_upgnet=setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 quiet" factory_update=1;front_puts "net upg";boot
menu_tvmode=set_tvmode;boot
serial#=cuberevo-mini2 debugging
board=cuberevo-mini2_27
monitor_base=0xA0000000
monitor_len=0x00040000
monitor_sec=1:0
load_addr=0x84000000
unprot=protect off $monitor_sec
update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec
ipaddr=192.168.178.1
gateway=192.168.178.254
netmask=255.255.255.0
serverip=192.168.178.254
bootide=run bootargside;ide reset;ext2load ide 0:1 a5ff0000 boot/uImage;bootm a5ff0000
bootargside=setenv bootargs console=ttyAS1,115200 root=/dev/sda3 rw init=/bin/devinit ip=192.168.178.1:192.168.178.254:192.168.178.254:2 55.255.255.0:cuberevo:eth0:off mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:13:18:02:EC:F3
menu_0=front_puts FLASH;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=10240 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 ip=$ipaddr:$serverip:$gateway:$netmask quiet";setenv bootcmd "bootm a0060000";saveenv;boot
menu_1=front_puts SDB1;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb1 rw rootdelay=6 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot
menu_2=front_puts SDB2;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=6 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot
menu_3=front_puts SDB3;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb3 rw rootdelay=6 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot
menu_4=front_puts SDB5;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:5 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb5 rw rootdelay=6 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot
menu_5=front_puts NFS;setenv bootargs "console=ttyAS1,115200 loglevel=10 root=/dev/mtdblock3 bigphysarea=1500";setenv bootcmd "nfs a5ff0000 192.168.1.1:/Ipbox/uImage; bootm a5ff0000";saveenv;boot
menu_6=front_puts PGI-SDB2;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 bigphysarea=1500 ";setenv bootcmd "run bootusb";saveenv;boot
menu_7=front_puts DGS-FLASH;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=2000 quiet";setenv bootcmd "bootm a0060000";saveenv;boot
menu_8=setenv bootargs $bootargs boot_pause=1;front_puts "boot pause";boot
menu_9=setenv bootargs $bootargs restore_backup=1;front_puts "RESTORE BKUP";boot
bootargs=console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=10240 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 ip=192.168.178.1:192.168.178.254:192.168.178.254:2 55.255.255.0 quiet
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:13:18:02:78:B8
bootusb=run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000
bootargsusb=setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb1 rw rootdelay=6 init=/bin/devinit ip=192.168.178.1:192.168.178.254:192.168.178.254:2 55.255.255.0 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000
bootcmd=run bootusb

Danke

Gruß

santa
08.04.2013, 16:11
Bin gerade nur mir dem Handy Online, deswegen kann ich dir zu den bootargs nix sagen, aber ich nutze das seit Jahren.

Hdmu bootet damit in Ca 1min30, du wirst derzeit über 2 min liegen, ich kann den Schritt nur empfehlen.

Record sollte dabei sda1-4 sein, ab sda5 kann es zu Problemen kommen.

Images habe ich bis sda10 ohne Probleme getestet.

Dark_Hell
08.04.2013, 16:58
Hi Santa, dann gedulde ich mich bis Du wieder vom Rechner Online bist, vielleicht kannst Du mir dann weiterhelfen. Weil ich hab im Moment nur die Möglichkeit von sdbx zu booten.

Gruß

Grabber66
08.04.2013, 21:55
Ich hab hier ein multiboot script was mal von msrx111 erstellt wurde. Ich habe mir dies etwas angepasst:


#!/bin/sh
fw_setenv menu_0 'front_puts DGS-FLASH;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=2000 quiet";setenv bootcmd "bootm a0060000";saveenv;boot'
fw_setenv menu_1 'front_puts TUX-FLASH;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=10240 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 ip=$ipaddr:$serverip:$gateway:$netmask quiet";setenv bootcmd "bootm a0060000";saveenv;boot'
fw_setenv menu_2 'front_puts TUX-SDB1;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb1 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'
fw_setenv menu_3 'front_puts TUX-SDB2;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'
fw_setenv menu_4 'front_puts TUX-SDB3;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb3 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'
fw_setenv menu_5 'front_puts TUX-SDA2;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sda2 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run boothdd";saveenv;boot'
fw_setenv menu_6 'front_puts TUX-SDA3;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sda3 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run boothdd";saveenv;boot'
fw_setenv menu_7 'front_puts TUX-SDA4;setenv boothdd "run bootargshdd;ide reset;ext2load ide 0:4 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargshdd "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sda4 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run boothdd";saveenv;boot'
fw_setenv menu_8 'setenv bootargs $bootargs boot_pause=1;front_puts "boot pause";boot'
fw_setenv menu_9 'setenv bootargs $bootargs restore_backup=1;front_puts "RESTORE BKUP";boot

3842

Damit kannst du aus dem Flash das PGI oder Neutrino/E2 starten, und von sdb1-3(USB) bzw. sda2-4(HDD) auch neutrino/e2.

sollte einfach per ftp auf die Box geschoben werden rechte 755 nicht vergessen und dann per telnet starten