I have a Pogoplug E02 that was once being used with stock firmware as a Pogoplug cloud drive. It has been sitting on a shelf unused for many years. When I attempted to assess its state recently it would not boot. I managed to attach a serial console to see what was going on.
I reset and interrupted the boot and checked environment
From here I attempted to boot with Debian rootfs on USB using tftpboot per https://forum.doozan.com/read.php?3,28772,29034#msg-29034
Result was a failure to boot because rootfs couldn't be found despite the LABEL=rootfs being present (created when the disk was formatted from CLI and then also updated after formatting - again with CLI). Resorted to booting with `root=/dev/sda1` which worked. Yay! Debian booted from USB.
But now trying to update uBoot to something that supports USB boot. (per https://forum.doozan.com/read.php?3,12381).
I get to the part where I am to capture the existing settings and I'm seeing errors so not sure how to proceed now:
That list of ECC errors is quite long and there is nothing else output. Redirecting to a file (i.e. current_envs.txt) generates same long list of errors but no content to the file. So can I update uBoot if I can't get the current environment this way?
Thanks in advance for any assistance!
U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16) U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:128 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: PPV2 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x200000 Reading data from 0x2ff800 -- 100% complete. 2097152 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2010-10-19 23:05:02 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1979140 Bytes = 1.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux............................................................................................................................ done, booting the kernel. [ 0.000000] Linux version 2.6.22.18 (bdietrich@buildman) (gcc version 4.2.1) #81 Tue Oct 19 16:05:00 PDT 2010 [ 0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177 [ 0.000000] Machine: Feroceon-KW [ 0.000000] Using UBoot passing parameters structure [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] CPU0: D VIVT write-back cache [ 0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets [ 0.000000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets [ 0.000000] Built 1 zonelists. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro [ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes) [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.010000] Memory: 256MB 0MB 0MB 0MB = 256MB total [ 0.010000] Memory: 255872KB available (3592K code, 253K data, 124K init) [ 0.250000] Mount-cache hash table entries: 512 [ 0.250000] CPU: Testing write buffer coherency: ok [ 0.250000] NET: Registered protocol family 16 [ 0.250000] [ 0.250000] CPU Interface [ 0.250000] ------------- [ 0.250000] SDRAM_CS0 ....base 00000000, size 256MB [ 0.250000] SDRAM_CS1 ....disable [ 0.250000] SDRAM_CS2 ....disable [ 0.250000] SDRAM_CS3 ....disable [ 0.250000] PEX0_MEM ....base e8000000, size 128MB [ 0.250000] PEX0_IO ....base f2000000, size 1MB [ 0.250000] INTER_REGS ....base f1000000, size 1MB [ 0.250000] NFLASH_CS ....base fa000000, size 2MB [ 0.250000] SPI_CS ....base f4000000, size 16MB [ 0.250000] BOOT_ROM_CS ....no such [ 0.250000] DEV_BOOTCS ....no such [ 0.250000] CRYPT_ENG ....base f0000000, size 2MB [ 0.250000] [ 0.250000] Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21_with_rx_desc_tuned)-- SHEEVA PLUG Soc: 88F6281 A0 LE [ 0.250000] [ 0.250000] Detected Tclk 200000000 and SysClk 400000000 [ 0.250000] MV Buttons Device Load [ 0.250000] Marvell USB EHCI Host controller #0: c0652600 [ 0.750000] PEX0 interface detected no Link. [ 0.750000] PCI: bus0: Fast back to back transfers enabled [ 0.750000] SCSI subsystem initialized [ 0.750000] usbcore: registered new interface driver usbfs [ 0.750000] usbcore: registered new interface driver hub [ 0.750000] usbcore: registered new device driver usb [ 0.750000] NET: Registered protocol family 2 [ 0.760000] Time: kw_clocksource clocksource has been installed. [ 0.850000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.850000] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.850000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.850000] TCP: Hash tables configured (established 8192 bind 8192) [ 0.850000] TCP reno registered [ 0.880000] RTC has been updated!!! [ 0.880000] RTC registered [ 0.880000] Use the XOR engines (acceleration) for enhancing the following functions: [ 0.880000] o RAID 5 Xor calculation [ 0.880000] o kernel memcpy [ 0.880000] o kenrel memzero [ 0.880000] Number of XOR engines to use: 4 [ 0.880000] cesadev_init(c00117b0) [ 0.880000] mvCesaInit: sessions=640, queue=64, pSram=f0000000 [ 0.880000] MV Buttons Driver Load [ 0.880000] squashfs: version 3.3 (2007/10/31) Phillip Lougher [ 0.880000] squashfs: LZMA suppport for slax.org by jro [ 0.880000] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. [ 0.880000] io scheduler noop registered [ 0.880000] io scheduler anticipatory registered (default) [ 0.900000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled [ 0.900000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 0.910000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize [ 0.920000] Loading Marvell Ethernet Driver: [ 0.920000] o Cached descriptors in DRAM [ 0.920000] o DRAM SW cache-coherency [ 0.930000] o Single RX Queue support - ETH_DEF_RXQ=0 [ 0.930000] o Single TX Queue support - ETH_DEF_TXQ=0 [ 0.940000] o TCP segmentation offload enabled [ 0.940000] o Receive checksum offload enabled [ 0.950000] o Transmit checksum offload enabled [ 0.950000] o Network Fast Processing (Routing) supported [ 0.960000] o Driver ERROR statistics enabled [ 0.960000] o Driver INFO statistics enabled [ 0.970000] o Proc tool API enabled [ 0.970000] o Rx descripors: q0=128 [ 0.970000] o Tx descripors: q0=532 [ 0.980000] o Loading network interface(s): [ 0.990000] o eth0, ifindex = 1, GbE port = 0 [ 0.990000] o eth1, ifindex = 2, GbE port = 1 [ 1.000000] [ 1.000000] mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes [ 1.000000] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI [ 1.010000] Copyright (c) 1999-2006 Intel Corporation. [ 1.020000] e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI [ 1.020000] e100: Copyright(c) 1999-2006 Intel Corporation [ 1.030000] [ 1.030000] Warning Sata is Powered Off [ 1.030000] NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $ [ 1.040000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) [ 1.050000] Scanning device for bad blocks [ 1.060000] Bad eraseblock 214 at 0x01ac0000 [ 1.100000] Bad eraseblock 841 at 0x06920000 [ 1.110000] Using static partition definition [ 1.120000] Creating 4 MTD partitions on "nand_mtd": [ 1.120000] 0x00000000-0x00100000 : "u-boot" [ 1.130000] 0x00100000-0x00500000 : "uImage" [ 1.130000] 0x00500000-0x02500000 : "root" [ 1.130000] 0x02500000-0x08000000 : "data" [ 1.140000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI [ 1.150000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1 [ 1.180000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100 [ 1.200000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 [ 1.200000] usb usb1: configuration #1 chosen from 1 choice [ 1.210000] hub 1-0:1.0: USB hub found [ 1.210000] hub 1-0:1.0: 1 port detected [ 1.330000] USB Universal Host Controller Interface driver v3.0 [ 1.610000] usb 1-1: new high speed USB device using ehci_marvell and address 2 [ 1.760000] usb 1-1: configuration #1 chosen from 1 choice [ 1.760000] hub 1-1:1.0: USB hub found [ 1.770000] hub 1-1:1.0: 4 ports detected [ 1.880000] usbcore: registered new interface driver usblp [ 1.880000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver [ 1.890000] Initializing USB Mass Storage driver... [ 1.890000] usbcore: registered new interface driver usb-storage [ 1.900000] USB Mass Storage support registered. [ 1.900000] mice: PS/2 mouse device common for all mice [ 1.910000] i2c /dev entries driver [ 1.910000] Linux telephony interface: v1.00 [ 1.920000] md: linear personality registered for level -1 [ 1.920000] md: raid0 personality registered for level 0 [ 1.930000] md: raid1 personality registered for level 1 [ 2.100000] raid6: int32x1 97 MB/s [ 2.270000] raid6: int32x2 114 MB/s [ 2.440000] raid6: int32x4 122 MB/s [ 2.610000] raid6: int32x8 110 MB/s [ 2.610000] raid6: using algorithm int32x4 (122 MB/s) [ 2.610000] md: raid6 personality registered for level 6 [ 2.620000] md: raid5 personality registered for level 5 [ 2.620000] md: raid4 personality registered for level 4 [ 2.630000] raid5: measuring checksumming speed [ 2.680000] arm4regs : 1084.000 MB/sec [ 2.730000] 8regs : 754.800 MB/sec [ 2.780000] 32regs : 900.000 MB/sec [ 2.780000] raid5: using function: arm4regs (1084.000 MB/sec) [ 2.790000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com [ 2.790000] dm_crypt using the OCF package. [ 2.800000] sdhci: Secure Digital Host Controller Interface driver [ 2.800000] sdhci: Copyright(c) Pierre Ossman [ 2.810000] usbcore: registered new interface driver usbhid [ 2.810000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver [ 2.820000] TCP cubic registered [ 2.820000] NET: Registered protocol family 1 [ 2.830000] NET: Registered protocol family 17 [ 2.830000] md: Autodetecting RAID arrays. [ 2.840000] md: autorun ... [ 2.840000] md: ... autorun DONE. [ 3.180000] mtd->read(0x1f6ec bytes from 0x120914) returned ECC error [ 4.670000] Empty flash at 0x009ac208 ends at 0x009ac800 [ 9.550000] VFS: Mounted root (jffs2 filesystem) readonly. [ 9.560000] Freeing init memory: 124K [ 10.690000] mtd->read(0x869 bytes from 0x13e000) returned ECC error [ 10.700000] JFFS2 notice: (1) check_node_data: wrong data CRC in data node at 0x0013e000: read 0x44f122a7, calculated 0x374a1942. init started: BusyBox v1.7.0 (2008-02-26 19:25:17 IST)
I reset and interrupted the boot and checked environment
U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16) U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60 Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:128 MB CPU : Marvell Feroceon (Rev 1) CLOUD ENGINES BOARD: PPV2 Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro serverip=169.254.254.252 ipaddr=169.254.254.253 ethaddr=00:25:31:00:7A:66 cesvcid=DEMSRUTTYU9X736TQ3DCD8E26N ceboardver=PPV2 bootcmd=nand read.e 0x800000 0x100000 0x200000; setenv bootargs $(console) $(bootargs_root);bootm 0x800000 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no
From here I attempted to boot with Debian rootfs on USB using tftpboot per https://forum.doozan.com/read.php?3,28772,29034#msg-29034
Result was a failure to boot because rootfs couldn't be found despite the LABEL=rootfs being present (created when the disk was formatted from CLI and then also updated after formatting - again with CLI). Resorted to booting with `root=/dev/sda1` which worked. Yay! Debian booted from USB.
But now trying to update uBoot to something that supports USB boot. (per https://forum.doozan.com/read.php?3,12381).
I get to the part where I am to capture the existing settings and I'm seeing errors so not sure how to proceed now:
CE>> bootm 0x800000 0x1100000 ## Booting image at 00800000 ... Image Name: Linux-4.4.0-kirkwood-tld-1 Created: 2025-03-01 6:20:47 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6234202 Bytes = 5.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:55 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 [ 0.000000][ T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f [ 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] INITRD: 0x01100000+0x00586000 overlaps in-use memory region [ 0.000000][ T0] - disabling initrd [ 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] Kernel command line: console=ttyS0,115200 root=/dev/sda1 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] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 238008K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 24136K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 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] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000][ T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000001][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000046][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.000625][ T0] Console: colour dummy device 80x30 [ 0.000695][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000724][ T0] CPU: Testing write buffer coherency: ok [ 0.000853][ T0] pid_max: default: 32768 minimum: 301 [ 0.009641][ T0] LSM: initializing lsm=capability,integrity [ 0.012095][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.012131][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.024418][ T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.024770][ T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.025223][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.025539][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2 [ 0.025952][ T1] rcu: Hierarchical SRCU implementation. [ 0.025967][ T1] rcu: Max phase no-delay instances is 1000. [ 0.028891][ T1] devtmpfs: initialized [ 0.038009][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.038052][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.041004][ T1] prandom: seed boundary self test passed [ 0.045522][ T1] prandom: 100 self tests passed [ 0.045538][ T1] pinctrl core: initialized pinctrl subsystem [ 0.049313][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.050877][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.056251][ T1] audit: initializing netlink subsys (disabled) [ 0.058276][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.058426][ T1] cpuidle: using governor ladder [ 0.058502][ T1] cpuidle: using governor menu [ 0.059128][ T1] Feroceon L2: Enabling L2 [ 0.059165][ T1] Feroceon L2: Cache support initialised. [ 0.068494][ T1] No ATAGs? [ 0.070102][ T19] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1 [ 0.430062][ T1] raid6: int32x8 gen() 108 MB/s [ 0.770064][ T1] raid6: int32x4 gen() 105 MB/s [ 1.110089][ T1] raid6: int32x2 gen() 132 MB/s [ 1.450063][ T1] raid6: int32x1 gen() 98 MB/s [ 1.450075][ T1] raid6: using algorithm int32x2 gen() 132 MB/s [ 1.790061][ T1] raid6: .... xor() 83 MB/s, rmw enabled [ 1.790075][ T1] raid6: using intx1 recovery algorithm [ 1.791760][ T1] SCSI subsystem initialized [ 1.792569][ T1] usbcore: registered new interface driver usbfs [ 1.792643][ T1] usbcore: registered new interface driver hub [ 1.792713][ T1] usbcore: registered new device driver usb [ 1.793159][ T1] pps_core: LinuxPPS API ver. 1 registered [ 1.793170][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it > [ 1.793204][ T1] PTP clock support registered [ 1.796020][ T1] vgaarb: loaded [ 1.796899][ T1] clocksource: Switched to clocksource orion_clocksource [ 1.813416][ T1] VFS: Disk quotas dquot_6.6.0 [ 1.813859][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.848650][ T1] NET: Registered PF_INET protocol family [ 1.848972][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 1.857106][ T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 1.857352][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 1.857385][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 1.857435][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 1.857490][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 1.858202][ T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.858457][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 1.858494][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 1.859391][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 1.860613][ T1] RPC: Registered named UNIX socket transport module. [ 1.860626][ T1] RPC: Registered udp transport module. [ 1.860633][ T1] RPC: Registered tcp transport module. [ 1.860639][ T1] RPC: Registered tcp-with-tls transport module. [ 1.860645][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.860667][ T1] PCI: CLS 0 bytes, default 32 [ 3.448473][ T1] Initialise system trusted keyrings [ 3.448645][ T1] Key type blacklist registered [ 3.450202][ T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 3.450389][ T1] zbud: loaded [ 3.469950][ T1] NFS: Registering the id_resolver key type [ 3.470001][ T1] Key type id_resolver registered [ 3.470012][ T1] Key type id_legacy registered [ 3.470210][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.470233][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 3.471877][ T1] jffs2: version 2.2. (NAND) (SUMMARY) <C2><A9> 2001-2006 Red Hat, Inc. [ 3.472825][ T1] fuse: init (API version 7.38) [ 3.474313][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.474667][ T1] orangefs_init: module version upstream loaded [ 3.475081][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 3.687910][ T1] xor: measuring software checksum speed [ 3.696781][ T1] arm4regs : 1112 MB/sec [ 3.711565][ T1] 8regs : 667 MB/sec [ 3.721979][ T1] 32regs : 947 MB/sec [ 3.721990][ T1] xor: using function: arm4regs (1112 MB/sec) [ 3.722006][ T1] async_tx: api initialized (async) [ 3.722023][ T1] Key type asymmetric registered [ 3.722032][ T1] Asymmetric key parser 'x509' registered [ 3.731444][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 3.731891][ T1] io scheduler bfq registered [ 3.922202][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.923931][ T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.925341][ T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 3.927022][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.989606][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 3.994654][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 4.059638][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.065028][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.067843][ T1] printk: console [ttyS0] disabled [ 4.068546][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A [ 4.068616][ T1] printk: console [ttyS0] enabled [ 4.945551][ T1] loop: module loaded [ 4.950815][ T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 4.957957][ T1] nand: Hynix NAND 128MiB 3,3V 8-bit [ 4.963131][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.971495][ T1] Scanning device for bad blocks [ 4.999240][ T1] Bad eraseblock 214 at 0x000001ac0000 [ 5.071503][ T1] Bad eraseblock 841 at 0x000006920000 [ 5.096317][ T1] 4 cmdlinepart partitions found on MTD device orion_nand [ 5.103343][ T1] Creating 4 MTD partitions on "orion_nand": [ 5.109233][ T1] 0x000000000000-0x000000100000 : "u-boot" [ 5.115770][ T1] 0x000000100000-0x000000500000 : "uImage" [ 5.122362][ T1] 0x000000500000-0x000002500000 : "rootfs" [ 5.129076][ T1] 0x000002500000-0x000008000000 : "data" [ 5.136634][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 5.145254][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 5.162776][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 5.928292][ T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:7a:66 [ 5.938509][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 5.944767][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 5.953474][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 5.986935][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 6.003129][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.011117][ T1] usb usb1: Product: EHCI Host Controller [ 6.016727][ T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd [ 6.024098][ T1] usb usb1: SerialNumber: f1050000.ehci [ 6.030660][ T1] hub 1-0:1.0: USB hub found [ 6.035189][ T1] hub 1-0:1.0: 1 port detected [ 6.040976][ T1] usbcore: registered new interface driver usb-storage [ 6.048464][ T1] mousedev: PS/2 mouse device common for all mice [ 6.326941][ T49] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 6.528732][ T49] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 9.01 [ 6.537709][ T49] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 6.545613][ T49] usb 1-1: Product: USB2.0 Hub [ 6.551434][ T49] hub 1-1:1.0: USB hub found [ 6.556234][ T49] hub 1-1:1.0: 4 ports detected [ 6.876932][ T49] usb 1-1.4: new high-speed USB device number 3 using orion-ehci [ 7.028983][ T49] usb 1-1.4: New USB device found, idVendor=05dc, idProduct=a768, bcdDevice=11.00 [ 7.038132][ T49] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 7.046211][ T49] usb 1-1.4: Product: USB Flash Drive [ 7.051490][ T49] usb 1-1.4: Manufacturer: Lexar [ 7.056316][ T49] usb 1-1.4: SerialNumber: BS2LWHT0FI80VI6B4NLS [ 7.063605][ T49] usb-storage 1-1.4:1.0: USB Mass Storage device detected [ 7.071531][ T49] scsi host0: usb-storage 1-1.4:1.0 [ 7.126943][ T1] rtc-mv f1010300.rtc: internal RTC not ticking [ 7.133359][ T1] i2c_dev: i2c /dev entries driver [ 7.139551][ T1] device-mapper: uevent: version 1.0.3 [ 7.145519][ T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 7.155437][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 7.162787][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 7.170173][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 7.177669][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 7.186374][ T1] ledtrig-cpu: registered to indicate activity on CPUs [ 7.193326][ T1] hid: raw HID events driver (C) Jiri Kosina [ 7.199680][ T1] drop_monitor: Initializing network drop monitor service [ 7.208304][ T1] NET: Registered PF_INET6 protocol family [ 7.216275][ T1] Segment Routing with IPv6 [ 7.220762][ T1] RPL Segment Routing with IPv6 [ 7.225595][ T1] In-situ OAM (IOAM) with IPv6 [ 7.230396][ T1] NET: Registered PF_PACKET protocol family [ 7.236601][ T1] Key type dns_resolver registered [ 7.262304][ T1] registered taskstats version 1 [ 7.267565][ T1] Loading compiled-in X.509 certificates [ 7.296407][ T1] Key type .fscrypt registered [ 7.301160][ T1] Key type fscrypt-provisioning registered [ 7.313515][ T1] Key type big_key registered [ 7.324052][ T1] Key type encrypted registered [ 7.397716][ T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher [ 8.088195][ T10] scsi 0:0:0:0: Direct-Access Lexar USB Flash Drive 1100 PQ: 0 ANSI: 0 CCS [ 8.109147][ T18] sd 0:0:0:0: [sda] 15663104 512-byte logical blocks: (8.02 GB/7.47 GiB) [ 8.127515][ T18] sd 0:0:0:0: [sda] Write Protect is off [ 8.136958][ T18] sd 0:0:0:0: [sda] No Caching mode page found [ 8.143033][ T18] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 8.172140][ T18] sda: sda1 [ 8.187211][ T18] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 9.798767][ T1] clk: Disabling unused clocks [ 9.803737][ T1] Waiting 10 sec before mounting root device... [ 20.327003][ T1] md: Waiting for all devices to be available before autodetect [ 20.334538][ T1] md: If you don't use raid, use raid=noautodetect [ 20.340966][ T1] md: Autodetecting RAID arrays. [ 20.345786][ T1] md: autorun ... [ 20.349313][ T1] md: ... autorun DONE. [ 20.355271][ T1] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 20.386106][ T1] EXT4-fs (sda1): mounted filesystem 10adbae8-dd41-45c2-b9c8-ad596c881ebc ro with ordered data mode. Quota mode: none. [ 20.398563][ T1] VFS: Mounted root (ext3 filesystem) readonly on device 8:1. [ 20.559332][ T1] devtmpfs: mounted [ 20.566240][ T1] Freeing unused kernel image (initmem) memory: 1024K [ 20.573689][ T1] Checked W+X mappings: passed, no W+X pages found [ 20.580150][ T1] Run /sbin/init as init process ^MINIT: version 3.06 booting ^MINIT: No inittab.d directory found Using makefile-style concurrent boot in runlevel S. 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...[ 24.709367][ T283] orion_wdt: Initial timeout 21 sec [ 25.427155][ T285] marvell-cesa f1030000.crypto: CESA device successfully registered [ 25.522657][ T280] usbcore: registered new interface driver uas [ 25.727522][ T280] sd 0:0:0:0: Attached scsi generic sg0 type 0 done. Setting hostname to 'debian'...done. Activating swap:. [ 27.460202][ T451] EXT4-fs (sda1): re-mounted 10adbae8-dd41-45c2-b9c8-ad596c881ebc ro. Quota mode: none. Will now check root file system:[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.47.0 (5-Feb-2023) rootfs: clean, 20039/489600 files, 237292/1957632 blocks . [ 27.675133][ T458] EXT4-fs (sda1): re-mounted 10adbae8-dd41-45c2-b9c8-ad596c881ebc r/w. Quota mode: none. Will now check all file systems. [ 29.144592][ T55] random: crng init done 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.3-P1 Copyright 2004-2022 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:25:31:00:7a:66 Sending on LPF/eth0/00:25:31:00:7a:66 Sending on Socket/fallback DHCPREQUEST for 192.168.0.17 on eth0 to 255.255.255.255 port 67 [ 45.012858][ C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled Starting RPC port mapper daemon: rpcbind. Starting NFS common utilities: statd idmapd. Cleaning up temporary files.... ^MINIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Not starting NFS kernel daemon: no exports ... ESC[33m(warning).ESC[0m Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 968 (syslogd) . Starting NTP server: ntpd1969-12-31T16:00:54 ntpd[988]: INIT: ntpd ntpsec-1.2.2: Starting 1969-12-31T16:00:54 ntpd[988]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106 . Starting system message bus: dbus. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. Starting NTP server: ntpd. Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 991 (klogd) . Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting. ESC[31mfailed!ESC[0m Running local boot scripts (/etc/rc.local) ^@ssh-keygen: generating new host keys: RSA ^@ECDSA ^@ED25519 ^@ Starting OpenBSD Secure Shell server: sshd ^@. . Debian GNU/Linux 12 debian ttyS0 debian login: root Password: Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel SC[?2004hroot@debian:~# cat /etc/fw_env.config ESC[?2004l^M# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 ESC[?2004hroot@debian:~# cat /proc/mtd ESC[?2004l^Mdev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 05b00000 00020000 "data" ESC[?2004hroot@debian:~# dmesg | grep -i bad ESC[?2004l^M[ 4.971495] Scanning device for bad blocks [ 4.999240] Bad eraseblock 214 at 0x000001ac0000 [ 5.071503] Bad eraseblock 841 at 0x000006920000 ESC[?2004hroot@debian:~# fw_printenv ethaddr ESC[?2004l^M[17033.800052][ T1141] ecc_sw_hamming_correct: uncorrectable ECC error [17033.806519][ T1141] ecc_sw_hamming_correct: uncorrectable ECC error [17033.812829][ T1141] ecc_sw_hamming_correct: uncorrectable ECC error [17033.819725][ T1141] ecc_sw_hamming_correct: uncorrectable ECC error 8< snip 8< [17036.724297][ T1141] ecc_sw_hamming_correct: uncorrectable ECC error Cannot read environment, using default Cannot read default environment from file
That list of ECC errors is quite long and there is nothing else output. Redirecting to a file (i.e. current_envs.txt) generates same long list of errors but no content to the file. So can I update uBoot if I can't get the current environment this way?
Thanks in advance for any assistance!