chrishelms
i think i bricked my goflex home August 30, 2015 04:58PM |
arcNumber=3338 baudrate=115200 bootcmd=run sata_bootcmd; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 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 if_netconsole=ping $serverip ipaddr=192.168.10.233 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-goflexhome.dtb load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd load_uimage=ext2load usb 0:1 0x800000 /boot/uImage mainlineLinux=yes mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi mmc_init=mmc rescan mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd mmc_root=/dev/mmcblk0p1 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) nc_ready=1 ncip=192.168.10.244 partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi preboot=run preboot_nc preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; 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 rootdelay=10 rootfstype=ubifs $mtdparts $rescue_custom_params sata_boot=ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_bootcmd=run sata_set_bootargs; run sata_boot sata_root=/dev/sda1 sata_rootfstype=ext3 sata_set_bootargs=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params serverip=192.168.10.244 set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=nc stdin=nc stdout=nc 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 uenv_import=echo importing envs ...; env import -t 0x810000 uenv_load=usb start; mmc rescan; ide reset; setenv uenv_loaded 0; for devtype in usb mmc ide; do for disknum in 0; do run uenv_read_disk; done; done uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 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_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
Re: i think i bricked my goflex home August 30, 2015 05:29PM |
Admin Registered: 12 years ago Posts: 17,908 |
2. Plug the USB rootfs into the NSA325 and power up, interrupt serial console. At the prompt: run bootcmd_uenv fw_setenv arcNumber 3338 fw_setenv machid
1. Copy the default envs in text format to the 3.18.5 rootfs on USB. Assuming the USB rootfs is mounted on another Linux box as /media/sdb1:
Re: i think i bricked my goflex home August 30, 2015 05:44PM |
Admin Registered: 12 years ago Posts: 17,908 |
ipaddr=192.168.10.233 serverip=192.168.10.244 preboot=run preboot_nc preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi ethaddr=b6:d0:5e:0f:a1:17 if_netconsole=ping $serverip
chrishelms
Re: i think i bricked my goflex home August 30, 2015 06:14PM |
Re: i think i bricked my goflex home August 30, 2015 06:32PM |
Admin Registered: 12 years ago Posts: 17,908 |
chrishelms
Re: i think i bricked my goflex home August 30, 2015 06:58PM |
chrishelms
Re: i think i bricked my goflex home August 30, 2015 07:02PM |
chrishelms
Re: i think i bricked my goflex home August 30, 2015 07:32PM |
Re: i think i bricked my goflex home August 30, 2015 07:32PM |
Admin Registered: 12 years ago Posts: 17,908 |
chrishelms
Re: i think i bricked my goflex home August 30, 2015 07:37PM |
Re: i think i bricked my goflex home August 31, 2015 12:30AM |
Admin Registered: 12 years ago Posts: 17,908 |
arcNumber=3338 baudrate=115200 bootcmd=run sata_bootcmd; usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_init=run usb_scan 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_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params console=ttyS0,115200 usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-goflexhome.dtb load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
Quote
Updated 24 Feb 2015:
This rootfs is the first Debian jessie rootfs in my Kirkwood kernel/rootfs release series, and to keep in sync with kernel Linux-3.18.5-kirkwood-tld-1.
chrishelms
Re: i think i bricked my goflex home August 31, 2015 11:24AM |
Re: i think i bricked my goflex home August 31, 2015 02:32PM |
Registered: 8 years ago Posts: 118 |
chrishelms
Re: i think i bricked my goflex home October 26, 2015 11:22PM |
Re: i think i bricked my goflex home October 27, 2015 12:07AM |
Admin Registered: 12 years ago Posts: 17,908 |
chrishelms
Re: i think i bricked my goflex home October 27, 2015 11:31PM |
Re: i think i bricked my goflex home October 28, 2015 12:43AM |
Admin Registered: 12 years ago Posts: 17,908 |
Quote
Important Note: If possible, try to test this boot image with UART booting before flashing to NAND. See davygravy's UART booting using kwboot instruction here in this thread. The latest u-boot image released here should be used for UART booting, if your box is the type that supports it (these do not: Dockstar, Pogo E02, iConnect). Note: there is no need to use a small image for NSA325 anymore, this version will kill the watchdog before the image is completely loaded.
To download ARM kwboot binary for UART booting at Dropbox:
kwboot
md5:
0efd011bdb244436e432a8de33e639a1
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-2.goflexhome.mtd0.kwb -p
chrishelms
Re: i think i bricked my goflex home October 28, 2015 08:35PM |
Re: i think i bricked my goflex home October 29, 2015 12:42AM |
Admin Registered: 12 years ago Posts: 17,908 |
chrishelms
Re: i think i bricked my goflex home October 29, 2015 05:26PM |
Re: i think i bricked my goflex home October 29, 2015 09:20PM |
Admin Registered: 12 years ago Posts: 17,908 |
chrishelms
Re: i think i bricked my goflex home October 30, 2015 10:42AM |
Re: i think i bricked my goflex home October 30, 2015 02:05PM |
Admin Registered: 12 years ago Posts: 17,908 |
Quote
Updated 02 Sept 2014 (rootfs):
Rootfs Debian-3.16.0-kirkwood-tld-2 was uploaded. This rootfs is to keep in sync with kernel Linux-3.16.0-kirkwood-tld-2 (and its new features).
chrishelms
Re: i think i bricked my goflex home November 09, 2015 10:59AM |
Re: i think i bricked my goflex home November 09, 2015 05:13PM |
Admin Registered: 12 years ago Posts: 17,908 |