GoFlex Net: Boot from USB while SATA disks connected August 26, 2012 12:33PM |
Registered: 12 years ago Posts: 16 |
ethact=egiga0 bootdelay=3 baudrate=115200 mainlineLinux=yes console=ttyS0,115200 led_init=green blinking led_exit=green off led_error=orange blinking mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 stdin=serial stdout=serial stderr=serial rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_list=1 2 3 4 usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_init=run usb_scan usb_device=0:1 usb_root=/dev/sda1 usb_rootdelay=10 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi arcNumber=3089 ethaddr=XX:XX:XX:XX:XX:XX ipaddr=10.0.10.6 ncip=10.10.10.5 ncipk=10.10.10.4 serverip=10.10.10.3 preboot=run nc_test nc_start nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version nc_test=ping $ncip usb_rootfstype=ext3 set_bootargs_rescue=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts bootcmd_rescue=run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 bootcmd_pogo=run bootcmd_rescue rescue_installed=1 sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_bootcmd=run usb_set_bootargs; run sata_boot bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
Re: GoFlex Net: Boot from USB while SATA disks connected August 26, 2012 12:40PM |
Registered: 12 years ago Posts: 501 |
Re: GoFlex Net: Boot from USB while SATA disks connected August 27, 2012 03:23PM |
Registered: 12 years ago Posts: 16 |
Loading file "/boot/uImage" from usb device 0:1 (usbda1) 2279256 bytes read Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 6996080 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.3.2-kirkwood-dg Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2279192 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6996016 Bytes = 6.7 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ...
# <file system> <mount point> <type> <options> <dump> <pass> /dev/root / ext2 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
Re: GoFlex Net: Boot from USB while SATA disks connected August 27, 2012 03:42PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected August 27, 2012 03:49PM |
Registered: 12 years ago Posts: 16 |
Re: GoFlex Net: Boot from USB while SATA disks connected August 27, 2012 03:52PM |
Registered: 12 years ago Posts: 16 |
Re: GoFlex Net: Boot from USB while SATA disks connected August 27, 2012 04:44PM |
Registered: 12 years ago Posts: 16 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 24, 2012 05:59PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 24, 2012 11:58PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 25, 2012 05:05PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 25, 2012 07:34PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 06:41AM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 04:54PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 05:13PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 06:59PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 07:06PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 07:43PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 08:12PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 26, 2012 11:01PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 09:20AM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 04:49PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 06:15PM |
Registered: 12 years ago Posts: 56 |
Cannot open root device "LABEL=rootfs" or unknown-block (0,0) # kernel message, OR Error: illegal character "=" in variable name "usb_root=LABEL=rootfs" # Uboot message at boot (not at entering var)
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 06:24PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 06:58PM |
Registered: 12 years ago Posts: 56 |
stderr=serial # was with netconsole off stdin=serial stdout=serial stderr=nc # once netconsole started stdin=nc stdout=nc
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 07:38PM |
Admin Registered: 13 years ago Posts: 18,821 |
> Cannot open root device "LABEL=rootfs" or > unknown-block (0,0) # kernel message, > OR > > Error: illegal character "=" in variable name > "usb_root=LABEL=rootfs" # Uboot message at > boot (not at entering var) >>
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 07:44PM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 27, 2012 10:48PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 28, 2012 06:22AM |
Registered: 12 years ago Posts: 56 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 28, 2012 03:41PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: GoFlex Net: Boot from USB while SATA disks connected October 29, 2012 07:21AM |
Registered: 12 years ago Posts: 56 |