Welcome! Log In Create A New Profile

Advanced

Need help giving new life to a previously Bricked Pogoplug V4

Posted by virtual 
Need help giving new life to a previously Bricked Pogoplug V4
December 28, 2017 08:21PM
I am in desperate need to get help regarding this. I had previously installed an ARCH system on a pogoplug 4 successfully. I purchased another pogoplug off the ebay. It came used and bricked unfortunately. I got refund though so no worries there but seller didnt want it back.

I got curious. I established a serial connection to it. From research here I found out previous owner tried to flash on top of 2011 U-boot.
I tried to load 2017 U-boot but messed up right when I was about to flash boot environment. Due to unexpected mousepad touching, it copied some commands/output from previous code and it got put into it :(

After further research, I was able to make a debian rootfs USB and it is able to boot from it. Then I tried to use Qui's guide to install archlinux on it but it couldn't find mmcblk0 and I had to stop.

My question is that if there is any way to restore it in a way that I can boot it from sdcard. I plan to use it as samba server and transmission torrents.

Following are the boot logs. First is without usb and second one is with usb. I am putting it different posts just to keep things clear



Edited 2 time(s). Last edit at 12/28/2017 08:35PM by virtual.
Re: Need help giving new life to a previously Bricked Pogoplug V4
December 28, 2017 08:22PM
WITHOUT ROOTFS USB ATTACHED

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.100 is not alive
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed

MMC rescan: current device # 0 initialized OK
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

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

no IDE devices available

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

Part    Start Sector    Num Sectors     UUID            Type
loading envs from mmc 0 ...
** Invalid partition 1 **
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc

MMC rescan: current device # 0 initialized OK
device mmc 0:1
** Invalid partition 1 **
device mmc 1:1
MMC Device 1 not found
MMC Device 1 not found
** Bad device mmc 1 **
device mmc 2:1
MMC Device 2 not found
MMC Device 2 not found
** Bad device mmc 2 **
device mmc 3:1
MMC Device 3 not found
MMC Device 3 not found
** 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!
Pogov4>

Re: Need help giving new life to a previously Bricked Pogoplug V4
December 28, 2017 08:24PM
THIS IS PRINTENV COMMAND OUTPUT
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.100 is not alive
Hit any key to stop autoboot:  0
Pogov4> printenv
arcNumber=3960
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.1.10
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=F78
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.1.100
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
usb_rootfstype=ext3

Environment size: 2940/131068 bytes
Pogov4>

Re: Need help giving new life to a previously Bricked Pogoplug V4
December 28, 2017 08:29PM
WITH ROOTFS USB ATTACHED, IT BOOTS.


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.100 is not alive
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

MMC rescan: current device # 0 initialized OK

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            7819264         b3755a46-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 **

no IDE devices available

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

Part    Start Sector    Num Sectors     UUID            Type
loading envs from mmc 0 ...
** Invalid partition 1 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 1291 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3833487 bytes read in 1552 ms (2.4 MiB/s)
loading uInitrd ...
7245696 bytes read in 1591 ms (4.3 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10444 bytes read in 4182 ms (2 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-12-28  13:22:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3833423 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 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 07420000, end 07b08f40 ... OK
   Loading Device Tree to 0741a000, end 0741f8cb ... OK
Using machid 0xf78 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Seagate GoFlex Net
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 116496K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 14576K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000012] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.007935] Switching to timer-based delay loop, resolution 6ns
[    0.014612] Console: colour dummy device 80x30
[    0.019230] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.029876] pid_max: default: 32768 minimum: 301
[    0.034859] Security Framework initialized
[    0.039276] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045967] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.054423] CPU: Testing write buffer coherency: ok
[    0.060986] Setting up static identity map for 0x100000 - 0x100058
[    0.067621] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.077906] devtmpfs: initialized
[    0.087866] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.097889] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.104724] prandom: seed boundary self test passed
[    0.115344] prandom: 100 self tests passed
[    0.119578] pinctrl core: initialized pinctrl subsystem
[    0.126616] NET: Registered protocol family 16
[    0.131935] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.141323] cpuidle: using governor ladder
[    0.145595] cpuidle: using governor menu
[    0.150307] Feroceon L2: Enabling L2
[    0.154004] Feroceon L2: Cache support initialised.
[    0.159529] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.176851] No ATAGs?
[    0.190353] vgaarb: loaded
[    0.195926] SCSI subsystem initialized
[    0.200495] usbcore: registered new interface driver usbfs
[    0.206143] usbcore: registered new interface driver hub
[    0.211680] usbcore: registered new device driver usb
[    0.218426] clocksource: Switched to clocksource orion_clocksource
[    0.356946] VFS: Disk quotas dquot_6.6.0
[    0.361149] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.383045] NET: Registered protocol family 2
[    0.388612] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.395657] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.402124] TCP: Hash tables configured (established 1024 bind 1024)
[    0.408682] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.414594] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.421194] NET: Registered protocol family 1
[    0.426190] RPC: Registered named UNIX socket transport module.
[    0.432280] RPC: Registered udp transport module.
[    0.437054] RPC: Registered tcp transport module.
[    0.441867] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.448907] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.456782] audit: initializing netlink subsys (disabled)
[    0.462963] Initialise system trusted keyrings
[    0.467528] Key type blacklist registered
[    0.471708] audit: type=2000 audit(0.454:1): state=initialized audit_enabled=0 res=1
[    0.479763] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.486342] zbud: loaded
[    0.490463] NFS: Registering the id_resolver key type
[    0.495601] Key type id_resolver registered
[    0.499929] Key type id_legacy registered
[    0.504021] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.510825] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.517509] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.524915] fuse init (API version 7.26)
[    0.529464] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.536349] orangefs_init: module version upstream loaded
[    0.541857] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.558436] random: fast init done
[    9.310449] Key type asymmetric registered
[    9.314623] Asymmetric key parser 'x509' registered
[    9.319970] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    9.327427] io scheduler noop registered
[    9.331505] io scheduler deadline registered
[    9.335941] io scheduler cfq registered (default)
[    9.342650] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.352646] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.419551] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    9.427488] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.489550] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    9.497762] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.506063] console [ttyS0] disabled
[    9.509888] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A
[    9.519015] console [ttyS0] enabled
[    9.519015] console [ttyS0] enabled
[    9.526042] bootconsole [earlycon0] disabled
[    9.526042] bootconsole [earlycon0] disabled
[    9.547132] loop: module loaded
[    9.551153] sata_mv f1080000.sata: slots 32 ports 2
[    9.559956] scsi host0: sata_mv
[    9.563696] scsi host1: sata_mv
[    9.567154] ata1: SATA max UDMA/133 irq 32
[    9.571316] ata2: SATA max UDMA/133 irq 32
[    9.576938] nand: Could not find valid ONFI parameter page; aborting
[    9.583391] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    9.589748] nand: Hynix NAND 128MiB 3,3V 8-bit
[    9.594180] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    9.601758] Scanning device for bad blocks
[    9.691393] Bad eraseblock 758 at 0x000005ec0000
[    9.725919] 4 ofpart partitions found on MTD device orion_nand
[    9.731753] Creating 4 MTD partitions on "orion_nand":
[    9.736884] 0x000000000000-0x000000100000 : "u-boot"
[    9.743671] 0x000000100000-0x000000500000 : "uImage"
[    9.750514] 0x000000500000-0x000002500000 : "pogoplug"
[    9.757724] 0x000002500000-0x00000fd00000 : "root"
[    9.762586] mtd: partition "root" extends beyond the end of device "orion_nand" -- size truncated to 0x5b00000
[    9.777078] libphy: Fixed MDIO Bus: probed
[    9.782386] libphy: orion_mdio_bus: probed
[    9.787635] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.901045] ata1: SATA link down (SStatus 0 SControl F300)
[   10.249963] ata2: SATA link down (SStatus 0 SControl F300)
[   10.900445] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   10.909331] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.915858] ehci-pci: EHCI PCI platform driver
[   10.920402] ehci-orion: EHCI orion driver
[   10.924692] orion-ehci f1050000.ehci: EHCI Host Controller
[   10.930253] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   10.938109] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   10.968474] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.974822] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   10.981626] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.988851] usb usb1: Product: EHCI Host Controller
[   10.993714] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[   11.000419] usb usb1: SerialNumber: f1050000.ehci
[   11.006061] hub 1-0:1.0: USB hub found
[   11.009931] hub 1-0:1.0: 1 port detected
[   11.014739] usbcore: registered new interface driver usb-storage
[   11.021279] mousedev: PS/2 mouse device common for all mice
[   11.368472] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.559492] usb 1-1: New USB device found, idVendor=0781, idProduct=5575
[   11.566193] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   11.573352] usb 1-1: Product: Cruzer Glide
[   11.577432] usb 1-1: Manufacturer: SanDisk
[   11.581537] usb 1-1: SerialNumber: 4C530200271031104534
[   11.587795] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.594409] scsi host2: usb-storage 1-1:1.0
[   12.088473] rtc-mv f1010300.rtc: internal RTC not ticking
[   12.094100] i2c /dev entries driver
[   12.101494] hidraw: raw HID events driver (C) Jiri Kosina
[   12.107439] drop_monitor: Initializing network drop monitor service
[   12.114097] NET: Registered protocol family 17
[   12.118681] Key type dns_resolver registered
[   12.124078] registered taskstats version 1
[   12.128160] Loading compiled-in X.509 certificates
[   12.133060] zswap: loaded using pool lzo/zbud
[   12.141011] Key type big_key registered
[   12.147429] Key type encrypted registered
[   12.153379] hctosys: unable to open rtc device (rtc0)
[   12.159091] Waiting 10 sec before mounting root device...
[   12.649759] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     2.01 PQ: 0 ANSI: 6
[   12.660311] sd 2:0:0:0: [sda] 7821312 512-byte logical blocks: (4.00 GB/3.73 GiB)
[   12.669293] sd 2:0:0:0: [sda] Write Protect is off
[   12.674780] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   12.688375]  sda: sda1
[   12.694658] sd 2:0:0:0: [sda] Attached SCSI disk
[   22.249716] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   22.269079] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   22.276800] VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
[   22.293003] devtmpfs: mounted
[   22.300919] Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
ERROR: could not open /proc/stat: No such file or directory
findfs: unable to resolve 'LABEL=rootfs'
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   24.952447] marvell-cesa f1030000.crypto: CESA device successfully registered
[   24.985413] orion_wdt: Initial timeout 25 sec
[   25.042092] usbcore: registered new interface driver uas
[   25.119886] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   26.739689] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14494/244800 files, 221645/977408 blocks
. ok
[   27.081140] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:[   28.216315] random: crng init done
done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 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 of 192.168.1.23 on eth0 to 255.255.255.255 port 67
[   35.322190] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.543795] NET: Registered protocol family 10
[   37.552265] Segment Routing with IPv6
DHCPREQUEST of 192.168.1.23 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.23 from 192.168.1.1
bound to 192.168.1.23 -- renewal in 35080 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1257 (syslogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1256 (klogd)
. ok
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Wed Dec 31 16:02:06 PST 1969 on ttyS0
Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 armv5tel

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

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

Re: Need help giving new life to a previously Bricked Pogoplug V4
December 28, 2017 10:10PM
virtual,

Quote

> My question is that if there is any way to
> restore it in a way that I can boot it from
> sdcard.


Your box is actually in pretty good shape right now!

Your USB rootfs has some problem. But let's go straight to the SD card booting issue for now and you will see what need to be fixed for the USB rootfs.



1. Create the rootfs on SD card like you did for the USB rootfs. Follow the instruction very closely (being root, single Ext3 partition ...).

Note that you need to skip step 4 (this is the problem with your USB rootfs):

Quote

4. 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).

