repair multiboot on 910HD

li.liu.li.liu

Registered
Messages
1
Hello,

Unfortunately, I modify the environment variables on multiboot and I cannot boot my 910HD on flash.

I still able to connect via serial console.

I made a new flash with a USB key (the normal procedure) but the box is still blocked on boot sequence.

Please help me and send me the environment variables in order to enable the flash boot (or correct my).

Best regards,
Li

The result of the printenv command is:
cuberevo-mini II> printenv
baudrate=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
menu_2=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sda1 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:
$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDA1-USB;boot
menu_3=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sda2 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDA2-USB;boot
menu_4=setenv bootide "run bootargside;ide reset;ext2load ide 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200 root=/dev/sda3 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_puts SDA3-IDE;boot
menu_5=setenv bootide "run bootargside;ide reset;ext2load ide 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargside "setenv bootargs console=ttyAS1,115200 root=/dev/sda4 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootide";saveenv;front_puts SDA4-IDE;boot
menu_6=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sdb1 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDB1-USB;boot
menu_7=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:2 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sdb2 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDB2-USB;boot
menu_8=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:3 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sdb3 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDB3-USB;boot
menu_9=setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:4 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 root=/dev/sdb4 rw init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:$ethaddr";setenv bootcmd "run bootusb";saveenv;front_puts SDB4-USB;boot
menu_0=front_puts "usbenigma2";setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs printk=1 console=ttyAS1,115200 panic=3 root=/dev/sda1 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
menu_1=front_puts "usbenigma2";setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs printk=1 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
bootide=run bootargside;ide reset;ext2load ide 0:2 a5ff0000 boot/uImage;bootm a5ff0000
bootargside=setenv bootargs console=ttyAS1,115200 root=/dev/sda4 rw init=/bin/devinit ip=192.168.178.1:192.168.178.254:192.168.178.254:255.255.255.0:cuberevo:eth0:eek:ff mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:13:18:02:E3:33
bootusb=run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000
bootargsusb=setenv bootargs printk=1 console=ttyAS1,115200 panic=3 root=/dev/sdb1 rw rootdelay=10 init=/bin/devinit ip=192.168.178.1:192.168.178.254:192.168.178.254:255.255.255.0 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000
bootcmd=run bootusb
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:13:18:02:E3:33
bootargs=printk=1 console=ttyAS1,115200 panic=3 root=/dev/sdb1 rw rootdelay=10 init=/bin/devinit ip=192.168.178.1:192.168.178.254:192.168.178.254:255.255.255.0 mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000

Environment size: 6468/131068 bytes
 
Top