Welcome! Log In Create A New Profile

Advanced

HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /

Posted by maxtox 
HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
December 19, 2016 07:23AM
Hello Guys,

tryed to install debian on my pogo e02 2 days ago and now since then it is briked !!!

tried to read EVERYTHING on this forum to unbrik my pogo e02.

but everythig failed:
1. flashing over tftp of ce_kernel_redstone_v63.img etc.. just took me, that my pogplug shows

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0

i can't get reed of that :-(

2. now it does not start kernel :-(, and shows:

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Unknown command 'nd' - try 'help'
## Booting kernel from Legacy Image at 00800000 ...
Bad Header Checksum
ERROR: can't get kernel image!
u-boot>>

printenv shows:
arcNumber=3542
baudrate=115200
bootargs=$(console) $(bootargs_root)
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nd read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
bootdelay=3
console=console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:04:8B:0A
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ipaddr=192.168.111.123
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
serverip=192.168.111.40
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2450/131068 bytes

can you please give me directions how to DEBRICK e02 over Serial with help of USB /Tftp/ etc..

Thank you in advance!



Edited 2 time(s). Last edit at 12/19/2016 07:43AM by maxtox.
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
December 19, 2016 01:13PM
maxtox,

I'll help you sometime today. You have serial console so it is definitely not bricked :) be patient, don't try anything until I post.

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



Edited 1 time(s). Last edit at 12/19/2016 01:14PM by bodhi.
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
December 19, 2016 06:41PM
In the mean time, look at this:
http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
December 19, 2016 11:37PM
maxtox ,

Do you still need help?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 11, 2022 08:48PM
bodhi Wrote:
-------------------------------------------------------
> maxtox,
>
> I'll help you sometime today. You have serial
> console so it is definitely not bricked :) be
> patient, don't try anything until I post.

Bodhi,

Can you recommend any USB adapter from Amazon to unbrick Pogoplug E02?

Thanks



Edited 1 time(s). Last edit at 06/11/2022 09:36PM by happydiy.
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 11, 2022 10:18PM
happydiy,

> Can you recommend any USB adapter from Amazon to
> unbrick Pogoplug E02?

For Pogo E02, you don't need any adapter, just use a Sandisk brand, USB 2.0 thumb drive.

If you meant a USB hub, then it's depending on which USB drive you will plug in the hub. If you have a USB 3.0 thumb drive and to want use it with the Pogo E02, it's best to use a USB 3.0 hub (it will negotiate the speed down to the USB 2.0 ports on the Pogo E02).

Sometime it will work to use a USB 3.0 thumb drive and plug it in directly to the port. But since the Pogo E02 hardware is too old, it might not.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 11, 2022 10:40PM
I guess he/she wants an usb-ttl adapter to get serial console?
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 11, 2022 11:47PM
> I guess he/she wants an usb-ttl adapter to get
> serial console?

Ah :) in that case, any CP2102 adapter would work. Like this one,

https://www.amazon.com/HiLetgo-CP2102-Converter-Adapter-Downloader/dp/B00LODGRV8

But really, you'd need to try them. It's low cost (~6 USD and fast shipping). Waiting for one coming from China costs 2-3 USD would take 2-3 weeks.

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



Edited 1 time(s). Last edit at 06/11/2022 11:51PM by bodhi.
I am also bricked my pogoplug E02 after trying to install debian..
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   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... 0 Storage Device(s) found
Unknown command 'ide' - try 'help'
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 **
Unknown command 'ide' - try 'help'
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
Unknown command 'ide' - try 'help'
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 **
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-pogo_e02.dtb ...
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

printenv shows.
PogoE02> printenv
arcNumber=2097
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=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
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.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
machid=0x831
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 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.0.220
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: 3129/131068 bytes

Please help!
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 17, 2022 04:58PM
ddl2000 ,

> I am also bricked my pogoplug E02 after trying to
> install debian..

It is very far from bricked!

> U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18
> -0700)
> Pogo E02
>
> SoC: Kirkwood 88F6281_A0
> DRAM: 256 MiB
> WARNING: Caches not enabled
> NAND: 128 MiB
> In: serial
> Out: serial
> Err: serial
> Net: egiga0
> Hit any key to stop autoboot: 0

You are in good shape when you got to this point.


> starting USB...
> USB0: USB EHCI 1.00
> scanning bus 0 for devices... 2 USB Device(s)
> found
> scanning usb for storage devices... 0
> Storage Device(s) found

But the USB rootfs was not recognized by u-boot. So redo the USB rootfs as described in the rootfs installation thread.

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

Make sure you use Ext3 partition, and use command line to format it. If it was done using GUI on another Linux box, you need to doublecheck the partition format.

Also try using another USB drive (Sandisk brand is best for booting).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 17, 2022 05:03PM
Ext4 partition is OK too. But care must be taken to avoid lazy init issue.

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

Thank you for quick response. I am not clear how to do usbfs. I don't have linux machine. only mac and windowspc. so I cannot follow the steps like apt-get and dpkg command. any more instruction on how to do it on nonlinux machine?

Thank you very much.
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 17, 2022 05:58PM
ddl2000 Wrote:
-------------------------------------------------------
> Hi, bodhi,
>
> Thank you for quick response. I am not clear how
> to do usbfs. I don't have linux machine. only mac
> and windowspc. so I cannot follow the steps like
> apt-get and dpkg command. any more instruction on
> how to do it on nonlinux machine?
>
> Thank you very much.

You don't need to do any apt-get or dpkg while creating rootfs. This is the section for rootfs creation:

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

Quote

Updated 26 Sept 2021:

Basic Debian bullseye Kirkwood rootfs for most Kirwood plugs:

- tarball size: 234M
- install size: 668M
- The init system used in this rootfs is sysvinit . To boot with systemd, see Notes 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 examples in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

You can create the USB rootfs using a Linux Live CD or USB. Or using the Linux installation USB (see Linux Mint site, for how to download the image).

And from there, you must gain root to be able to untar the rootfs tarball correctly.

========


Mac OS could do the same thing as Linux, but you'll need to install the command tools to format an Ext3 partition, IIRC.

You can run also run cywin on Windows to get a Linux command line and access tar, fdisk, mkfs.ext3 commands.

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



Edited 2 time(s). Last edit at 06/17/2022 07:19PM by bodhi.
Hi, bodhi,

I am confused. are you saying I should create bootable usb rootfs from linux first. boot into linux root and run your installation steps in

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

Where can I find detail instruction on how to create usb roofs from the start. I googled and found too many sites, not sure which one is good to use. Your suggestion please....
Hi, bodhi,

I followed this instruction https://linuxmint-installation-guide.readthedocs.io/en/latest/burn.html to create a bootable linux mint usb drive. what should I do next?
Hi, bodhi,

I followed your instruction at Updated 26 Sept 2021 for rootfs creation. and created a usb boot drive.

now I am getting the boot message from pogoplug E02. anything I did wrong?

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            31264768        d238bbfe-01     83

## 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 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 569 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5713026 bytes read in 832 ms (6.5 MiB/s)
loading uInitrd ...
** File not found /boot/uInitrd **
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10114 bytes read in 2060 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.17.4-kirkwood-tld-1
   Created:      2022-06-20  23:38:28 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5712962 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Device Tree to 0fb0a000, end 0fb0f781 ... OK