3 . Unplug the USB drive and plug this SD card into the Pogoplug

2. Power up, interrupt serial console and,

setenv devices 'mmc usb ide'
setenv dtb_file '/boot/dts/kirkwood-pogoplug_v4.dtb'

And then boot

boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Need help giving new life to a previously Bricked Pogoplug V4
December 29, 2017 02:09AM
Thanks Bodi, man! you came to help right away.
Yes, I don't really care about usb boot as I need usb port to connect hard drives anyway.
I did exactly as you said. It worked well. I am posting my output just for future reference to help other people.
I will try to install samba and other packages on it now.
One question, should I try to fix things in pogoplug to make it bootable if sdcard is not available? or should I just leave things like that and just backup sd card?

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.100 is not alive
Hit any key to stop autoboot:  0
Pogov4> setenv devices 'mmc usb ide'
Pogov4> setenv dtb_file '/boot/dts/kirkwood-pogoplug_v4.dtb'
Pogov4> boot

MMC rescan: current device # 0 initialized OK
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            15521792        20a95607-01     83
loading envs from mmc 0 ...
** File not found /boot/uEnv.txt **
## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

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

no IDE devices available
running scan_disk ...
Scan device mmc

MMC rescan: current device # 0 initialized OK
device mmc 0:1
1 bytes read in 19 ms (0 Bytes/s)
Found bootable drive on mmc 0
loading uImage ...
3821592 bytes read in 222 ms (16.4 MiB/s)
loading uInitrd ...
7245696 bytes read in 398 ms (17.4 MiB/s)
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
10284 bytes read in 46 ms (217.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 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 07420000, end 07b08f40 ... OK
   Loading Device Tree to 0741a000, end 0741f82b ... OK
Using machid 0xf78 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version                                                                                                                      4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397                                                                                                                     f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug v4
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                                     es: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootd                                                                                                                     elay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(                                                                                                                     root)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 109428K/131072K available (8192K kernel code, 716K rwdata                                                                                                                     , 1972K rodata, 1024K init, 288K bss, 21644K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xff                                                                                                                     ffffff, max_idle_ns: 11467562657 ns
[    0.000012] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884                                                                                                                     901885ns
[    0.000067] Switching to timer-based delay loop, resolution 6ns
[    0.000765] Console: colour dummy device 80x30
[    0.000815] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                                     equency.. 333.33 BogoMIPS (lpj=1666666)
[    0.000850] pid_max: default: 32768 minimum: 301
[    0.001145] Security Framework initialized
[    0.001328] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001357] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002651] CPU: Testing write buffer coherency: ok
[    0.004214] Setting up static identity map for 0x100000 - 0x100058
[    0.004613] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.009526] devtmpfs: initialized
[    0.015389] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                                     x_idle_ns: 19112604462750000 ns
[    0.015431] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.016052] prandom: seed boundary self test passed
[    0.021786] prandom: 100 self tests passed
[    0.021811] pinctrl core: initialized pinctrl subsystem
[    0.023551] NET: Registered protocol family 16
[    0.024291] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.026647] cpuidle: using governor ladder
[    0.026753] cpuidle: using governor menu
[    0.027401] Feroceon L2: Enabling L2
[    0.027466] Feroceon L2: Cache support initialised.
[    0.028014] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet                                                                                                                     0-port@0: local-mac-address is not set
[    0.035042] No ATAGs?
[    0.048336] vgaarb: loaded
[    0.048799] SCSI subsystem initialized
[    0.049463] usbcore: registered new interface driver usbfs
[    0.049589] usbcore: registered new interface driver hub
[    0.049710] usbcore: registered new device driver usb
[    0.051385] clocksource: Switched to clocksource orion_clocksource
[    0.183739] VFS: Disk quotas dquot_6.6.0
[    0.183856] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.198753] NET: Registered protocol family 2
[    0.199815] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.199858] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.199888] TCP: Hash tables configured (established 1024 bind 1024)
[    0.200018] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200053] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.200303] NET: Registered protocol family 1
[    0.200890] RPC: Registered named UNIX socket transport module.
[    0.200908] RPC: Registered udp transport module.
[    0.200919] RPC: Registered tcp transport module.
[    0.200929] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.201265] Unpacking initramfs...
[    1.168539] Freeing initrd memory: 7076K
[    1.168746] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.170124] audit: initializing netlink subsys (disabled)
[    1.170827] Initialise system trusted keyrings
[    1.170919] Key type blacklist registered
[    1.171051] audit: type=2000 audit(1.169:1): state=initialized audit_enabled=                                                                                                                     0 res=1
[    1.171183] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.171281] zbud: loaded
[    1.172805] NFS: Registering the id_resolver key type
[    1.172849] Key type id_resolver registered
[    1.172862] Key type id_legacy registered
[    1.172887] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.172902] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.173188] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.173466] fuse init (API version 7.26)
[    1.173980] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.174379] orangefs_init: module version upstream loaded
[    1.174395] SGI XFS with ACLs, security attributes, realtime, no debug enable                                                                                                                     d
[    2.551396] random: fast init done
[    9.945324] Key type asymmetric registered
[    9.945348] Asymmetric key parser 'x509' registered
[    9.945448] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                                     49)
[    9.945464] io scheduler noop registered
[    9.945476] io scheduler deadline registered
[    9.945591] io scheduler cfq registered (default)
[    9.946845] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4                                                                                                                     7
[    9.946871] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4                                                                                                                     9
[    9.947370] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driv                                                                                                                     er
[    9.950172] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridg                                                                                                                     e to bus 0000:00
[    9.950203] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    9.950223] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.950243] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.950727] PCI: bus0: Fast back to back transfers disabled
[    9.950762] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec                                                                                                                     onfiguring
[    9.950989] PCI: bus1: Fast back to back transfers enabled
[    9.951098] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.952155] mv_xor f1060800.xor: Marvell shared XOR driver
[   10.012521] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg i                                                                                                                     ntr )
[   10.012837] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.072503] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg i                                                                                                                     ntr )
[   10.073127] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.075011] console [ttyS0] disabled
[   10.075108] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud =                                                                                                                      10416666) is a 16550A
[   10.735998] console [ttyS0] enabled
[   10.751996] loop: module loaded
[   10.755946] sata_mv f1080000.sata: slots 32 ports 2
[   10.764748] scsi host0: sata_mv
[   10.768512] scsi host1: sata_mv
[   10.772062] ata1: SATA max UDMA/133 irq 32
[   10.776148] ata2: SATA max UDMA/133 irq 32
[   10.781729] nand: Could not find valid ONFI parameter page; aborting
[   10.788073] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   10.794498] nand: Hynix NAND 128MiB 3,3V 8-bit
[   10.798933] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz                                                                                                                     e: 64
[   10.806514] Scanning device for bad blocks
[   10.873402] Bad eraseblock 758 at 0x000005ec0000
[   10.899983] 5 cmdlinepart partitions found on MTD device orion_nand
[   10.906250] Creating 5 MTD partitions on "orion_nand":
[   10.911405] 0x000000000000-0x000000200000 : "u-boot"
[   10.918185] 0x000000200000-0x000000500000 : "uImage"
[   10.925001] 0x000000500000-0x000000800000 : "uImage2"
[   10.931892] 0x000000800000-0x000001000000 : "failsafe"
[   10.938955] 0x000001000000-0x000008000000 : "root"
[   10.948209] libphy: Fixed MDIO Bus: probed
[   10.953506] libphy: orion_mdio_bus: probed
[   10.964873] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.113041] ata1: SATA link down (SStatus 0 SControl F300)
[   11.462916] ata2: SATA link down (SStatus 0 SControl F300)
[   12.083515] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address                                                                                                                      52:3b:20:9c:11:51
[   12.092410] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.098943] ehci-pci: EHCI PCI platform driver
[   12.103491] ehci-orion: EHCI orion driver
[   12.107779] orion-ehci f1050000.ehci: EHCI Host Controller
[   12.113329] orion-ehci f1050000.ehci: new USB bus registered, assigned bus nu                                                                                                                     mber 1
[   12.121191] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   12.151434] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   12.157753] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   12.164560] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                                     1
[   12.171786] usb usb1: Product: EHCI Host Controller
[   12.176651] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[   12.183353] usb usb1: SerialNumber: f1050000.ehci
[   12.189001] hub 1-0:1.0: USB hub found
[   12.192878] hub 1-0:1.0: 1 port detected
[   12.197740] usbcore: registered new interface driver usb-storage
[   12.204278] mousedev: PS/2 mouse device common for all mice
[   13.281426] rtc-mv f1010300.rtc: internal RTC not ticking
[   13.287051] i2c /dev entries driver
[   13.292567] hidraw: raw HID events driver (C) Jiri Kosina
[   13.298483] drop_monitor: Initializing network drop monitor service
[   13.305137] NET: Registered protocol family 17
[   13.309686] Key type dns_resolver registered
[   13.315096] registered taskstats version 1
[   13.319184] Loading compiled-in X.509 certificates
[   13.324087] zswap: loaded using pool lzo/zbud
[   13.342959] Key type big_key registered
[   13.360473] Key type encrypted registered
[   13.366649] hctosys: unable to open rtc device (rtc0)
[   13.376769] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   14.030341] mvsdio f1090000.mvsdio: Got CD GPIO
[   14.169177] mmc0: host does not support reading read-only switch, assuming wr                                                                                                                     ite-enable
[   14.187215] mmc0: new high speed SDHC card at address aaaa
[   14.387647] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
[   14.396381]  mmcblk0: p1
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.
Warning: fsck not present, so skipping root file system
[   24.745329] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 sub                                                                                                                     system
[   24.754671] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesyst                                                                                                                     em
[   24.762047] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
[   54.672594] EXT4-fs (mmcblk0p1): recovery complete
[   54.686538] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. O                                                                                                                     pts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   57.161638] input: gpio_keys                                                                                                                      as /devices/platform/gpio_keys/input/input0
[ ok                                             done.
[....] Waiting for /dev to be fully populated...[   57.590658] orion_wdt: Initia                                                                                                                     l timeout 25 sec
[   57.702963] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
[ ok ] Activating swap:.
[   59.247532] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/mmcblk0p1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14453/485760 files, 235925/1940224 blocks
. ok
[   59.549087] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs                                                                                                                     [ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client                                                                                                                      4.3.5
Copyright 2004-2016 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 of 192.168.0.14 on eth0 to 255.255.255.255 port 67
[   67.425182] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, ful                                                                                                                     l duplex, flow control disabled
[   69.331863] NET: Registered protocol family 10
[   69.342837] Segment Routing with IPv6
DHCPREQUEST of 192.168.0.14 on eth0 to 255.255.255.255 port 67
DHCPNAK from 169.254.255.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.1.23 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.23 from 192.168.1.1
DHCPACK of 192.168.1.23 from 192.168.1.1
bound to 192.168.1.23 -- renewal in 34957 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd.                                                                                                                     ..
1325 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1324 (klogd)
. ok
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Wed Dec 31 16:01:32 PST 1969 from 192.168.0.220 on pts/0
Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 armv5                                                                                                                     tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# rm /etc/ssh/ssh_host*
root@debian:~# ssh-keygen -A
ssh-keygen: generating new host keys: RSA [  151.921600] random: crng init done

root@debian:~#

Re: Need help giving new life to a previously Bricked Pogoplug V4
December 29, 2017 02:39AM
virtual,

> Thanks Bodi, man! you came to help right away.
> Yes, I don't really care about usb boot as I need
> usb port to connect hard drives anyway.
> I did exactly as you said. It worked well. I am
> posting my output just for future reference to
> help other people.

Cool!

> One question, should I try to fix things in
> pogoplug to make it bootable if sdcard is not
> available? or should I just leave things like that
> and just backup sd card?

Backup the SD card. And you can try boot with that USB as a fallback, too. Rescue system in NAND is something extra, no need to spend too much time on it. If it fails to boot with SD card, you can boot with USB and fix the SD card while in Debian. And you also have serial console so even less needs for rescue system in NAND.

Your current u-boot env is capable of booting SD card, or USB, or SATA. In that order of scanning.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 12/29/2017 02:42AM by bodhi.
Re: Need help giving new life to a previously Bricked Pogoplug V4
December 30, 2017 06:02AM
Hi Bodi, Thanks a lot. I really appreciate your help. I was able to save it from being landfill.
For the first time, I learned to connect serial console, edit rcS file, setting up, editing and saving environment in past few days. Not really worth my time money wise but it came up as a learning challenge that I couldn't lose LOL :)
Now it has samba and transmission running. I have backed up the SD card. Yeah, you are right with bootable USB, SD card and serial console, I don't need to worry about NAND rescue thing.
One thing I do want to share for future readers of this thread is that I didn't solder Serial Connections. I used the thin wires that come with packaging of bread,cables etc. I glued the wires close to the connections, with exposed ends on serial points on circuit board, put a rubber on top of them and used a binder clip to keep them in place.
Re: Need help giving new life to a previously Bricked Pogoplug V4
December 30, 2017 06:31AM
virtual,

> One thing I do want to share for future readers of
> this thread is that I didn't solder Serial
> Connections. I used the thin wires that come with
> packaging of bread,cables etc. I glued the wires
> close to the connections, with exposed ends on
> serial points on circuit board, put a rubber on
> top of them and used a binder clip to keep them in
> place.

Cool mod!

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 19 plus 21?
Message: