Welcome! Log In Create A New Profile

Advanced

GoFlex Home failed install

Posted by jbarrick 
GoFlex Home failed install
March 12, 2020 10:12AM
Hi! I am new here and new at hacking my Goflex home. I tried to update to ArchLinux but at the end I did the reboot and only got a green flashing light. I have done some other things so I don't really know where I am at. I have a serial connection and am attaching a log. I have tried to Uart boot through the serial connection but I immediately get an +xmodem protocol error. Any assistance would be appreciated!
Attachments:
open | download - Goflex Home Serial Boot log (5.7 KB)
Re: GoFlex Home failed install
March 12, 2020 11:54AM
I got that many times when first starting... it could be an intermittent fault or a bad connection. I have several of these units with different connections. When you get the serial connection set up, do you see the unit trying to boot up?
...oops, just saw the log so you obviously can.

Are you trying to use kwboot?

Here is one of my posts when I was having problems - you may be able to glean something from it.

https://forum.doozan.com/read.php?3,79004,79104
Re: GoFlex Home failed install
March 12, 2020 12:34PM
I have tried kwboot with just the serial connection and no hard drive and I get a +modem protocol error. It does boot up to a Marvell>> prompt but I am not sure what I can fix from there? The other thing I noticed is that there is only one MTD partition and I think there should be more. I have tried to make a bootable usb thinking I could try and do a reinstall from there but it seems like it is not recognizing the USB port.
Re: GoFlex Home failed install
March 12, 2020 07:15PM
jbarrick,

> It does boot up to a Marvell>>
> prompt but I am not sure what I can fix from
> there?

Your box is OK. It booted to the u-boot prompt like that then it means the rootfs was not prepared correctly, or the envs are not set up to boot with your USB rootfs. There is no need to run kwboot.

At this point the easiest thing to do is to boot with Debian rootfs. The envs seem to be all OK. And you are running Jeff's 2010.09 u-boot

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael


On another Linux box, create the Debian rootfs using a USB flash drive. See the release thread:

https://forum.doozan.com/read.php?2,12096

Scroll down to

Quote

Updated 25 Aug 2019:

Basic Debian buster Kirkwood rootfs for most Kirwood plugs:

- tarball size: 209M
- install size: 536M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root


Follow the instruction very closely, and create the rootfs. Since you are running with old u-boot you need to do Step 4

Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
sync

After that just bring the USB drive back to this box, attach it, and power up.

Please post the entire serial console log here. I expect a few envs adjustment will be needed at serial console prompt to get it boot all the way into Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 13, 2020 09:42AM
Great! Thanks! I just got a 3T hard drive to replace the original one. Will I need to update the u-boot? Here is the output:

root@debian:/media/root/rootfs/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage sync
Image Name:   Linux-5.2.9-kirkwood-tld-1
Created:      Fri Mar 13 10:26:25 2020
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4973865 Bytes = 4857.29 kB = 4.74 MB
Load Address: 00008000
Entry Point:  00008000
root@debian:/media/root/rootfs/boot#