Using machid 0x831 from environment

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.17.4-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1.0 PREEMPT Mon Apr 25 19:49:57 PDT 2022
[    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: CloudEngines Pogoplug E02
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 239412K/262144K available (11264K kernel code, 1628K rwdata, 5012K rodata, 1024K init, 304K bss, 22732K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x3f4/0x794 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of 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.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008609][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.016111][    T0] Console: colour dummy device 80x30
[    0.021384][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032727][    T0] pid_max: default: 32768 minimum: 301
[    0.038449][    T0] LSM: Security Framework initializing
[    0.044094][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.052216][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.062074][    T0] CPU: Testing write buffer coherency: ok
[    0.069857][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.077838][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.084998][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.092249][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.099531][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.105706][    T1] rcu: Hierarchical SRCU implementation.
[    0.112726][    T1] devtmpfs: initialized
[    0.122434][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.133138][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.178121][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.185352][    T1] prandom: seed boundary self test passed
[    0.195254][    T1] prandom: 100 self tests passed
[    0.200114][    T1] pinctrl core: initialized pinctrl subsystem
[    0.207761][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.215301][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.224164][    T1] audit: initializing netlink subsys (disabled)
[    0.231895][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.232280][   T16] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.247682][    T1] cpuidle: using governor ladder
[    0.252649][    T1] cpuidle: using governor menu
[    0.257808][    T1] Feroceon L2: Enabling L2
[    0.262207][    T1] Feroceon L2: Cache support initialised.
[    0.276778][    T1] No ATAGs?
[    0.458694][    T1] raid6: int32x8  gen()   107 MB/s
[    0.628870][    T1] raid6: int32x4  gen()    95 MB/s
[    0.798755][    T1] raid6: int32x2  gen()   138 MB/s
[    0.968747][    T1] raid6: int32x1  gen()    99 MB/s
[    0.973745][    T1] raid6: using algorithm int32x2 gen() 138 MB/s
[    1.148652][    T1] raid6: .... xor() 83 MB/s, rmw enabled
[    1.154170][    T1] raid6: using intx1 recovery algorithm
[    1.159914][    T1] vgaarb: loaded
[    1.163918][    T1] SCSI subsystem initialized
[    1.168997][    T1] usbcore: registered new interface driver usbfs
[    1.175272][    T1] usbcore: registered new interface driver hub
[    1.181402][    T1] usbcore: registered new device driver usb
[    1.187408][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.193117][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.203033][    T1] PTP clock support registered
[    1.209686][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.311649][    T1] VFS: Disk quotas dquot_6.6.0
[    1.316387][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.359434][    T1] NET: Registered PF_INET protocol family
[    1.369907][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.390205][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.399343][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.429777][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.437593][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    1.459982][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.468014][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.489730][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.497684][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.520394][    T1] RPC: Registered named UNIX socket transport module.
[    1.527056][    T1] RPC: Registered udp transport module.
[    1.539708][    T1] RPC: Registered tcp transport module.
[    1.545141][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.569711][    T1] PCI: CLS 0 bytes, default 32
[    1.574672][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.549697][    C0] random: fast init done
[    3.178424][    T1] Initialise system trusted keyrings
[    3.183718][    T1] Key type blacklist registered
[    3.188713][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    3.196086][    T1] zbud: loaded
[    3.201184][    T1] NFS: Registering the id_resolver key type
[    3.206990][    T1] Key type id_resolver registered
[    3.211965][    T1] Key type id_legacy registered
[    3.216734][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.224200][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.232350][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.239763][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.248026][    T1] fuse: init (API version 7.36)
[    3.253190][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.260637][    T1] orangefs_init: module version upstream loaded
[    3.266766][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.378667][    T1] xor: measuring software checksum speed
[    3.393086][    T1]    arm4regs        :  1113 MB/sec
[    3.412926][    T1]    8regs           :   667 MB/sec
[    3.428146][    T1]    32regs          :   971 MB/sec
[    3.433247][    T1] xor: using function: arm4regs (1113 MB/sec)
[    3.439210][    T1] async_tx: api initialized (async)
[    3.444313][    T1] Key type asymmetric registered
[    3.449127][    T1] Asymmetric key parser 'x509' registered
[    3.463159][    T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    3.469936][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.478201][    T1] io scheduler bfq registered
[    3.676707][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.687307][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.750785][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.761471][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.830797][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.841756][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.850340][    T1] printk: console [ttyS0] disabled
[    3.855420][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    3.865296][    T1] printk: console [ttyS0] enabled
[    3.865296][    T1] printk: console [ttyS0] enabled
[    3.875151][    T1] printk: bootconsole [earlycon0] disabled
[    3.875151][    T1] printk: bootconsole [earlycon0] disabled
[    3.895419][    T1] loop: module loaded
[    3.900661][    T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    3.910114][    T1] ONFI parameter recovery failed, aborting
[    3.915814][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    3.922922][    T1] nand: Hynix NAND 128MiB 3,3V 8-bit
[    3.928090][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.936450][    T1] Scanning device for bad blocks
[    4.050284][    T1] 4 fixed-partitions partitions found on MTD device orion_nand
[    4.057723][    T1] Creating 4 MTD partitions on "orion_nand":
[    4.063607][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    4.069958][    T1] 0x000000100000-0x000000600000 : "uImage"
[    4.076181][    T1] 0x000000500000-0x000002a00000 : "pogoplug"
[    4.082769][    T1] 0x000002500000-0x000009100000 : "root"
[    4.088294][    T1] mtd: partition "root" extends beyond the end of device "orion_nand" -- size truncated to 0x5b00000
[    4.100635][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.109215][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.124188][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.890764][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    4.900431][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.907724][    T1] ehci-pci: EHCI PCI platform driver
[    4.912982][    T1] ehci-orion: EHCI orion driver
[    4.917934][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.924214][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.932819][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    4.959728][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.966779][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    4.975827][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.983808][    T1] usb usb1: Product: EHCI Host Controller
[    4.989412][    T1] usb usb1: Manufacturer: Linux 5.17.4-kirkwood-tld-1 ehci_hcd
[    4.996877][    T1] usb usb1: SerialNumber: f1050000.ehci
[    5.003081][    T1] hub 1-0:1.0: USB hub found
[    5.007603][    T1] hub 1-0:1.0: 1 port detected
[    5.013134][    T1] usbcore: registered new interface driver usb-storage
[    5.020382][    T1] mousedev: PS/2 mouse device common for all mice
[    5.299722][   T45] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.501452][   T45] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.64
[    5.510417][   T45] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.518321][   T45] usb 1-1: Product: USB2.0 Hub
[    5.523912][   T45] hub 1-1:1.0: USB hub found
[    5.528703][   T45] hub 1-1:1.0: 4 ports detected
[    5.849712][   T45] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    6.000700][   T45] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.03
[    6.009843][   T45] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.017912][   T45] usb 1-1.3: Product: Cruzer
[    6.022411][   T45] usb 1-1.3: Manufacturer: SanDisk
[    6.027406][   T45] usb 1-1.3: SerialNumber: 2006057262115C72CBCF
[    6.034420][   T45] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    6.042076][   T45] scsi host0: usb-storage 1-1.3:1.0
[    6.089730][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[    6.096050][    T1] i2c_dev: i2c /dev entries driver
[    6.101875][    T1] device-mapper: uevent: version 1.0.3
[    6.107521][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    6.117219][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.124556][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.131939][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.139364][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.146214][    T1] device-mapper: raid: Loading target version 1.15.1
[    6.154258][    T1] hid: raw HID events driver (C) Jiri Kosina
[    6.160528][    T1] drop_monitor: Initializing network drop monitor service
[    6.168048][    T1] NET: Registered PF_INET6 protocol family
[    6.175292][    T1] Segment Routing with IPv6
[    6.179773][    T1] RPL Segment Routing with IPv6
[    6.184546][    T1] In-situ OAM (IOAM) with IPv6
[    6.189283][    T1] NET: Registered PF_PACKET protocol family
[    6.195324][    T1] Key type dns_resolver registered
[    6.201019][    T1] registered taskstats version 1
[    6.205849][    T1] Loading compiled-in X.509 certificates
[    6.212549][    T1] zswap: loaded using pool lzo/zbud
[    6.218215][    T1] Key type ._fscrypt registered
[    6.223048][    T1] Key type .fscrypt registered
[    6.227695][    T1] Key type fscrypt-provisioning registered
[    6.238923][    T1] Key type big_key registered
[    6.248234][    T1] Key type encrypted registered
[    6.315851][  T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher
[    7.050934][    T8] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer           1.14 PQ: 0 ANSI: 2
[    7.071749][   T33] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.090741][   T33] sd 0:0:0:0: [sda] Write Protect is off
[    7.109752][   T33] sd 0:0:0:0: [sda] No Caching mode page found
[    7.115807][   T33] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    7.135622][   T33]  sda: sda1
[    7.152618][   T33] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   11.253061][    T1] Waiting 10 sec before mounting root device...
[   21.609717][    T1] md: Waiting for all devices to be available before autodetect
[   21.617248][    T1] md: If you don't use raid, use raid=noautodetect
[   21.623655][    T1] md: Autodetecting RAID arrays.
[   21.628469][    T1] md: autorun ...
[   21.631995][    T1] md: ... autorun DONE.
[   21.642404][    T1] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   21.650108][    T1] EXT4-fs (sda1): write access will be enabled during recovery
[   21.699872][    T1] EXT4-fs (sda1): recovery complete
[   21.708485][    T1] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
[   21.717457][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[   21.726054][    T1] devtmpfs: error mounting -2
[   21.733772][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   21.741235][    T1] Checked W+X mappings: passed, no W+X pages found
[   21.747671][    T1] Run /sbin/init as init process
[   21.752809][    T1] Run /etc/init as init process
[   21.757757][    T1] Run /bin/init as init process
[   21.762791][    T1] Run /bin/sh as init process
[   21.767561][    T1] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[   21.782502][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.17.4-kirkwood-tld-1 #1.0 d8f3c88f75839a3134daf2282eb2bcf75571fe2e
[   21.794044][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   21.801049][    T1]  unwind_backtrace from show_stack+0x10/0x14
[   21.807022][    T1]  show_stack from panic+0xec/0x30c
[   21.812124][    T1]  panic from kernel_init+0xf4/0x130
[   21.817303][    T1]  kernel_init from ret_from_fork+0x14/0x2c
[   21.823092][    T1] Exception stack(0x81ca5fb0 to 0x81ca5ff8)
[   21.828868][    T1] 5fa0:                                     00000000 00000000 00000000 00000000
[   21.837791][    T1] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   21.846710][    T1] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   21.854067][    T1] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 20, 2022 09:58PM
ddl2000,

> I followed your instruction at Updated 26 Sept
> 2021 for rootfs creation. and created a usb boot
> drive.
>
> now I am getting the boot message from pogoplug
> E02. anything I did wrong?
>
> ** File not found /boot/uInitrd **

This error indicates that the rootfs was not created correctly.

> Image Name: Linux-5.17.4-kirkwood-tld-1
> Created: 2022-06-20 23:38:28 UTC
> Image Type: ARM Linux Kernel Image

So you tried to use (or upgrade the kernel), which is not necessary. The rootfs instruction said:

Quote

Note: If this is your first time installation, then you only need rootfs Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-5.13.6-kirkwood-tld-1 already installed). Please scroll down to 26 Sept 2021 section for download link and installation instruction.

It means the rootfs should be used as is. There is no need to do anything further, it will boot into kernel 5.13.6-kirkwood-tld-1.

And later, after booting successfully, you can proceed to upgrade the kernel to the latest, which is linux-5.17.4-kirkwood-tld-1 (27 Apr 2022).

And another error is that you did Step 4 in the instruction. It should be done for stock u-boot only. You have installed the latest u-boot (U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700) Pogo E02).

Quote

4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).

So the rootfs is done after Step 3. You can worry about the Notes below the instruction after you have booted successfully.

Please do that, and then try booting and post the serial boot log here!

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

Thank you for your help. Here is the result after fixing the usb boot drive.
Is this a successful boot to debian? what should I do next?

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            31264768        d238bbfe-01     83

## 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 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 1168 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 1434 ms (3.6 MiB/s)
loading uInitrd ...
9671091 bytes read in 1421 ms (6.5 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10114 bytes read in 4229 ms (2 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 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 0f1d6000, end 0fb0f173 ... OK
   Loading Device Tree to 0f1d0000, end 0f1d5781 ... OK
Using machid 0x831 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    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: CloudEngines Pogoplug E02
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    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: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 231060K/262144K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 31084K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of 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.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000061][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000934][    T0] Console: colour dummy device 80x30
[    0.001012][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001055][    T0] pid_max: default: 32768 minimum: 301
[    0.001468][    T0] LSM: Security Framework initializing
[    0.001651][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001698][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003164][    T0] CPU: Testing write buffer coherency: ok
[    0.005632][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005939][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.006292][    T1] rcu: Hierarchical SRCU implementation.
[    0.007734][    T1] devtmpfs: initialized
[    0.013425][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013481][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.050992][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.051037][    T1] prandom: seed boundary self test passed
[    0.055245][    T1] prandom: 100 self tests passed
[    0.055265][    T1] pinctrl core: initialized pinctrl subsystem
[    0.056920][    T1] NET: Registered protocol family 16
[    0.057778][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058771][    T1] audit: initializing netlink subsys (disabled)
[    0.060303][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.060675][   T16] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.060840][    T1] cpuidle: using governor ladder
[    0.060938][    T1] cpuidle: using governor menu
[    0.061454][    T1] Feroceon L2: Enabling L2
[    0.061509][    T1] Feroceon L2: Cache support initialised.
[    0.069912][    T1] No ATAGs?
[    2.560068][    C0] random: fast init done
[    4.957340][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    4.983984][   T59] wait_for_initramfs() called before rootfs_initcalls
[    5.180289][    T1] raid6: int32x8  gen()   108 MB/s
[    5.350347][    T1] raid6: int32x8  xor()    68 MB/s
[    5.520168][    T1] raid6: int32x4  gen()   109 MB/s
[    5.690218][    T1] raid6: int32x4  xor()    71 MB/s
[    5.860098][    T1] raid6: int32x2  gen()   142 MB/s
[    6.030120][    T1] raid6: int32x2  xor()    85 MB/s
[    6.200103][    T1] raid6: int32x1  gen()    98 MB/s
[    6.370192][    T1] raid6: int32x1  xor()    59 MB/s
[    6.370210][    T1] raid6: using algorithm int32x2 gen() 142 MB/s
[    6.370224][    T1] raid6: .... xor() 85 MB/s, rmw enabled
[    6.370237][    T1] raid6: using intx1 recovery algorithm
[    6.370536][    T1] vgaarb: loaded
[    6.371127][    T1] SCSI subsystem initialized
[    6.371686][    T1] usbcore: registered new interface driver usbfs
[    6.371763][    T1] usbcore: registered new interface driver hub
[    6.371824][    T1] usbcore: registered new device driver usb
[    6.372040][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.372058][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.372094][    T1] PTP clock support registered
[    6.374016][    T1] clocksource: Switched to clocksource orion_clocksource
[    6.474734][    T1] VFS: Disk quotas dquot_6.6.0
[    6.474849][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    6.493924][    T1] NET: Registered protocol family 2
[    6.494169][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    6.504123][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    6.504181][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.504232][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.504273][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    6.504536][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.504623][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    6.504664][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    6.504932][    T1] NET: Registered protocol family 1
[    6.505712][    T1] RPC: Registered named UNIX socket transport module.
[    6.505736][    T1] RPC: Registered udp transport module.
[    6.505749][    T1] RPC: Registered tcp transport module.
[    6.505761][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.505780][    T1] PCI: CLS 0 bytes, default 32
[    6.505962][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.506587][   T58] Trying to unpack rootfs image as initramfs...
[    8.252364][   T58] Freeing initrd memory: 9448K
[    8.874990][    T1] Initialise system trusted keyrings
[    8.875068][    T1] Key type blacklist registered
[    8.875343][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    8.875473][    T1] zbud: loaded
[    8.877015][    T1] NFS: Registering the id_resolver key type
[    8.877058][    T1] Key type id_resolver registered
[    8.877074][    T1] Key type id_legacy registered
[    8.877120][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    8.877147][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    8.877164][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    8.877446][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    8.877993][    T1] fuse: init (API version 7.34)
[    8.878420][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    8.878648][    T1] orangefs_init: module version upstream loaded
[    8.878668][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    8.980734][    T1] xor: measuring software checksum speed
[    8.989802][    T1]    arm4regs        :  1101 MB/sec
[    9.004638][    T1]    8regs           :   667 MB/sec
[    9.014834][    T1]    32regs          :   971 MB/sec
[    9.014853][    T1] xor: using function: arm4regs (1101 MB/sec)
[    9.014876][    T1] async_tx: api initialized (async)
[    9.014898][    T1] Key type asymmetric registered
[    9.014912][    T1] Asymmetric key parser 'x509' registered
[    9.014978][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.015060][    T1] io scheduler bfq registered
[    9.214846][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.217110][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.275142][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.277804][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.335135][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.338051][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.339467][    T1] printk: console [ttyS0] disabled
[    9.339569][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[   10.190334][    T1] printk: console [ttyS0] enabled
[   10.204420][    T1] loop: module loaded
[   10.209596][    T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[   10.219053][    T1] ONFI parameter recovery failed, aborting
[   10.224769][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   10.231856][    T1] nand: Hynix NAND 128MiB 3,3V 8-bit
[   10.237037][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.245670][    T1] Scanning device for bad blocks
[   10.370431][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[   10.377457][    T1] Creating 4 MTD partitions on "orion_nand":
[   10.383326][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.390585][    T1] 0x000000100000-0x000000500000 : "uImage"
[   10.397806][    T1] 0x000000500000-0x000002500000 : "rootfs"
[   10.405148][    T1] 0x000002500000-0x000008000000 : "data"
[   10.413044][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.421666][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.433237][    T1] libphy: Fixed MDIO Bus: probed
[   10.439648][    T1] libphy: orion_mdio_bus: probed
[   10.461325][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.225077][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   11.234723][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.242021][    T1] ehci-pci: EHCI PCI platform driver
[   11.247274][    T1] ehci-orion: EHCI orion driver
[   11.252219][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.258498][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.267107][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   11.294056][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.301118][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[   11.310200][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.318191][    T1] usb usb1: Product: EHCI Host Controller
[   11.323794][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[   11.331251][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.337436][    T1] hub 1-0:1.0: USB hub found
[   11.341960][    T1] hub 1-0:1.0: 1 port detected
[   11.347502][    T1] usbcore: registered new interface driver usb-storage
[   11.354719][    T1] mousedev: PS/2 mouse device common for all mice
[   11.634050][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.835742][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.64
[   11.844704][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   11.852607][   T17] usb 1-1: Product: USB2.0 Hub
[   11.858221][   T17] hub 1-1:1.0: USB hub found
[   11.862996][   T17] hub 1-1:1.0: 4 ports detected
[   12.184042][   T17] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[   12.334991][   T17] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.03
[   12.344122][   T17] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.352200][   T17] usb 1-1.3: Product: Cruzer
[   12.356697][   T17] usb 1-1.3: Manufacturer: SanDisk
[   12.361691][   T17] usb 1-1.3: SerialNumber: 2006057262115C72CBCF
[   12.368698][   T17] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   12.376338][   T17] scsi host0: usb-storage 1-1.3:1.0
[   12.404052][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   12.410368][    T1] i2c /dev entries driver
[   12.415271][    T1] device-mapper: uevent: version 1.0.3
[   12.420919][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[   12.430593][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   12.437932][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   12.445313][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   12.452729][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   12.459580][    T1] device-mapper: raid: Loading target version 1.15.1
[   12.467663][    T1] hid: raw HID events driver (C) Jiri Kosina
[   12.473897][    T1] drop_monitor: Initializing network drop monitor service
[   12.481444][    T1] NET: Registered protocol family 10
[   12.488041][    T1] Segment Routing with IPv6
[   12.492429][    T1] RPL Segment Routing with IPv6
[   12.497352][    T1] NET: Registered protocol family 17
[   12.502806][    T1] Key type dns_resolver registered
[   12.508403][    T1] registered taskstats version 1
[   12.513232][    T1] Loading compiled-in X.509 certificates
[   12.519234][    T1] zswap: loaded using pool lzo/zbud
[   12.524745][    T1] Key type ._fscrypt registered
[   12.529481][    T1] Key type .fscrypt registered
[   12.534198][    T1] Key type fscrypt-provisioning registered
[   12.542116][    T1] Key type big_key registered
[   12.577913][    T1] Key type encrypted registered
[   12.589256][    T1] Freeing unused kernel memory: 1024K
[   12.614848][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.621255][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   13.445486][    T7] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer           1.14 PQ: 0 ANSI: 2
[   13.468559][   T58] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   13.494809][   T58] sd 0:0:0:0: [sda] Write Protect is off
[   13.504148][   T58] sd 0:0:0:0: [sda] No Caching mode page found
[   13.510244][   T58] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.537695][   T58]  sda: sda1
[   13.546801][   T58] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.690267][  T136] usbcore: registered new interface driver uas
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.36.1
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   29.601445][  T161] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   29.609199][  T161] EXT4-fs (sda1): write access will be enabled during recovery
[   32.963027][    C0] random: crng init done
[   41.325736][  T161] EXT4-fs (sda1): recovery complete
[   41.334787][  T161] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   44.168743][  T347] orion_wdt: Initial timeout 21 sec
[   44.615365][  T347] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   44.695393][  T346] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:.
[   45.726844][  T492] EXT4-fs (sda1): re-mounted. Opts: (null). Quota mode: none.
Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 31375/977280 files, 560513/3908096 blocks
.
[   45.976995][  T504] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
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
[  120.388274][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[  120.398929][   T95] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
Trying recorded lease 192.168.0.15
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1052 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting.
 failed!
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1083 (klogd)
.
Running local boot scripts (/etc/rc.local)
ssh-keygen: generating new host keys: RSA 
DSA 
ECDSA 
ED25519 

Starting OpenBSD Secure Shell server: sshd
.
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password: 
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 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.
Last login: Sat Sep 25 19:53:59 PDT 2021 from 192.168.0.100 on pts/0
debian
CloudEngines Pogoplug E02
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.0
Wed Dec 31 16:02:41 PST 1969 up 2 minutes
root@debian:~# 
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 21, 2022 03:18PM
It was a successful boot. But you don't have network.

Quote

No DHCPOFFERS received.

So reboot

shutdown -r now

And interrupt serial console at count down.

Quote

Hit any key to stop autoboot: 0

Execute

printenv

See that you have the MAC set to the local MAC (not the real one).

ethaddr=52:3b:20:9c:11:51

Some router is picky, and will not assign IP addr when you change MAC addr. You did not set to the real MAC during u-boot installation.

So set it to the real one for this box. Look outside the case, the MAC address is printed there on the label (replace xxxxxxx below with the real number).

setenv ethaddr xxxxxxxxx

and then

boot

Once you logged into Debian, you can also set it permanently. But first let see if you will get an IP address this time.
And post the serial console log here again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Rebooted again after change the macaddress.

PogoE02> setenv ethaddr 00:25:31:04:73:C3

Warning: egiga0 MAC addresses don't match:
Address in SROM is         00:25:31:04:73:c3
Address in environment is  52:3b:20:9c:11:51
PogoE02> printenv
arcNumber=2097
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
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:73:C3
if_netconsole=ping $serverip
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
machid=0x831
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 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
serverip=192.168.0.220
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_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: 2860/131068 bytes
PogoE02> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            31264768        d238bbfe-01     83

## 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 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 1138 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5702912 bytes read in 1393 ms (3.9 MiB/s)
loading uInitrd ...
10165821 bytes read in 1358 ms (7.1 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10114 bytes read in 4198 ms (2 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.17.4-kirkwood-tld-1
   Created:      2022-06-21   4:58:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5702848 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.17.4-kirkwood-tld-1
   Created:      2022-06-21   4:59:02 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10165757 Bytes = 9.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 0f15d000, end 0fb0edfd ... OK
   Loading Device Tree to 0f157000, end 0f15c781 ... OK
Using machid 0x831 from environment

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.17.4-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1.0 PREEMPT Mon Apr 25 19:49:57 PDT 2022
[    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: CloudEngines Pogoplug E02
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    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: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 229484K/262144K available (11264K kernel code, 1628K rwdata, 5012K rodata, 1024K init, 304K bss, 32660K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x3f4/0x794 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of 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.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000059][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000931][    T0] Console: colour dummy device 80x30
[    0.001007][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001048][    T0] pid_max: default: 32768 minimum: 301
[    0.001426][    T0] LSM: Security Framework initializing
[    0.001697][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001749][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003085][    T0] CPU: Testing write buffer coherency: ok
[    0.005211][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005249][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.005544][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.005927][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.006236][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.006583][    T1] rcu: Hierarchical SRCU implementation.
[    0.008034][    T1] devtmpfs: initialized
[    0.013716][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013774][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.051268][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.051317][    T1] prandom: seed boundary self test passed
[    0.055588][    T1] prandom: 100 self tests passed
[    0.055606][    T1] pinctrl core: initialized pinctrl subsystem
[    0.057307][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.058167][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059391][    T1] audit: initializing netlink subsys (disabled)
[    0.061072][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.061447][   T16] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.061614][    T1] cpuidle: using governor ladder
[    0.061715][    T1] cpuidle: using governor menu
[    0.062235][    T1] Feroceon L2: Enabling L2
[    0.062291][    T1] Feroceon L2: Cache support initialised.
[    0.071265][    T1] No ATAGs?
[    0.250314][    T1] raid6: int32x8  gen()   108 MB/s
[    0.420241][    T1] raid6: int32x4  gen()    95 MB/s
[    0.590218][    T1] raid6: int32x2  gen()   139 MB/s
[    0.760195][    T1] raid6: int32x1  gen()    99 MB/s
[    0.760214][    T1] raid6: using algorithm int32x2 gen() 139 MB/s
[    0.930081][    T1] raid6: .... xor() 84 MB/s, rmw enabled
[    0.930100][    T1] raid6: using intx1 recovery algorithm
[    0.930407][    T1] vgaarb: loaded
[    0.931008][    T1] SCSI subsystem initialized
[    0.931592][    T1] usbcore: registered new interface driver usbfs
[    0.931673][    T1] usbcore: registered new interface driver hub
[    0.931737][    T1] usbcore: registered new device driver usb
[    0.931987][    T1] pps_core: LinuxPPS API ver. 1 registered
[    0.932005][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.932042][    T1] PTP clock support registered
[    0.934034][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.028988][    T1] VFS: Disk quotas dquot_6.6.0
[    1.029097][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.053777][    T1] NET: Registered PF_INET protocol family
[    1.054009][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.055207][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.055265][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.055314][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.055353][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    1.055612][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.055704][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.055745][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.055965][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.064539][    T1] RPC: Registered named UNIX socket transport module.
[    1.064566][    T1] RPC: Registered udp transport module.
[    1.064578][    T1] RPC: Registered tcp transport module.
[    1.064590][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.064610][    T1] PCI: CLS 0 bytes, default 32
[    1.064953][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.066107][   T29] Trying to unpack rootfs image as initramfs...
[    2.544055][    C0] random: fast init done
[    2.886628][   T29] Freeing initrd memory: 9928K
[    3.688083][    T1] Initialise system trusted keyrings
[    3.688159][    T1] Key type blacklist registered
[    3.688443][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    3.688574][    T1] zbud: loaded
[    3.690356][    T1] NFS: Registering the id_resolver key type
[    3.690400][    T1] Key type id_resolver registered
[    3.690416][    T1] Key type id_legacy registered
[    3.690463][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.690490][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.690506][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.690819][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.691316][    T1] fuse: init (API version 7.36)
[    3.691731][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.691981][    T1] orangefs_init: module version upstream loaded
[    3.692002][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.791573][    T1] xor: measuring software checksum speed
[    3.800511][    T1]    arm4regs        :  1113 MB/sec
[    3.815304][    T1]    8regs           :   667 MB/sec
[    3.825470][    T1]    32regs          :   971 MB/sec
[    3.825488][    T1] xor: using function: arm4regs (1113 MB/sec)
[    3.825510][    T1] async_tx: api initialized (async)
[    3.825530][    T1] Key type asymmetric registered
[    3.825544][    T1] Asymmetric key parser 'x509' registered
[    3.862317][    T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    3.862504][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.862652][    T1] io scheduler bfq registered
[    4.056916][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.059347][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.115117][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.117719][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.175121][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.178038][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.179503][    T1] printk: console [ttyS0] disabled
[    4.179608][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    5.031008][    T1] printk: console [ttyS0] enabled
[    5.044798][    T1] loop: module loaded
[    5.049997][    T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    5.059459][    T1] ONFI parameter recovery failed, aborting
[    5.065179][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    5.072266][    T1] nand: Hynix NAND 128MiB 3,3V 8-bit
[    5.077446][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.085805][    T1] Scanning device for bad blocks
[    5.199734][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[    5.206766][    T1] Creating 4 MTD partitions on "orion_nand":
[    5.212637][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    5.218928][    T1] 0x000000100000-0x000000500000 : "uImage"
[    5.225168][    T1] 0x000000500000-0x000002500000 : "rootfs"
[    5.231510][    T1] 0x000002500000-0x000008000000 : "data"
[    5.238437][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    5.247058][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    5.275549][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.035144][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    6.044824][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.052120][    T1] ehci-pci: EHCI PCI platform driver
[    6.057375][    T1] ehci-orion: EHCI orion driver
[    6.062327][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.068618][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.077237][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    6.104104][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.111174][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[    6.120222][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.128212][    T1] usb usb1: Product: EHCI Host Controller
[    6.133822][    T1] usb usb1: Manufacturer: Linux 5.17.4-kirkwood-tld-1 ehci_hcd
[    6.141281][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.147516][    T1] hub 1-0:1.0: USB hub found
[    6.152037][    T1] hub 1-0:1.0: 1 port detected
[    6.157569][    T1] usbcore: registered new interface driver usb-storage
[    6.164802][    T1] mousedev: PS/2 mouse device common for all mice
[    6.444069][   T45] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.645743][   T45] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.64
[    6.654714][   T45] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.662619][   T45] usb 1-1: Product: USB2.0 Hub
[    6.668206][   T45] hub 1-1:1.0: USB hub found
[    6.672996][   T45] hub 1-1:1.0: 4 ports detected
[    6.994059][   T45] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    7.145494][   T45] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.03
[    7.154643][   T45] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.162720][   T45] usb 1-1.3: Product: Cruzer
[    7.167219][   T45] usb 1-1.3: Manufacturer: SanDisk
[    7.172217][   T45] usb 1-1.3: SerialNumber: 2006057262115C72CBCF
[    7.179216][   T45] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    7.186887][   T45] scsi host0: usb-storage 1-1.3:1.0
[    7.204070][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[    7.210396][    T1] i2c_dev: i2c /dev entries driver
[    7.216084][    T1] device-mapper: uevent: version 1.0.3
[    7.221730][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    7.231449][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.238787][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.246168][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.253586][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.260442][    T1] device-mapper: raid: Loading target version 1.15.1
[    7.268507][    T1] hid: raw HID events driver (C) Jiri Kosina
[    7.274769][    T1] drop_monitor: Initializing network drop monitor service
[    7.282264][    T1] NET: Registered PF_INET6 protocol family
[    7.289511][    T1] Segment Routing with IPv6
[    7.293904][    T1] RPL Segment Routing with IPv6
[    7.298761][    T1] In-situ OAM (IOAM) with IPv6
[    7.303503][    T1] NET: Registered PF_PACKET protocol family
[    7.309550][    T1] Key type dns_resolver registered
[    7.315216][    T1] registered taskstats version 1
[    7.320069][    T1] Loading compiled-in X.509 certificates
[    7.326745][    T1] zswap: loaded using pool lzo/zbud
[    7.332418][    T1] Key type ._fscrypt registered
[    7.337244][    T1] Key type .fscrypt registered
[    7.341891][    T1] Key type fscrypt-provisioning registered
[    7.353312][    T1] Key type big_key registered
[    7.389594][    T1] Key type encrypted registered
[    7.485088][  T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher
[    8.245349][    T8] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer           1.14 PQ: 0 ANSI: 2
[    8.266042][   T29] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    8.285158][   T29] sd 0:0:0:0: [sda] Write Protect is off
[    8.304099][   T29] sd 0:0:0:0: [sda] No Caching mode page found
[    8.310147][   T29] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.330414][   T29]  sda: sda1
[    8.346786][   T29] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   12.425271][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   12.444828][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.451241][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   13.451590][  T140] usbcore: registered new interface driver uas
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.36.1
[/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1 
rootfs: recovering journal
rootfs: clean, 34400/977280 files, 554006/3908096 blocks
done.
[   24.499806][  T165] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   27.505906][  T348] orion_wdt: Initial timeout 21 sec
[   27.918902][  T349] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   28.084415][  T357] marvell-cesa f1030000.crypto: CESA device successfully registered
[   28.172656][    C0] random: crng init done
done.
Activating swap:.
[   29.056751][  T496] EXT4-fs (sda1): re-mounted. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
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.1.231 on eth0 to 255.255.255.255 port 67
[   35.694498][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   35.705209][   T45] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.1.231 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.231 from 192.168.1.1
bound to 192.168.1.231 -- renewal in 43073 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1048 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1089 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login:
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 21, 2022 05:52PM
OK so the change did not stick. But your router took the local MAC 52:3b:20:9c:11:51 anyway and generated the dynamic IP.

DHCPACK of 192.168.1.231 from 192.168.1.1

If you like, keep using the local IP. Or later change it in Debian using fw_setenv to make the real MAC address permanent.

Now on your Mac OS erminal you can log in the Pogo through SSH.

The root credential is root/root.

And verify that you can see how Debian see it:
ifconfig -a

And also verify that you can see the u-boot envs in Debian:
fw_printenv

Congratulations! you're good to go.

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



Edited 2 time(s). Last edit at 06/21/2022 08:47PM by bodhi.
Thank you bodhi. you are so helpful.
I did ssh connection. but fw_printenv is not working.

root@192.168.1.231's password: 
Linux debian 5.17.4-kirkwood-tld-1 #1.0 PREEMPT Mon Apr 25 19:49:57 PDT 2022 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.
Last login: Tue Jun 21 16:23:59 2022 from 192.168.1.193
debian
192.168.1.231
CloudEngines Pogoplug E02
Linux version 5.17.4-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1.0 PREEMPT Mon Apr 25 19:49:57 PDT 2022
Debian 11.0
Tue Jun 21 16:27:21 PDT 2022 up 2 hours, 27 minutes
root@debian:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.231  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::503b:20ff:fe9c:1151  prefixlen 64  scopeid 0x20<link>
        ether 52:3b:20:9c:11:51  txqueuelen 1000  (Ethernet)
        RX packets 7986  bytes 2032479 (1.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 609  bytes 62590 (61.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 34  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1710 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~# fw_printenv
-bash: fw_printenv: command not found
root@debian:~# 
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 21, 2022 07:01PM
apt-get install u-boot-tools
Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 21, 2022 07:52PM
Actually another package

Quote

Updated 26 Sept 2021:

Basic Debian bullseye Kirkwood rootfs for most Kirwood plugs:

- tarball size: 234M
- install size: 668M
- The init system used in this rootfs is sysvinit . To boot with systemd, see Notes 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 examples in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Important Correction:

After releasing this rootfs,

1. I realized I've missed one package that needs to be installed in order to make fw_printenv and fw_setenv available (these binaries have been moved to package libubootenv-tool in bullseye) . So do this if you want to list or set envs in Debian.
apt-get install libubootenv-tool

2. There was an obsolete source in /etc/apt/source.list. Please change the old security repo to
deb https://security.debian.org/debian-security bullseye-security main contrib non-free


You'll need to do both 1 and 2 in the release notes, as described above.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Got it. Thank you very much.

root@debian:~# fw_printenv
arcNumber=2097
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
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
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
machid=0x831
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 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
serverip=192.168.0.220
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_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
root@debian:~# 

Re: HowTo unbrick? / Pogoplug E02 /Brick after install Squeeze /
June 21, 2022 10:15PM
ddl2000,

> Got it. Thank you very much.

Cool! so you see the MAC address in u-boot is

> ethaddr=52:3b:20:9c:11:51

It's a local MAC address that I generated for the u-boot installation. You can either continue using it (good to mask your real MAC address to avoid being tracked on the net). But you can also set it to the real one with fw_setenv.

fw_setenv ethaddr 00:25:31:04:73:C3

If you have another Kirkwood box that you will install new u-boot to, then it is best to set to the real MAC to avoid confusion to the router. If this is the only Kirkwood box you'll use, then you can keep using the default 52:3b:20:9c:11:51.

All system goes now. You can browse the Wiki thread for topics that you are interested in.

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

-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: