Welcome! Log In Create A New Profile

Advanced

Bricked Goflex Home. Need help

Posted by gigas 
Re: Bricked Goflex Home. Need help
September 06, 2021 10:26PM
Re: Bricked Goflex Home. Need help
September 06, 2021 11:28PM
For kwboot compile for ARM. See my u-boot release thread.

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

Quote

To download ARM kwboot binary for UART booting at Dropbox

kwboot-2016.05.tar
md5:
76977c5a61544a5707dfa17ae832a3ad
sha256:
25ee4fa8a94372d2d398cac4704e9ee3ca87585c29e72e18323209b7f163209d

kwboot (this is an older version)
md5:
0efd011bdb244436e432a8de33e639a1

I don't have a MIPS kwboot, but you can find the binary at Debian site such as:

https://packages.debian.org/bullseye/mipsel/u-boot-tools/download

Quote

Download Page for u-boot-tools_2021.01+dfsg-5_mipsel.deb on MIPS (little-endian) machines


And then extract the kwboot binary from the DEB package "u-boot-tools_2021.01+dfsg-5_mipsel.deb".

They should be static binaries (don't need to install them).

Copy the appropriate kwboot binary to the OpenWrt router (any folder). And execute it:

./kwboot ....

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 07, 2021 05:13AM
bodhi Wrote:
-------------------------------------------------------
> I don't have a MIPS kwboot, but you can find the
> binary at Debian site such as:
>
> https://packages.debian.org/bullseye/mipsel/u-boot-tools/download
>
> And then extract the kwboot binary from the DEB
> package "u-boot-tools_2021.01+dfsg-5_mipsel.deb".
>
> They should be static binaries (don't need to
> install them).
>
> Copy the appropriate kwboot binary to the OpenWrt
> router (any folder). And execute it:


I don't think it will work like that. I'm getting this error with both the mips and mipsel binary from Debian site:
./kwboot: line 1: syntax error: unexpected word (expecting ")")
Re: Bricked Goflex Home. Need help
September 07, 2021 08:57PM
gigas Wrote:
-------------------------------------------------------
> bodhi Wrote:
> -------------------------------------------------------
> > I don't have a MIPS kwboot, but you can find
> the
> > binary at Debian site such as:
> >
> >
> https://packages.debian.org/bullseye/mipsel/u-boot-tools/download
> >
> > And then extract the kwboot binary from the DEB
> > package
> "u-boot-tools_2021.01+dfsg-5_mipsel.deb".
> > n
> > They should be static binaries (don't need to
> > install them).
> >
> > Copy the appropriate kwboot binary to the
> OpenWrt
> > router (any folder). And execute it:
>
>
> I don't think it will work like that. I'm getting
> this error with both the mips and mipsel binary
> from Debian site:
>
> ./kwboot: line 1: syntax error: unexpected word
> (expecting ")")
>

Enter the whole command (fill in ...)?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 07, 2021 11:22PM
Even with the full command, the error still shows. I googled the error and It seems to be a compilation issue.
I believe this is true because if the binary is executable, it will show a help screen like this even without the whole command.
Usage: kwboot [OPTIONS] [-b <image> | -D <ima
ge> ] [-B <baud> ] <TTY>

  -b <image>: boot <image> with preamble (Kir
kwood, Armada 370/XP)
  -p: patch <image> to type 0x69 (uart boot)
  -D <image>: boot <image> without preamble (
Dove)
  -d: enter debug mode
  -a: use timings for Armada XP
  -q <req-delay>:  use specific request-delay
  -s <resp-timeo>: use specific response-time
out
  -o <block-timeo>: use specific xmodem block
 timeout

  -t: mini terminal

  -B <baud>: set baud rate

Re: Bricked Goflex Home. Need help
September 08, 2021 10:03PM
gigas,

Quote

it will show a help screen like this even without the whole command

You would not get that far if the binary is Arch incompatible. In fact, if you run the ARM version on your MIPS router, you would get an error about the binary itself, and it would not execute.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 08, 2021 10:41PM
bodhi Wrote:
-------------------------------------------------------
> gigas,
>
> You would not get that far if the binary is Arch
> incompatible. In fact, if you run the ARM version
> on your MIPS router, you would get an error about
> the binary itself, and it would not execute.

Yes, I couldn't get that far. That help screen was from the ARM version on the GoFLex running your rootfs. On my MIPS router, it would just throw
the same error I mentioned before. Not even a help screen show up
Re: Bricked Goflex Home. Need help
September 08, 2021 11:15PM
> ./kwboot: line 1: syntax error: unexpected word
> (expecting ")")

You would not get this far either, if the binary is Arch incompatible.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 13, 2021 02:16PM
I have successfully compiled kwboot for Android (termux) today. It runs fine on my older Android 5 tablet and the GoFlex was able to boot, but on my Android 11 phone, It gives out :
xmodem not a data message
or
xmodem protocol error

Any ideas how to fix this? I tried repeatedly running it again and again (up-arrow trick) but it did not work.
Re: Bricked Goflex Home. Need help
September 13, 2021 04:28PM
gigas,

I don't have any idea.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 24, 2021 04:08PM
I need help with a new problem. Currently, I'm trying to boot ArchLinuxARM with your uboot following this discussion
https://forum.doozan.com/read.php?3,56939
However, I got kernel panic when trying to boot it. The serial console log is bellow. How can I fix this?
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:  0 MiB
*** Warning - readenv() failed, 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... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	8192      	3862528   	00000000-01	0b

## 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 ...
48 bytes read in 415 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 354 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4661632 bytes read in 728 ms (6.1 MiB/s)
loading uInitrd ...
7071860 bytes read in 936 ms (7.2 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.271-1-ARCH
   Created:      2021-06-06   1:06:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4661568 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-linux.img-2021-07-arch
   Created:      2021-09-24  20:37:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7071796 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0744f000, end 07b0d834 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.271-1-ARCH (builduser@leming) (gcc version 10.2.0 (GCC) ) #1 PREEMPT Sun Jun 6 01:22:10 UTC 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate GoFlex Home
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 112640K/131072K available (6749K kernel code, 549K rwdata, 1876K rodata, 300K init, 720K bss, 18432K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08749d8   (8627 kB)
[    0.000000]       .init : 0xc0875000 - 0xc08c0000   ( 300 kB)
[    0.000000]       .data : 0xc08c0000 - 0xc09494dc   ( 550 kB)
[    0.000000]        .bss : 0xc09494dc - 0xc09fd698   ( 721 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    5.597746] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    5.597934] Console: colour dummy device 80x30
[    5.597963] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    5.687824] pid_max: default: 32768 minimum: 301
[    5.687914] Security Framework initialized
[    5.687988] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    5.688005] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    5.688735] Initializing cgroup subsys io
[    5.688767] Initializing cgroup subsys memory
[    5.688818] Initializing cgroup subsys devices
[    5.688843] Initializing cgroup subsys freezer
[    5.688862] Initializing cgroup subsys net_cls
[    5.688880] Initializing cgroup subsys perf_event
[    5.688902] Initializing cgroup subsys net_prio
[    5.688978] CPU: Testing write buffer coherency: ok
[    5.689451] Setting up static identity map for 0x81e0 - 0x8238
[    5.691390] devtmpfs: initialized
[    5.693619] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    5.693654] futex hash table entries: 256 (order: -1, 3072 bytes)
[    5.694060] pinctrl core: initialized pinctrl subsystem
[    5.694829] NET: Registered protocol family 16
[    5.695270] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    5.717831] cpuidle: using governor ladder
[    5.747827] cpuidle: using governor menu
[    5.747937] Kirkwood: MV88F6281-A1, TCLK=200000000.
[    5.747961] Feroceon L2: Enabling L2
[    5.747995] Feroceon L2: Cache support initialised.
[    5.789188] vgaarb: loaded
[    5.789507] SCSI subsystem initialized
[    5.789964] usbcore: registered new interface driver usbfs
[    5.790036] usbcore: registered new interface driver hub
[    5.790085] usbcore: registered new device driver usb
[    5.790236] pps_core: LinuxPPS API ver. 1 registered
[    5.790245] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.790276] PTP clock support registered
[    5.791230] clocksource: Switched to clocksource orion_clocksource
[    5.830958] FS-Cache: Loaded
[    5.843405] NET: Registered protocol family 2
[    5.844141] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    5.844166] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    5.844185] TCP: Hash tables configured (established 1024 bind 1024)
[    5.844257] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    5.844279] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    5.844476] NET: Registered protocol family 1
[    5.844781] RPC: Registered named UNIX socket transport module.
[    5.844791] RPC: Registered udp transport module.
[    5.844797] RPC: Registered tcp transport module.
[    5.844803] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.845108] Trying to unpack rootfs image as initramfs...
[    6.319250] Freeing initrd memory: 6908K
[    6.333682] VFS: Disk quotas dquot_6.6.0
[    6.333929] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    6.335905] FS-Cache: Netfs 'nfs' registered for caching
[    6.337002] NFS: Registering the id_resolver key type
[    6.337068] Key type id_resolver registered
[    6.337076] Key type id_legacy registered
[    6.337149] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    6.338420] fuse init (API version 7.23)
[    6.340474] aufs 4.4-20170911
[    6.345747] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    6.345767] io scheduler noop registered
[    6.345780] io scheduler deadline registered
[    6.346044] io scheduler cfq registered
[    6.346290] io scheduler bfq registered (default)
[    6.346298] BFQ I/O-scheduler: v7r11
[    6.346501] mv_xor mv_xor.0: Marvell shared XOR driver
[    6.382490] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[    6.382719] mv_xor mv_xor.1: Marvell shared XOR driver
[    6.422445] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[    6.427779] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.428842] console [ttyS0] disabled
[    6.448957] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[    7.012828] console [ttyS0] enabled
[    7.031432] brd: module loaded
[    7.041859] loop: module loaded
[    7.045350] sata_mv sata_mv.0: cannot get optional clkdev
[    7.050843] sata_mv sata_mv.0: slots 32 ports 1
[    7.057070] scsi host0: sata_mv
[    7.060573] ata1: SATA max UDMA/133 irq 21
[    7.065333] nand: second ID read did not match 98,d8 against fd,fd
[    7.071679] nand: No NAND device found
[    7.075452] Unable to handle kernel NULL pointer dereference at virtual address 00000200
[    7.083596] pgd = c0004000
[    7.086316] [00000200] *pgd=00000000
[    7.089913] Internal error: Oops: 805 [#1] PREEMPT ARM
[    7.095070] Modules linked in:
[    7.098144] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.271-1-ARCH #1
[    7.104610] Hardware name: Seagate GoFlex Home
[    7.109067] task: c7090000 ti: c7094000 task.ti: c7094000
[    7.114489] PC is at __clk_put+0x28/0xe0
[    7.118424] LR is at clk_prepare_lock+0xc/0xe4
[    7.122890] pc : [<c056a5f0>]    lr : [<c0566900>]    psr: 20000013
[    7.122890] sp : c7095e20  ip : 00000002  fp : 00000000
[    7.134416] r10: c08754a8  r9 : c71b6350  r8 : c08c7310
[    7.139658] r7 : c78e02a0  r6 : c08c7300  r5 : fffffffa  r4 : c78e02a0
[    7.146215] r3 : 00000100  r2 : 00000200  r1 : 00000100  r0 : 00000001
[    7.152764] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    7.159932] Control: 0005397f  Table: 00004000  DAC: 00000053
[    7.165704] Process swapper (pid: 1, stack limit = 0xc7094190)
[    7.171555] Stack: (0xc7095e20 to 0xc7096000)
[    7.175929] 5e20: c71b6010 fffffffa c08c7300 c08a5c6c c78e2d70 c78e2cd0 00000000 00000000
[    7.184143] 5e40: c7848de0 c08c7320 c08c7320 c0929b10 fffffdfb 00000000 00000007 c041cb78
[    7.192357] 5e60: c08c7320 00000000 c09f3078 c0929b10 00000000 c041b184 c08c7320 c0929b10
[    7.200572] 5e80: c08c7354 c091ee90 00000000 00000007 c08754a8 c041b314 00000000 c0929b10
[    7.208786] 5ea0: c041b290 c04191a4 c70321cc c70b9c90 c0929b10 c7848de0 00000000 c041a778
[    7.217000] 5ec0: c0796148 c7003c40 00000000 c0929b10 00000000 00000001 c0929b10 c041bcec
[    7.225214] 5ee0: c0929afc c78e0220 00000001 c041cd38 c08c5020 c78e0220 c08c5020 c08a5a84
[    7.233429] 5f00: 00000000 c00096ac c09ce44c c70b8780 c70b94e0 00000071 00000000 00000000
[    7.241643] 5f20: 00000000 00000000 c7ffca7d c06a1730 c7ffcab1 c003ca40 00000000 00000000
[    7.249857] 5f40: c07dfb38 000000be 00000006 00000006 c08d2ae0 00000006 000000be c08be510
[    7.258071] 5f60: 000000be c09494e0 c08b2850 c08b2830 00000007 c0875dec 00000006 00000006
[    7.266284] 5f80: 00000000 c08754a8 00000000 c066da94 00000000 00000000 00000000 00000000
[    7.274499] 5fa0: 00000000 c066da9c 00000000 c000a4c8 00000000 00000000 00000000 00000000
[    7.282713] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.290928] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    7.299150] [<c056a5f0>] (__clk_put) from [<c08a5c6c>] (orion_nand_probe+0x1d0/0x1f8)
[    7.307022] [<c08a5c6c>] (orion_nand_probe) from [<c041cb78>] (platform_drv_probe+0x34/0x98)
[    7.315503] [<c041cb78>] (platform_drv_probe) from [<c041b184>] (driver_probe_device+0x1c4/0x2d0)
[    7.324412] [<c041b184>] (driver_probe_device) from [<c041b314>] (__driver_attach+0x84/0x88)
[    7.332888] [<c041b314>] (__driver_attach) from [<c04191a4>] (bus_for_each_dev+0x78/0xa8)
[    7.341103] [<c04191a4>] (bus_for_each_dev) from [<c041a778>] (bus_add_driver+0x178/0x204)
[    7.349404] [<c041a778>] (bus_add_driver) from [<c041bcec>] (driver_register+0x8c/0x10c)
[    7.357532] [<c041bcec>] (driver_register) from [<c041cd38>] (__platform_driver_probe+0x5c/0x114)
[    7.366445] [<c041cd38>] (__platform_driver_probe) from [<c00096ac>] (do_one_initcall+0x84/0x1fc)
[    7.375363] [<c00096ac>] (do_one_initcall) from [<c0875dec>] (kernel_init_freeable+0x174/0x238)
[    7.384107] [<c0875dec>] (kernel_init_freeable) from [<c066da9c>] (kernel_init+0x8/0xe0)
[    7.392239] [<c066da9c>] (kernel_init) from [<c000a4c8>] (ret_from_fork+0x14/0x2c)
[    7.399840] Code: e5943014 e5942018 e3a01c01 e3530000 (e5823000) 
[    7.406025] ---[ end trace 98320a87bf2c8264 ]---
[    7.410678] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    7.410678] 
[    7.419851] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    7.419851] 
Re: Bricked Goflex Home. Need help
September 24, 2021 05:33PM
gigas,