U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  3  2  1  0 
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available  Bus 1: not available  
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>> printenv
bootcmd=run fast_boot; run usb_boot; run hd_boot; run ubi_boot
bootdelay=3
baudrate=115200
ide_start=ide reset
ubi_start=ubi part root
usb_start=usb start
nc_test=ping $ncip
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
silent_boot=run silent_rd ubi_args ubi_fallback
fast_boot=run fast_rd ubi_args ubi_fallback
usb_boot=for scan in 0 1 2 3; do run usb_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback;done
usb_args_0=boot_dev='usb 0:1'; dev_args='root=/dev/sda1 rootdelay=10'
usb_args_1=boot_dev='usb 1:1'; dev_args='root=/dev/sdb1 rootdelay=10'
usb_args_2=boot_dev='usb 2:1'; dev_args='root=/dev/sdc1 rootdelay=10'
usb_args_3=boot_dev='usb 3:1'; dev_args='root=/dev/sdd1 rootdelay=10'
hd_boot=run ide_start; for scan in 0 1; do run hd_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback; done
hd_args_0=boot_dev='ide 0:1'; dev_args='root=/dev/sda1'
hd_args_1=boot_dev='ide 1:1'; dev_args='root=/dev/sdb1'
ubi_boot=run ubi_rd ubi_args ubi_fallback
ubi_args=dev_args='ubi.mtd=root'
rescue=dev_args='ubi.mtd=root rootfstype=preboot'; boot_dev='usb 0:1'; run ext2_kern ext2_auto boot_rd; boot_dev='ide 0:1'; run ide_start ext2_kern ext2_auto boot_rd; run silent_rd ubi_fallback; run fast_rd ubi_fallback; run ubi_rd ubi_fallback
chain=nand read.e 0x800000 0x480000 0x80000; go 0x800200
ethact=egiga0
console=ttyS0,115200
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(pogoplug),-(root)
set_bootargs=setenv bootargs console=$console $mtdparts $dev_args $rd_args netconsole=@$ipaddr/eth0,@$ncipk/
ext2_kern=ext2load $boot_dev $addr_kern /boot/uImage
ext2_auto=ext2load $boot_dev $addr_rd /boot/uInitrd
ext2_rd=ext2load $boot_dev $addr_rd /uInitrd
ext2_boot=run ext2_rd boot_rd; run ext2_auto boot_auto; run boot_kern
fat_kern=fatload $boot_dev $addr_kern /boot/uImage
fat_rd=fatload $boot_dev $addr_rd /uInitrd
fat_boot=run fat_rd boot_rd
ubi_kern=ubifsmount boot; ubifsload $addr_kern /boot/uImage
ubi_rd=ubifsmount ramdisk; ubifsload $addr_rd /uInitrd
ubi_fallback=run ubi_kern boot_rd
silent_rd=ubifsmount silent; ubifsload $addr_rd /uInitrd
fast_rd=ubifsmount fast; ubifsload $addr_rd /uInitrd
boot_kern=run set_bootargs; bootm $addr_kern
boot_rd=run set_bootargs; bootm $addr_kern $addr_rd
boot_auto=rd_args='rootfstype=auto'; run boot_rd
addr_kern=0x680000
addr_rd=0x1100000
ipaddr=10.10.10.6
ncip=10.10.10.5
ncipk=10.10.10.4
serverip=10.10.10.3
led_init=green blinking
led_exit=green off
led_error=orange blinking
ethaddr=02:50:43:38:ef:be
preboot=run ubi_start silent_boot; run nc_test nc_start; run usb_start
arcNumber=3089
mainlineLinux=yes
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=u-boot

Environment size: 2801/131068 bytes
Marvell>> ^

======
moderator edit: please use code tags to post log



Edited 1 time(s). Last edit at 03/13/2020 05:17PM by bodhi.
Re: GoFlex Home failed install
March 13, 2020 09:54AM
The previous listing is without ethernet or a hard drive. I put the original 2T hard drive in it and here is the log for that boot with the USB stick installed:



U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  3  2  1  0 
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST32000542AS Firm: CC95 Ser#: 5XW0ZVNK
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
Loading file "/uInitrd" from ide device 0:1 (hda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:1 **
reading /boot/uImage

** Unable to read "/boot/uImage" from ide 0:1 **
reading /uInitrd

** Unable to read "/uInitrd" from ide 0:1 **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>>

======
moderator edit: please use code tags to post log



Edited 1 time(s). Last edit at 03/13/2020 05:18PM by bodhi.
Re: GoFlex Home failed install
March 13, 2020 05:21PM
jbarrick,

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

<snip>

(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  3  2  1  0

Your USB drive is not recognized by u-boot. What type, and brand, capacity is this drive?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/13/2020 05:22PM by bodhi.
Re: GoFlex Home failed install
March 13, 2020 06:27PM
It is an 8 gig Sandisk formatted in one full primary partition ext3. I’m pretty sure the boot flag is enabled but I’ll double check that. It is labeled as roots.
Re: GoFlex Home failed install
March 13, 2020 08:08PM
jbarrick Wrote:
-------------------------------------------------------
> It is an 8 gig Sandisk formatted in one full
> primary partition ext3. I’m pretty sure the
> boot flag is enabled but I’ll double check that.
> It is labeled as roots.

Wipe the partition table. And then create new one, make sure that it is MBR table. Format, extract the tarball as root. And sync. And create new uImage.

If still not working then we'll try kwboot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 15, 2020 07:40PM
Sorry! Still no luck with the USB boot! I used gparted as root to write a new mbr and add a new ext3 formatted partition. I have tried kwboot and didn't have much luck there either. But I will try again if that is the next step. Here are the results:

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available Bus 1: not available
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>> <INTERRUPT>
Marvell>>
Re: GoFlex Home failed install
March 15, 2020 09:01PM
jbarrick,

> USB EHCI 1.00
> scanning bus for devices... 1 USB Device(s) found
> scanning bus for storage devices... 0
> Storage Device(s) found
> Hit any key to stop autoboot: 0

So it did not find you USB drive.

I would use fdisk in command line to wipe partition table and recreate. gparted is too new for this u-boot. Give it one last shot before we try kwboot.

I have not seen any GFHome that does not work with UART booting (only some GFNet has problem with kwboot).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 16, 2020 02:18PM
Well, I have tried several tools to format the USB stick all with the same result. The stick is just not recognized. I will try the kwboot again. Could you point me in the right direction for the files I need. I have spent several hours going from link to link trying to find how to do the boot over UART but so for have been unable to find directions and files. Thanks!
Re: GoFlex Home failed install
March 16, 2020 06:52PM
jbarrick,

It is in the Wiki thread:

https://forum.doozan.com/read.php?2,23630

Quote

Serial Console & JTAG console

Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics
Adding serial connector to Pogoplug Mobile (external link)
WD Mycloud EX2100/4100 Serial Console pic1, also pic2, pic3
Dreamplug Serial Console
How to unbrick your box using serial console with kwboot

The file you need is in the u-boot release thread:

https://forum.doozan.com/read.php?3,12381

Quote

uboot.2017.07-tld-1.goflexhome.bodhi.tar
md5
b014dcf14697d573ca9626fbc6a6c489
sha256
964b659492d50e464d7117116a273768d27731cf6640eecc1a43cbedbffc14c1


And your kwboot command should be:

kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.goflexhome.mtd0.kwb  -p

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/16/2020 06:54PM by bodhi.
Re: GoFlex Home failed install
March 17, 2020 11:51AM
Great! Thanks for the links! Well, some success I think. I kept getting modem errors on the kwboot. I disconnected another USB drive and reset the USB connection to the GoFlex Home and then it seemed to work. It looks like I have more work to do though. Here are the results:

0 % [+++xmodem: Bad message
root@debian:~/Downloads/kwboot-tool# ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.goflexhome.mtd0.kwb  -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
** Bad device usb 0 **
Unknown command 'bootm0x800000' - try 'help'
resetting ...


U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available  Bus 1: not available  
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>>

=========
moderator edit: please used code tags to post log.



Edited 1 time(s). Last edit at 03/17/2020 04:49PM by bodhi.
Re: GoFlex Home failed install
March 17, 2020 04:57PM
Great! now you are ready to boot with Debian USB.

Create the rootfs on USB using Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from the release thread. Follow the instruction very closely.

https://forum.doozan.com/read.php?2,12096

Scroll down to

Quote

Updated 25 Aug 2019:

Basic Debian buster Kirkwood rootfs for most Kirwood plugs:

- tarball size: 209M
- install size: 536M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
cd8ad170aa1a9fdc2a0a1c43ab1c0721
sha256:
8ccbbced367b4c2bf3728262e882f8232aff0fecd1c0c767219a0cab49a0b9bf

And don't do Step 4 since you are booting with the new u-boot.

After that, plug in the USB drive. Run kwboot again, let it boot.

And post the entire serial console log here in code tags. You can cut out the kwboot loading progress output (10% to 80%) to make the log shorter.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 17, 2020 07:13PM
Here is what I I got:

root@debian:~/Downloads/kwboot-tool# ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.goflexhome.mtd0.kwb  -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]

 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
** Bad device usb 0 **
Unknown command 'bootm0x800000' - try 'help'
resetting ...


U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available  Bus 1: not available  
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>> 

Re: GoFlex Home failed install
March 17, 2020 07:23PM
If I hit a key at the first chance I get to stop the autoboot, I get a goflexhome> prompt. I tried start usb and usbboot but they didn't work. I formatted the USB stick with ext4 and extracted the Debian file onto it. Did I need to do anything like load sysvinit or some bootloader? I remember back in the DOS floppy days, we had to run something to make the disk bootable. I did try several usb sticks at the prompt and it didn't looks like it recognized any of them. Maybe the USB port is shot? Although on some sticks, I see an led flash in the stick. Could i do the same on a hard drive and get it to boot?
Re: GoFlex Home failed install
March 17, 2020 09:36PM
Quote

If I hit a key at the first chance I get to stop the autoboot, I get a goflexhome> prompt. I tried start usb and usbboot but they didn't work. I formatted the USB stick with ext4

Don't use Ext4. Use Ext3 to format the USB.

Ext4 is a little bit tricky because most of the Linux distros assume the drive is going to be used on that system, and so it is not finalized immediately. So while Ext4 will work with the new u-boot, you would have to be aware of its shortcoming and always finalize the formatting before removing it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 18, 2020 07:27AM
OK. I went back to ext2 and tried again:

root@debian:~/Downloads/kwboot-tool# ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.goflexhome.mtd0.kwb  -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
** Bad device usb 0 **
Unknown command 'bootm0x800000' - try 'help'
resetting ...


U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 1 not supported
** Block device usb 1 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 2 not supported
** Block device usb 2 not supported

** Invalid boot device **

** Invalid boot device **
** Block device usb 3 not supported
** Block device usb 3 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available  Bus 1: not available  
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 0 blk 0: status 0x7f
** Can't read from device 0 **

** Unable to use ide 0:1 for fatload **
** Bad partition 1 **
** Bad partition 1 **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
No Powersaving mode 7F
Error (no IRQ) dev 1 blk 0: status 0x7f
** Can't read from device 1 **

** Unable to use ide 1:1 for fatload **
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ramdisk", error -19
Error reading superblock on volume 'ubi:ramdisk'!
UBIFS not mounted, use ubifs mount to mount volume first!
Marvell>> <INTERRUPT>
Marvell>> 

Re: GoFlex Home failed install
March 18, 2020 09:04AM
OK. I formatted a hard drive as ext3 and connected it to the USB port through an adapter. It did not work. I then plugged the hard drive directly into the SATA port on the GoFlex Home and success! Now what? Has my GoFlex Home been updated so i don't need the serial boot anymore? Since this hard drive is not my permanent hard drive, how should I format my permanent one? Do I still need files on the hard drive to boot? I am pretty excited that we have gotten this far! Thanks for all your help!

root@debian:~/Downloads/kwboot-tool# ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.goflexhome.mtd0.kwb  -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST980813AS Firm: 3.ADC  Ser#: 5NH0P0X3
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

Partition Map for IDE device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	152127488 	82174648-01	83
  2	152131582 	4169730   	82174648-02	05 Extd
  5	152131584 	4169728   	82174648-05	82
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST980813AS Firm: 3.ADC  Ser#: 5NH0P0X3
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
1 bytes read in 73 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
4963680 bytes read in 823 ms (5.8 MiB/s)
loading uInitrd ...
9713936 bytes read in 1558 ms (5.9 MiB/s)
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
10249 bytes read in 117 ms (85 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4963616 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 071ca000, end 07b0d8d0 ... OK
   Loading Device Tree to 071c4000, end 071c9808 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Seagate GoFlex Home
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 104836K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26236K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] 	Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000048][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000800][    T0] Console: colour dummy device 80x30
[    0.000852][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000879][    T0] pid_max: default: 32768 minimum: 301
[    0.001251][    T0] LSM: Security Framework initializing
[    0.001436][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001463][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002328][    T0] *** VALIDATE proc ***
[    0.002594][    T0] *** VALIDATE cgroup1 ***
[    0.002621][    T0] *** VALIDATE cgroup2 ***
[    0.002721][    T0] CPU: Testing write buffer coherency: ok
[    0.004471][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004764][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005061][    T1] rcu: Hierarchical SRCU implementation.
[    0.008355][    T1] devtmpfs: initialized
[    0.013564][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013595][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.013850][    T1] xor: measuring software checksum speed
[    0.110116][    T1]    arm4regs  :  1083.200 MB/sec
[    0.210075][    T1]    8regs     :   650.400 MB/sec
[    0.310074][    T1]    32regs    :   945.600 MB/sec
[    0.310094][    T1] xor: using function: arm4regs (1083.200 MB/sec)
[    0.310115][    T1] prandom: seed boundary self test passed
[    0.314314][    T1] prandom: 100 self tests passed
[    0.314326][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315777][    T1] NET: Registered protocol family 16
[    0.316357][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317156][    T1] audit: initializing netlink subsys (disabled)
[    0.318457][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.318581][    T1] cpuidle: using governor ladder
[    0.318658][    T1] cpuidle: using governor menu
[    0.319203][    T1] Feroceon L2: Enabling L2
[    0.319255][    T1] Feroceon L2: Cache support initialised.
[    0.324936][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    6.283264][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    6.283633][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    6.460566][    T1] raid6: int32x8  gen()   127 MB/s
[    6.630468][    T1] raid6: int32x8  xor()    86 MB/s
[    6.800431][    T1] raid6: int32x4  gen()   129 MB/s
[    6.970332][    T1] raid6: int32x4  xor()    83 MB/s
[    7.140340][    T1] raid6: int32x2  gen()   132 MB/s
[    7.310361][    T1] raid6: int32x2  xor()    94 MB/s
[    7.480612][    T1] raid6: int32x1  gen()   100 MB/s
[    7.650330][    T1] raid6: int32x1  xor()    68 MB/s
[    7.650341][    T1] raid6: using algorithm int32x2 gen() 132 MB/s
[    7.650350][    T1] raid6: .... xor() 94 MB/s, rmw enabled
[    7.650358][    T1] raid6: using intx1 recovery algorithm
[    7.650632][    T1] vgaarb: loaded
[    7.651145][    T1] SCSI subsystem initialized
[    7.651668][    T1] usbcore: registered new interface driver usbfs
[    7.651732][    T1] usbcore: registered new interface driver hub
[    7.651818][    T1] usbcore: registered new device driver usb
[    7.652007][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.652019][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.652047][    T1] PTP clock support registered
[    7.653384][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.690795][    T1] VFS: Disk quotas dquot_6.6.0
[    8.690891][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.700774][    T1] NET: Registered protocol family 2
[    8.701619][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    8.701654][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    8.701678][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    8.701699][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    8.701797][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.701825][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.702060][    T1] NET: Registered protocol family 1
[    8.702728][    T1] RPC: Registered named UNIX socket transport module.
[    8.702742][    T1] RPC: Registered udp transport module.
[    8.702751][    T1] RPC: Registered tcp transport module.
[    8.702759][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.702774][    T1] PCI: CLS 0 bytes, default 32
[    8.703024][    T1] Trying to unpack rootfs image as initramfs...
[    9.552926][    T1] Freeing initrd memory: 9488K
[    9.553117][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.554444][    T1] Initialise system trusted keyrings
[    9.554494][    T1] Key type blacklist registered
[    9.554726][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    9.554834][    T1] zbud: loaded
[    9.555980][    T1] NFS: Registering the id_resolver key type
[    9.556013][    T1] Key type id_resolver registered
[    9.556023][    T1] Key type id_legacy registered
[    9.556044][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.556060][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.556354][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.556597][    T1] fuse: init (API version 7.31)
[    9.556995][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.557186][    T1] orangefs_init: module version upstream loaded
[    9.557199][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    9.574765][    T1] async_tx: api initialized (async)
[    9.574790][    T1] Key type asymmetric registered
[    9.574800][    T1] Asymmetric key parser 'x509' registered
[    9.574876][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.576339][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.578372][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.634219][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.636222][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.694217][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.696520][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.697784][    T1] printk: console [ttyS0] disabled
[    9.697861][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[   10.452482][    T1] printk: console [ttyS0] enabled
[   10.465157][    T1] loop: module loaded
[   10.469530][    T1] sata_mv f1080000.sata: slots 32 ports 1
[   10.476792][    T1] scsi host0: sata_mv
[   10.480999][    T1] ata1: SATA max UDMA/133 irq 32
[   10.486920][    T1] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[   10.494077][    T1] nand: Micron MT29F2G08AAD
[   10.498455][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.506802][    T1] Scanning device for bad blocks
[   10.729978][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[   10.737012][    T1] Creating 4 MTD partitions on "orion_nand":
[   10.742915][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.749959][    T1] 0x000000100000-0x000000500000 : "uImage"
[   10.756975][    T1] 0x000000500000-0x000002500000 : "rootfs"
[   10.764088][    T1] 0x000002500000-0x000010000000 : "data"
[   10.772848][    T1] libphy: Fixed MDIO Bus: probed
[   10.778555][    T1] libphy: orion_mdio_bus: probed
[   10.797959][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   10.806079][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   10.993427][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.002872][  T112] ata1.00: ATA-7: ST980813AS, 3.ADC, max UDMA/133
[   11.009200][  T112] ata1.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.021295][  T112] ata1.00: configured for UDMA/133
[   11.036833][    T7] scsi 0:0:0:0: Direct-Access     ATA      ST980813AS       C    PQ: 0 ANSI: 5
[   11.046669][   T23] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[   11.055526][   T23] sd 0:0:0:0: [sda] Write Protect is off
[   11.061170][   T23] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.234899][   T23]  sda: sda1 sda2 < sda5 >
[   11.241035][   T23] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.524043][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   11.533672][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.540951][    T1] ehci-pci: EHCI PCI platform driver
[   11.546200][    T1] ehci-orion: EHCI orion driver
[   11.551139][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.557407][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.566003][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   11.593426][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.600448][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   11.609484][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.617462][    T1] usb usb1: Product: EHCI Host Controller
[   11.623065][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   11.630427][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.636482][    T1] hub 1-0:1.0: USB hub found
[   11.640988][    T1] hub 1-0:1.0: 1 port detected
[   11.646394][    T1] usbcore: registered new interface driver usb-storage
[   11.653566][    T1] mousedev: PS/2 mouse device common for all mice
[   11.660418][    T1] rtc-mv f1010300.rtc: registered as rtc0
[   11.666222][    T1] i2c /dev entries driver
[   11.671080][    T1] device-mapper: uevent: version 1.0.3
[   11.676764][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   11.686383][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.693714][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.701064][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.708516][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.715366][    T1] device-mapper: raid: Loading target version 1.14.0
[   11.723169][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   11.729663][    T1] drop_monitor: Initializing network drop monitor service
[   11.737000][    T1] NET: Registered protocol family 17
[   11.742412][    T1] Key type dns_resolver registered
[   11.748271][    T1] registered taskstats version 1
[   11.753087][    T1] Loading compiled-in X.509 certificates
[   11.758969][    T1] zswap: loaded using pool lzo/zbud
[   11.857099][    T1] Key type big_key registered
[   11.904229][    T1] Key type encrypted registered
[   11.910959][    T1] rtc-mv f1010300.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[   11.923725][    T1] Freeing unused kernel memory: 1024K
[   11.943959][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.950351][    T1] Run /init as init process
Loading, please wait...
Starting version 241
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 15036/4759552 files, 629212/19015936 blocks
done.
[   24.833829][  T183] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   25.580160][  T183] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[   30.187321][  T364] systemd-udevd[364]: Using default interface naming scheme 'v240'.
[....] Waiting for /dev to be fully populated...[   30.420488][  T364] systemd-udevd[364]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   30.590004][  T403] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   30.664547][  T403] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.718822][  T362] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   30.789522][  T403] orion_wdt: Initial timeout 21 sec
[   30.945545][  T383] systemd-udevd[383]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   31.007694][  T365] marvell-cesa f1030000.crypto: CESA device successfully registered
[   31.406114][    C0] random: crng init done
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   42.483631][  T584] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
[   50.589868][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.62.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.62.68 from 192.168.62.1
DHCPREQUEST for 192.168.62.68 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.62.68 from 192.168.62.1
bound to 192.168.62.68 -- renewal in 41409 seconds.
[   58.873611][ T1146] NET: Registered protocol family 10
[   58.880693][ T1146] Segment Routing with IPv6
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1340 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1367 (klogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password: 
Last login: Wed Dec 31 16:02:34 PST 1969 from 192.168.0.100 on pts/0
Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# 

Re: GoFlex Home failed install
March 18, 2020 06:10PM
jbarrick,

> OK. I formatted a hard drive as ext3 and
> connected it to the USB port through an adapter.
> It did not work. I then plugged the hard drive
> directly into the SATA port on the GoFlex Home and
> success!

Cool!

> Now what? Has my GoFlex Home been
> updated so i don't need the serial boot anymore?

Not done yet. You have run the new u-boot by loading it trough serial port. Now you need to install the new u-boot to NAND. Complete 11 steps in the instruction:

https://forum.doozan.com/read.php?3,12381

Hints: Since the instruction was written for all Kirkwood boxes, if it seems too much words, copy the entire instruction to a note pad and highlight the commands that you know you need to execute for GoFlex Home.

> Since this hard drive is not my permanent hard
> drive, how should I format my permanent one? Do I
> still need files on the hard drive to boot?

Yes.

You can copy the entire rootfs and have a backup saved while you are doing that. See the Wiki thread:

Quote
https://forum.doozan.com/read.php?2,23630

Backup and Cloning rootfs

CrashPlan 4.3.0
Backup/Restore rootfs using tar command
Adjust udev rules after cloning rootfs
Stock Pogoplug rootfs
How to clone a rootfs from one Kirkwood box to another: Step 1 and Step 2
How to clone SATA rootfs to USB rootfs

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: GoFlex Home failed install
March 24, 2020 07:15PM
Hey! Thanks for all the help so far! I followed the directions you gave me and have a 2.5" 80G hard drive that boots fine into Debian. I am trying to 'TAR' over the files from that drive to a 3T drive and am having difficulty. I have a couple of questions about the log that is generated.

1. WARNING: Caches not enabled - Is this something to be concerned about? How to enable?
2. Using egiga0 device - Does this mean that it could boot over ethernet? How could I set that up?
3. ping failed; host 192.168.62.121 is not alive - How can I change this IP address? What is it looking for?
4. Unknown command 'mmc' - try 'help' - Why am I getting this error?
5. bad MBR sector signature 0x0000 - I have tried this a few different ways. How do I fix this?
6. Reset IDE: Bus 0: OK Bus 1: not available - What does this mean by Bus not available? Should it be?
7. Wrong Image Format for bootm command - How do I fix this?
8. Lastly, How can I set a fixed IP address for the GoFlex Home unit?

Thanks again!

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.62.121 is not alive
Hit any key to stop autoboot: 10  9  8  7  6  5  4  3  2  1  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST3000VN007-2E4166 Firm: SC60 Ser#: Z731JGQ7
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

Partition Map for IDE device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	256       	5120000   	0781bcb2-01	83 Boot
  2	5120256   	1024000   	0781bcb2-02	82
  3	6144256   	726422272 	0781bcb2-03	05 Extd
bad MBR sector signature 0x0000
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST3000VN007-2E4166 Firm: SC60 Ser#: Z731JGQ7
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
device ide 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
GoFlexHome>
Re: GoFlex Home failed install
March 24, 2020 08:23PM
Here is the printenv if that helps answer some of my questions:

GoFlexHome> printenv
arcNumber=3338
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.62.121
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /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_ready_retry=15

Environment size: 3153/131068 bytes
GoFlexHome>

=======
Modertor edit: please use code tags (i.e. formatted code button) to post log.



Edited 1 time(s). Last edit at 03/24/2020 08:33PM by bodhi.
Re: GoFlex Home failed install
March 24, 2020 08:55PM
1. WARNING: Caches not enabled - Is this something to be concerned about? How to enable?

No worry.

2. Using egiga0 device - Does this mean that it could boot over ethernet? How could I set that up?

Not over the ethernet. It is simply a network status. So you can choose to load the kernel using tftp, or connect with netconsole server.

3. ping failed; host 192.168.62.121 is not alive - How can I change this IP address? What is it looking for?

The ping in the envs setup is trying to find the serverip. It is used in netconsole, or tftp. So apparently you have set 192.168.62.121 to serverip while installing uboot.

serverip=192.168.62.121

You need to set ipaddr to this box IP (choose a static IP that is appropriate for your network). 192.168.0.231 is the default value that I used in the envs (which is not relevant during booting, unless you have setup netconsole).
ipaddr=192.168.0.231


4. Unknown command 'mmc' - try 'help' - Why am I getting this error?

It is in the envs. For box that has SD card. Ignore this error, it is normal. You can turn off MMC later.

5. bad MBR sector signature 0x0000 - I have tried this a few different ways. How do I fix this?

It means you have not create the partition correctly in your USB or HDD. Wipe out the partition table with fdisk, and recreate the partition.

6. Reset IDE: Bus 0: OK Bus 1: not available - What does this mean by Bus not available? Should it be?

Meaning it did not find any HDD attached to bus 1 (SATA port 1). But it did for bus 0 (SATA port 0).

7. Wrong Image Format for bootm command - How do I fix this?

This error is the last thing u-boot tried. Ignore this error. The real error is that you did not prepare the HDD rootfs correctly.

8. Lastly, How can I set a fixed IP address for the GoFlex Home unit?

It is the u-boot env ipaddr. Or later after you have booted into Debian, you can set it inside the rootfs /etc/network/interfaces.

=====

The error in booting HDD rootfs is:

Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available  
  Device 0: Model: ST3000VN007-2E4166 Firm: SC60 Ser#: Z731JGQ7
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
device ide 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **

The log above means you have not prepared the HDD correctly. Note the previous error:

1	256       	5120000   	0781bcb2-01	83 Boot
  2	5120256   	1024000   	0781bcb2-02	82
  3	6144256   	726422272 	0781bcb2-03	05 Extd
bad MBR sector signature 0x0000

So mount this on another Linux box, or boot this box with USB and plug in the HDD.

And then use fdisk to erase all partitions, create 1 partition as the instruction stated in Step 1. Format it with Ext3. Extract the rootfs to it, while being root user.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: