Johannes
Rescue system for use with USB sticks and TFTP October 22, 2010 05:54PM |
usb start ext2load usb 0:1 0x800000 uImage-rescue ext2load usb 0:1 0xe00000 uInitrd-rescue setenv bootargs console=$console $mtdparts bootm 0x800000 0xe00000
setenv bootargs netconsole=6666@10.0.0.3/eth0,6666@10.0.0.2/12:23:34:45:56:67 $mtdpartswhere 10.0.0.3 is the IP address of the Dockstar, 10.0.0.2 is the IP address of the machine which displays the console output and 12:23:34:45:56:67 is the MAC address corresponding to that machine. Replace these values with the ones which are right for your network.
Re: Rescue system for use with USB sticks and TFTP October 23, 2010 01:48PM |
Admin Registered: 14 years ago Posts: 304 |
Johannes
Re: Rescue system for use with USB sticks and TFTP October 23, 2010 02:37PM |
Johannes
Re: Rescue system for use with USB sticks and TFTP October 30, 2010 12:58PM |
SebastianG
Re: Rescue system for use with USB sticks and TFTP November 15, 2010 02:40PM |
Martin
Re: Rescue system for use with USB sticks and TFTP February 25, 2011 03:30PM |
Martin
Re: Rescue system for use with USB sticks and TFTP February 25, 2011 08:21PM |
Re: Rescue system for use with USB sticks and TFTP May 01, 2011 08:08AM |
Registered: 13 years ago Posts: 9 |
done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).
Re: Rescue system for use with USB sticks and TFTP August 27, 2011 07:07PM |
Registered: 13 years ago Posts: 26 |
setenv ipaddr 192.168.1.50 setenv netmask 255.255.255.0 setenv serverip 192.168.1.1 tftp 0x800000 uImage-rescue tftp 0xe00000 uInitrd-rescue setenv bootargs console=$console $mtdparts bootm 0x800000 0xe00000
Re: Rescue system for use with USB sticks and TFTP August 28, 2011 06:34PM |
Registered: 13 years ago Posts: 9 |
Re: Rescue system for use with USB sticks and TFTP August 30, 2011 11:05AM |
Registered: 13 years ago Posts: 26 |
setenv arcNumber 2097 setenv arcNumber 2998 setenv arcNumber 3089
Re: Rescue system for use with USB sticks and TFTP September 22, 2011 05:39PM |
Registered: 13 years ago Posts: 501 |
Re: Rescue system for use with USB sticks and TFTP August 24, 2013 02:04PM |
Registered: 11 years ago Posts: 42 |
Michael
Re: Rescue system for use with USB sticks and TFTP December 27, 2013 06:25PM |
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.22.18 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1978544 Bytes = 1.9 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Bytes transferred = 17417628 (109c59c hex) u-boot>> setenv bootargs console=$console $mtdparts u-boot>> bootm 0x800000 0xe00000 ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.32.18-dockstar Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3185880 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 00e00000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 17417564 Bytes = 16.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux.......................................................................................................................................................................................................... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000bb6). Available machine support: ID (hex) NAME 00000690 Marvell DB-88F6281-BP Development Board 00000691 Marvell RD-88F6192-NAS Development Board 00000692 Marvell RD-88F6281 Reference Board 0000078c Marvell 88F6281 GTW GE Board 00000831 Marvell SheevaPlug Reference Board 0000085b QNAP TS-119/TS-219 00000915 Marvell OpenRD Base Board Please check your kernel config and/or bootloader.
Re: Rescue system for use with USB sticks and TFTP December 29, 2013 10:10PM |
Admin Registered: 13 years ago Posts: 18,997 |
Mac
Re: Rescue system for use with USB sticks and TFTP February 11, 2014 07:16AM |
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 u-boot>>
U-Boot 2011.12 (Feb 12 2012 - 21:33:07) Seagate FreeAgent DockStar arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1 GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
u-boot>> printenv arcNumber=2097 baudrate=115200 bootcmd=usb=start bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:1A:DC:0E 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 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi 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 rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params stderr=serial stdin=serial stdout=serial 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 ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params 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 usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:4 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext3 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_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_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2225/131068 bytes
u-boot>> setenv ipaddr 192.168.1.50 u-boot>> setenv serverip 192.168.1.1 u-boot>> tftp 0x800000 uImage-rescue Using egiga0 device TFTP from server 192.168.1.1; our IP address is 192.168.1.50 Filename 'uImage-rescue'. Load address: 0x800000 Loading: ################################################################# ################################################################# ################################################################# ####################### done Bytes transferred = 3185944 (309d18 hex) u-boot>> tftp 0xe00000 uInitrd-rescue Using egiga0 device TFTP from server 192.168.1.1; our IP address is 192.168.1.50 Filename 'uInitrd-rescue'. Load address: 0xe00000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################# done Bytes transferred = 17417628 (109c59c hex) u-boot>> setenv bootargs console=$console $mtdparts u-boot>> setenv arcNumber 2097
u-boot>> bootm 0x800000 0xe00000 ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-2.6.32.18-dockstar Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3185880 Bytes = 3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 00e00000 ... Image Name: initramfs Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 17417564 Bytes = 16.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux.......................................................................................................................................................................................................... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000bb6). Available machine support: ID (hex) NAME 00000690 Marvell DB-88F6281-BP Development Board 00000691 Marvell RD-88F6192-NAS Development Board 00000692 Marvell RD-88F6281 Reference Board 0000078c Marvell 88F6281 GTW GE Board 00000831 Marvell SheevaPlug Reference Board 0000085b QNAP TS-119/TS-219 00000915 Marvell OpenRD Base Board Please check your kernel config and/or bootloader.
Mac
Re: Rescue system for use with USB sticks and TFTP February 11, 2014 08:47AM |
Re: Rescue system for use with USB sticks and TFTP February 11, 2014 10:46AM |
Admin Registered: 13 years ago Posts: 18,997 |
Mac
Re: Rescue system for use with USB sticks and TFTP February 11, 2014 01:25PM |