That's because you have no NAND space.

Interrupt u-boot at count down and in addition to the envs you set before

setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $custom_params'

And then

boot

It should boot without error.

===========

In Debian, edit /boot/uEnv.txt again to modify the envs

devices=usb ide
disks=0 1 2 3 4 5 6 7
dtb_file=
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $custom_params

Note that the bootcmd cannot be changed. Only other envs starts with bootcmd_exec, in its calling sequence, can be modified.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 25, 2021 06:20AM
bodhi Wrote:
-------------------------------------------------------
> gigas,
>
> That's because you have no NAND space.
>
> Interrupt u-boot at count down and in addition to
> the envs you set before
>
>
> setenv set_bootargs 'setenv bootargs
> console=ttyS0,115200 root=LABEL=rootfs
> rootdelay=10 $custom_params'
>
>
> And then
>
>
> boot
>
>
> It should boot without error.
>
> ===========
>
> In Debian, edit /boot/uEnv.txt again to modify the
> envs
>
>
> devices=usb ide
> disks=0 1 2 3 4 5 6 7
> dtb_file=
> set_bootargs=setenv bootargs console=ttyS0,115200
> root=LABEL=rootfs rootdelay=10 $custom_params
>
>
> Note that the bootcmd cannot be changed. Only
> other envs starts with bootcmd_exec, in its
> calling sequence, can be modified.

