I have a Goflex Home, that I installed uBoot on and and was able to bot into arch and debian on USB sticks. I was trying to get it to boot from SATA and also from Rescue V2.8.2 (NAND).
I used the following shell script, that I peiced together from various forum posts here and at forums.doozen.com, to set the environment variables:
$this->bbcode_second_pass_code('', 'fw_printenv | awk -F "=" '{ print $1 }' | xargs -n1 fw_setenv # clear out old values
fw_setenv arcNumber '3338'
fw_setenv baudrate '115200'
fw_setenv bootcmd_usb 'run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;'
fw_setenv bootdelay '3'
fw_setenv console 'ttyS0,115200'
fw_setenv ethact 'egiga0'
fw_setenv ethaddr '02:50:43:26:87:63'
fw_setenv led_error 'orange 'blinking'
fw_setenv led_exit 'green off'
fw_setenv led_init 'green blinking'
fw_setenv mainlineLinux 'yes'
fw_setenv mtdids 'nand0 'orion_nand'
fw_setenv mtdparts 'mtdparts orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
fw_setenv partition 'nand0,2'
fw_setenv set_bootargs_usb 'setenv bootargs console $console root $usb_root rootdelay $usb_rootdelay rootfstype $usb_rootfstype $mtdparts'
fw_setenv serverip '10.0.1.27'' # my iMac
fw_setenv ipaddr '10.0.1.3' # the GoFlex
fw_setenv if_netconsole 'ping $serverip'
fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
fw_setenv preboot 'run if_netconsole start_netconsole'
fw_setenv usb_boot 'if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;'
fw_setenv usb_device '0:1'
fw_setenv usb_load_uimage 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage'
fw_setenv usb_root '/dev/sda1'
fw_setenv usb_rootdelay '10'
fw_setenv usb_rootfstype 'ext2'
fw_setenv set_bootargs_rescue 'setenv bootargs console $console ubi.mtd 2 root ubi0:rootfs ro rootfstype ubifs $mtdparts'
fw_setenv bootcmd_rescue 'run set_bootargs_rescue; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
fw_setenv bootcmd_pogo 'run bootcmd_rescue'
fw_setenv rescue_installed '1'
fw_setenv serverip '192.168.1.119' #### this is a duplicate line I failed to edit/delete ######
fw_setenv usb_init 'usb start; setenv usb_root LABEL rootfs'
fw_setenv sata_init 'ide reset'
fw_setenv sata_root '/dev/sda1'
fw_setenv sata_rootfstype 'ext2'
fw_setenv bootcmd_sata 'run sata_init; run sata_load_uimage; run set_bootargs_sata; run sata_boot;'
fw_setenv set_bootargs_sata 'setenv bootargs console $console root $sata_root rootdelay $sata_rootdelay rootfstype $sata_rootfstype $mtdparts'
fw_setenv sata_rootdelay '8'
fw_setenv sata_device '0:1'
fw_setenv sata_boot 'if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;'
fw_setenv bootcmd 'run bootcmd_usb; usb stop; run bootcmd_sata; run bootcmd_pogo; reset'
fw_setenv sata_load_uimage 'mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage'')
When I rebooted I got a continuous flashing amber light.
Apparently I made some errors in the above script (including a duplicate line I failed to edit/delete).
I can't get a response on nc
$this->bbcode_second_pass_code('', 'nc -u -l 6666 #on osx ')
Is there any usb images that will boot in the current state, or any other way to recover?