It didn't work. I still get the same kernel panic after editting /boot/uEnv.txt.
Re: Bricked Goflex Home. Need help
September 25, 2021 03:07PM
> I still get the same kernel panic
> after editting /boot/uEnv.txt.

Looks like mtdparts is just one of the possible reasons. Arch kernel is configured differently than Debian kernel.

But as usual, if I don't see the boot log, I cannot be sure.

Try booting with the rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 and post the boot log here.

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



Edited 1 time(s). Last edit at 09/25/2021 03:10PM by bodhi.
Re: Bricked Goflex Home. Need help
September 25, 2021 05:44PM
gigas,

I'll post a new DTB for you to try. But you'll need to run Openwrt/Arch/Debian kernel with FDT capabilty (4.x or newer probably good enough).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 25, 2021 09:23PM
Here is the DTB for you to try.

Copy this to /boot/dts/ if you are booting Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2, otherwise to the appropriate folder for other distros. And then

cd /boot/dts
cp -a kirkwood-goflexhome.dtb kirkwood-goflexhome.dtb.orig
cp -a kirkwood-goflexhome.dtb.nonand kirkwood-goflexhome.dtb

And then kwboot if booting Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2.

For other distro, follow that distro instruction to append the DTB to uImage before kwboot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - kirkwood-goflexhome.dtb.nonand (9.8 KB)
Re: Bricked Goflex Home. Need help
September 26, 2021 11:42AM
Sorry for the late reply. My power was out.

Could you be more specific on how to "append the DTB to uImage before kwboot" on Arch? Here is the steps that I tried.
- Extract the ArchLinuxARM-2021.07-kirkwood-rootfs.tar.gz (the only version available on their website) on a new seperate USB
- Run the following mkimage commands
cd /media/sdc1/boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-linux.img-2021-07-arch  -d initramfs-linux.img uInitrd
sync

- Then I make dts directory and copy kirkwood-goflexhome.dtb.nonand over
mkdir /boot/dts
cd /boot/dts
cp -a kirkwood-goflexhome.dtb.nonand kirkwood-goflexhome.dtb

- Finally, I modified uEnv.txt file as follow
devices=usb ide
disks=0 1 2 3 4 5 6 7
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $custom_params


The result when I boot is the GoFlex stuck on Starting Kernel...
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:  0 MiB
*** Warning - readenv() failed, 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... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	8192      	3862528   	00000000-01	0b

## 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 ...
177 bytes read in 415 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 354 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4661632 bytes read in 729 ms (6.1 MiB/s)
loading uInitrd ...
7071860 bytes read in 937 ms (7.2 MiB/s)
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
10065 bytes read in 646 ms (14.6 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.271-1-ARCH
   Created:      2021-06-06   1:06:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4661568 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-linux.img-2021-07-arch
   Created:      2021-09-24  20:37:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7071796 Bytes = 6.7 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 0744f000, end 07b0d834 ... OK
   Loading Device Tree to 07449000, end 0744e750 ... OK

Starting kernel ...


My current Debian rootfs is still booting fine so I don't want to modify it. I attached the Debian boot log bellow if you need it



Edited 2 time(s). Last edit at 09/26/2021 12:18PM by gigas.
Attachments:
open | download - debianbootlog.txt (19.1 KB)
Re: Bricked Goflex Home. Need help
September 26, 2021 03:42PM
gigas,

Quote

- Extract the ArchLinuxARM-2021.07-kirkwood-rootfs.tar.gz (the only version available on their website) on a new seperate USB
- Run the following mkimage commands
cd /media/sdc1/boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-linux.img-2021-07-arch -d initramfs-linux.img uInitrd
sync

- Then I make dts directory and copy kirkwood-goflexhome.dtb.nonand over
mkdir /boot/dts
cd /boot/dts
cp -a kirkwood-goflexhome.dtb.nonand kirkwood-goflexhome.dtb

- Finally, I modified uEnv.txt file as follow
devices=usb ide
disks=0 1 2 3 4 5 6 7
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $custom_params

The steps above are all correct, if the Arch uImage has no DTB appended to it. ArchLinuxARM-2021.07-kirkwood-rootfs.tar.gz is their latest, so I am quite positive that it has no DTB appended (Arch u-boot is quite up-to-date and been supporting FDT for a long time like mine does).

> My current Debian rootfs is still booting fine so
> I don't want to modify it. I attached the Debian
> boot log bellow if you need it

Of course. Don't modify it, because it is the way it supposed to be running. The kernel should figure out that there is no NAND.

But Arch configures kernel differently, everything is built into the kernel, so I suspect that it tried to probe NAND instead of exit gracefully (hence the kernel panic). Just an educated guess, we need to see the log to see why.

=====

With you current uEnv.txt. kwboot as before, and interrupt u-boot at count down.

setenv custom_params 'earlyprintk=serial'

And then boot.
boot

This time we should be able to see more kernel activities in the early booting phase. Note that this earlyprintk could be added to uEnv.txt, and then you don't have to do it manually.

Please post the boot log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 26, 2021 10:55PM
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:  0 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
GoFlexHome> setenv custom_params 'earlyprintk=serial'
GoFlexHome> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part    Start Sector    Num Sectors     UUID            Type
  1     8192            3862528         00000000-01     0b

## 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 ...
177 bytes read in 416 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 353 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4661632 bytes read in 729 ms (6.1 MiB/s)
loading uInitrd ...
7071860 bytes read in 937 ms (7.2 MiB/s)
loading DTB /boot/dts/kirkwood-goflexhome.dtb ...
10065 bytes read in 646 ms (14.6 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.271-1-ARCH
   Created:      2021-06-06   1:06:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4661568 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-linux.img-2021-07-arch
   Created:      2021-09-24  20:37:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7071796 Bytes = 6.7 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 0744f000, end 07b0d834 ... OK
   Loading Device Tree to 07449000, end 0744e750 ... OK

Starting kernel ...

Re: Bricked Goflex Home. Need help
September 26, 2021 11:04PM
modify uEnv.txt file as follow

devices=usb ide
disks=0 1 2 3 4 5 6 7
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 eralyprintk=serial

kwboot, Interrupt countdown.

run bootcmd_uenv
run set_bootargs
printenv
run bootcmd_exec

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Bricked Goflex Home. Need help
September 26, 2021 11:47PM
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:  0 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
GoFlexHome> run bootcmd_uenv
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part    Start Sector    Num Sectors     UUID            Type
  1     8192            3862528         00000000-01     0b

## 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 ...
183 bytes read in 415 ms (0 Bytes/s)

no IDE devices available
importing envs ...
GoFlexHome> run set_bootargs
GoFlexHome> printenv
arcNumber=3338
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 eralyprintk=serial
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; res                                                                                                                                                             et
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then boo                                                                                                                                                             tm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_a                                                                                                                                                             ddr $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
bootdelay=10
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb ide
disks=0 1 2 3 4 5 6 7
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
fileaddr=810000
filesize=b7
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 $d                                                                                                                                                             tb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /b                                                                                                                                                             oot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /bo                                                                                                                                                             ot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
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 di                                                                                                                                                             sknum 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
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10                                                                                                                                                              eralyprintk=serial
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se                                                                                                                                                             tenv 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";  se                                                                                                                                                             tenv 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=1
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknu                                                                                                                                                             m: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_re                                                                                                                                                             ad;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3097/131068 bytes
GoFlexHome> run bootcmd_exec
loading uImage ...
4661632 bytes read in 729 ms (6.1 MiB/s)
loading uInitrd ...
7071860 bytes read in 951 ms (7.1 MiB/s)
 ...ing DTB /boot/dts/kirkwood-goflexhome.dtb
 **File not found /boot/dts/kirkwood-goflexhome.dtb
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.271-1-ARCH
   Created:      2021-06-06   1:06:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4661568 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-linux.img-2021-07-arch
   Created:      2021-09-24  20:37:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7071796 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0744f000, end 07b0d834 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.271-1-ARCH (builduser@leming) (gcc version 10.2.0 (GCC) ) #1 PREEMPT Sun Jun 6 01:22:10 UTC 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate GoFlex Home
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 eralyprintk=serial
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 112640K/131072K available (6749K kernel code, 549K rwdata, 1876K rodata, 300K init, 720K bss, 18432K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08749d8   (8627 kB)
[    0.000000]       .init : 0xc0875000 - 0xc08c0000   ( 300 kB)
[    0.000000]       .data : 0xc08c0000 - 0xc09494dc   ( 550 kB)
[    0.000000]        .bss : 0xc09494dc - 0xc09fd698   ( 721 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    2.934882] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    2.935071] Console: colour dummy device 80x30
[    2.935100] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    3.024961] pid_max: default: 32768 minimum: 301
[    3.025048] Security Framework initialized
[    3.025123] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    3.025138] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    3.025871] Initializing cgroup subsys io
[    3.025903] Initializing cgroup subsys memory
[    3.025953] Initializing cgroup subsys devices
[    3.025975] Initializing cgroup subsys freezer
[    3.025994] Initializing cgroup subsys net_cls
[    3.026012] Initializing cgroup subsys perf_event
[    3.026033] Initializing cgroup subsys net_prio
[    3.026111] CPU: Testing write buffer coherency: ok
[    3.026583] Setting up static identity map for 0x81e0 - 0x8238
[    3.028527] devtmpfs: initialized
[    3.030756] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    3.030791] futex hash table entries: 256 (order: -1, 3072 bytes)
[    3.031200] pinctrl core: initialized pinctrl subsystem
[    3.031977] NET: Registered protocol family 16
[    3.032417] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    3.054966] cpuidle: using governor ladder
[    3.084965] cpuidle: using governor menu
[    3.085072] Kirkwood: MV88F6281-A1, TCLK=200000000.
[    3.085097] Feroceon L2: Enabling L2
[    3.085131] Feroceon L2: Cache support initialised.
[    3.126323] vgaarb: loaded
[    3.126642] SCSI subsystem initialized
[    3.127104] usbcore: registered new interface driver usbfs
[    3.127176] usbcore: registered new interface driver hub
[    3.127226] usbcore: registered new device driver usb
[    3.127378] pps_core: LinuxPPS API ver. 1 registered
[    3.127386] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.127417] PTP clock support registered
[    3.128370] clocksource: Switched to clocksource orion_clocksource
[    3.168094] FS-Cache: Loaded
[    3.180552] NET: Registered protocol family 2
[    3.181293] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    3.181318] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    3.181337] TCP: Hash tables configured (established 1024 bind 1024)
[    3.181408] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    3.181430] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    3.181625] NET: Registered protocol family 1
[    3.181929] RPC: Registered named UNIX socket transport module.
[    3.181939] RPC: Registered udp transport module.
[    3.181945] RPC: Registered tcp transport module.
[    3.181952] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.182256] Trying to unpack rootfs image as initramfs...
[    3.656468] Freeing initrd memory: 6908K
[    3.670901] VFS: Disk quotas dquot_6.6.0
[    3.671151] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.673122] FS-Cache: Netfs 'nfs' registered for caching
[    3.674220] NFS: Registering the id_resolver key type
[    3.674277] Key type id_resolver registered
[    3.674284] Key type id_legacy registered
[    3.674357] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    3.675627] fuse init (API version 7.23)
[    3.677685] aufs 4.4-20170911
[    3.682959] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    3.682980] io scheduler noop registered
[    3.682993] io scheduler deadline registered
[    3.683256] io scheduler cfq registered
[    3.683504] io scheduler bfq registered (default)
[    3.683511] BFQ I/O-scheduler: v7r11
[    3.683714] mv_xor mv_xor.0: Marvell shared XOR driver
[    3.719629] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[    3.719858] mv_xor mv_xor.1: Marvell shared XOR driver
[    3.759583] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[    3.764918] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.765983] console [ttyS0] disabled
[    3.786100] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[    4.346205] console [ttyS0] enabled
[    4.364738] brd: module loaded
[    4.375168] loop: module loaded
[    4.378743] sata_mv sata_mv.0: cannot get optional clkdev
[    4.384229] sata_mv sata_mv.0: slots 32 ports 1
[    4.390424] scsi host0: sata_mv
[    4.393921] ata1: SATA max UDMA/133 irq 21
[    4.398794] nand: second ID read did not match 98,d8 against 00,00
[    4.405000] nand: No NAND device found
[    4.408809] Unable to handle kernel NULL pointer dereference at virtual address 00000200
[    4.416929] pgd = c0004000
[    4.419655] [00000200] *pgd=00000000
[    4.423257] Internal error: Oops: 805 [#1] PREEMPT ARM
[    4.428414] Modules linked in:
[    4.431487] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.271-1-ARCH #1
[    4.437953] Hardware name: Seagate GoFlex Home
[    4.442410] task: c7090000 ti: c7094000 task.ti: c7094000
[    4.447831] PC is at __clk_put+0x28/0xe0
[    4.451767] LR is at clk_prepare_lock+0xc/0xe4
[    4.456233] pc : [<c056a5f0>]    lr : [<c0566900>]    psr: 20000013
[    4.456233] sp : c7095e20  ip : c78e6040  fp : 00000000
[    4.467758] r10: c08754a8  r9 : c71b6350  r8 : c08c7310
[    4.472999] r7 : c78e0280  r6 : c08c7300  r5 : fffffffa  r4 : c78e0280
[    4.479548] r3 : 00000100  r2 : 00000200  r1 : 00000100  r0 : 00000001
[    4.486097] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    4.493265] Control: 0005397f  Table: 00004000  DAC: 00000053
[    4.499037] Process swapper (pid: 1, stack limit = 0xc7094190)
[    4.504889] Stack: (0xc7095e20 to 0xc7096000)
[    4.509263] 5e20: c71b6010 fffffffa c08c7300 c08a5c6c c78e2d70 c78e2cd0 00000000 00000000
[    4.517477] 5e40: c7848de0 c08c7320 c08c7320 c0929b10 fffffdfb 00000000 00000007 c041cb78
[    4.525690] 5e60: c08c7320 00000000 c09f3078 c0929b10 00000000 c041b184 c08c7320 c0929b10
[    4.533904] 5e80: c08c7354 c091ee90 00000000 00000007 c08754a8 c041b314 00000000 c0929b10
[    4.542120] 5ea0: c041b290 c04191a4 c70321cc c70b9c90 c0929b10 c7848de0 00000000 c041a778
[    4.550334] 5ec0: c0796148 c7003c40 00000000 c0929b10 00000000 00000001 c0929b10 c041bcec
[    4.558548] 5ee0: c0929afc c78e0200 00000001 c041cd38 c08c5020 c78e0200 c08c5020 c08a5a84
[    4.566762] 5f00: 00000000 c00096ac c09ce44c c70b8780 c70b94e0 00000071 00000000 00000000
[    4.574976] 5f20: 00000000 00000000 c7ffcac0 c06a1730 c7ffcac6 c003ca40 00000000 00000000
[    4.583190] 5f40: c07dfb38 000000be 00000006 00000006 c08d2ae0 00000006 000000be c08be510
[    4.591405] 5f60: 000000be c09494e0 c08b2850 c08b2830 00000007 c0875dec 00000006 00000006
[    4.599619] 5f80: 00000000 c08754a8 00000000 c066da94 00000000 00000000 00000000 00000000
[    4.607832] 5fa0: 00000000 c066da9c 00000000 c000a4c8 00000000 00000000 00000000 00000000
[    4.616047] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    4.624260] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    4.632484] [<c056a5f0>] (__clk_put) from [<c08a5c6c>] (orion_nand_probe+0x1d0/0x1f8)
[    4.640356] [<c08a5c6c>] (orion_nand_probe) from [<c041cb78>] (platform_drv_probe+0x34/0x98)
[    4.648836] [<c041cb78>] (platform_drv_probe) from [<c041b184>] (driver_probe_device+0x1c4/0x2d0)
[    4.657747] [<c041b184>] (driver_probe_device) from [<c041b314>] (__driver_attach+0x84/0x88)
[    4.666222] [<c041b314>] (__driver_attach) from [<c04191a4>] (bus_for_each_dev+0x78/0xa8)
[    4.674436] [<c04191a4>] (bus_for_each_dev) from [<c041a778>] (bus_add_driver+0x178/0x204)
[    4.682737] [<c041a778>] (bus_add_driver) from [<c041bcec>] (driver_register+0x8c/0x10c)
[    4.690865] [<c041bcec>] (driver_register) from [<c041cd38>] (__platform_driver_probe+0x5c/0x114)
[    4.699779] [<c041cd38>] (__platform_driver_probe) from [<c00096ac>] (do_one_initcall+0x84/0x1fc)
[    4.708695] [<c00096ac>] (do_one_initcall) from [<c0875dec>] (kernel_init_freeable+0x174/0x238)
[    4.717441] [<c0875dec>] (kernel_init_freeable) from [<c066da9c>] (kernel_init+0x8/0xe0)
[    4.725572] [<c066da9c>] (kernel_init) from [<c000a4c8>] (ret_from_fork+0x14/0x2c)
[    4.733174] Code: e5943014 e5942018 e3a01c01 e3530000 (e5823000)
[    4.739357] ---[ end trace cdbeafe359b5afe0 ]---
[    4.744012] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    4.744012]
[    4.753185] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    4.753185]

Re: Bricked Goflex Home. Need help
September 27, 2021 12:24AM
First, I had a typo above

set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 eralyprintk=serial

should be
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial

But it was not relevant, you were still able to boot the Arch kernel.

The bad new is this Arch kernel is not usable for your purpose. There is no NAND define in the DTS, but the device is still probed by the kernel bootup code.

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

Your Email:


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: