PogoProReallyBrickedNow...... December 05, 2019 08:40AM |
Registered: 5 years ago Posts: 33 |
root@debian:/home/pogobackup/tmp# /usr/sbin/flash_erase /dev/mtd0 0x0 6 Erasing 128 Kibyte @ 7f623f5c00000064 -- 6 % complete
./disk_create_shv
root@john-NUC6CAYH:/home/kwboot/kwboot-tool# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.spl.2013.10.ox820.850mhz.mtd0.img -p uboot.spl.2013.10.ox820.850mhz.mtd0.img: Invalid image.
..... kwboot-like serial recovery yet needs to be found…
Re: PogoProReallyBrickedNow...... December 05, 2019 06:25PM |
Admin Registered: 14 years ago Posts: 19,425 |
> root@debian:/home/pogobackup/tmp# > /usr/sbin/flash_erase /dev/mtd0 0x0 6 > Erasing 128 Kibyte @ 7f623f5c00000064 -- 6 % > complete
Re: PogoProReallyBrickedNow...... December 06, 2019 11:03AM |
Registered: 5 years ago Posts: 33 |
Quote
You should have stopped here and post question :)
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 128 MiB IDE: Bus 0: OK Device 0: Model: SINTECHI HighSpeed SD to CF Adapter V1.0 Firm: Rev 1.2 Ser#: DC5F53C8 Type: Hard Disk Capacity: 30528.0 MB = 29.8 GB (62521344 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 3 2 1 0 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 128 MiB IDE: Bus 0: OK Device 0: Model: SINTECHI HighSpeed SD to CF Adapter V1.0 Firm: Rev 1.2 Ser#: DC5F53C8 Type: Hard Disk Capacity: 30528.0 MB = 29.8 GB (62521344 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 3 2 1 0
OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 mem=128M if_netconsole=ping $serverip ipaddr=192.168.0.100 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 128 MiB IDE: Bus 0: OK Device 0: Model: SINTECHI HighSpeed SD to CF Adapter V1.0 Firm: Rev 1.2 Ser#: DC5F53C8 Type: Hard Disk Capacity: 30528.0 MB = 29.8 GB (62521344 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 ide - IDE sub-system Usage: ide reset - reset IDE controller ide info - show available IDE devices ide device [dev] - show or set current device ide part [dev] - print partition table of one or all IDE devices ide read addr blk# cnt ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#' to/from memory address `addr' 2212156 bytes read in 1197 ms (1.8 MiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-2.6.31.14_OX820_1.2_shv Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2212092 Bytes = 2.1 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK Loading Kernel Image ... OK Led: GREEN Starting kernel ... Uncompressing Linux....................................................................................................................................... done, booting the kernel. [ 0.000000] Linux version 2.6.31.14_OX820_1.2_shv (root@plug2) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Fri Oct 4 11:38:10 CEST 2013 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: Oxsemi NAS [ 0.000000] 1 memory region [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 mem=128M [ 0.000000] PID hash table entries: 512 (order: 9, 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: 128MB = 128MB total [ 0.000000] Memory: 125368KB available (3816K code, 304K data, 132K init, 0K highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:96 [ 0.000000] OX820_RPS_init_irq: interrupts 64 to 96 [ 0.010000] Console: colour dummy device 80x30 [ 0.010000] console [ttyS0] enabled [ 0.020000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.230000] Security Framework initialized [ 0.230000] Mount-cache hash table entries: 512 [ 0.240000] CPU: Testing write buffer coherency: ok [ 0.240000] Calibrating local timer... 424.49MHz. [ 0.310000] CPU1: Booted secondary processor [ 0.410000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.620000] Brought up 2 CPUs [ 0.630000] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.640000] NET: Registered protocol family 16 [ 0.640000] Number of DMA channels = 4, version = 4 [ 0.650000] Reserving a DMA channel for DirectRAID [ 0.650000] Allocating 389 SRAM generic DMA descriptors [ 1.160000] PCIeA version/deviceID 082510b5 [ 1.160000] PCIeB version/deviceID 082510b5 [ 4.190000] ox820_pci_preinit() PCIEB link up timeout (00001814) [ 4.190000] ox820_pcie_setup_resources() Enabling PCIe Pre-Emphasis [ 4.200000] ox820_pciea_setup_resources() resource c7853f80 [ 4.200000] ox820_pciea_setup_resources() io: 0x4be00000 - 0x4befffff [ 4.210000] ox820_pciea_setup_resources() non-pre: 0x48000000 - 0x49ffffff [ 4.220000] ox820_pciea_setup_resources() pre: 0x4a000000 - 0x4bdfffff [ 4.220000] PCI: bus0: Fast back to back transfers disabled [ 4.230000] PCI: bus1: Fast back to back transfers enabled [ 4.250000] bio: create slab <bio-0> at 0 [ 4.250000] SCSI subsystem initialized [ 4.260000] usbcore: registered new interface driver usbfs [ 4.260000] usbcore: registered new interface driver hub [ 4.270000] usbcore: registered new device driver usb [ 4.310000] NET: Registered protocol family 2 [ 4.310000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 4.320000] Switched to NOHz mode on CPU #0 [ 4.320000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 4.320000] Switched to NOHz mode on CPU #1 [ 4.330000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 4.340000] TCP: Hash tables configured (established 4096 bind 4096) [ 4.340000] TCP reno registered [ 4.350000] NET: Registered protocol family 1 [ 4.350000] Create fragment cache [ 4.360000] fuse init (API version 7.12) [ 4.360000] msgmni has been set to 245 [ 4.370000] alg: No test for stdrng (krng) [ 4.370000] io scheduler noop registered [ 4.380000] io scheduler anticipatory registered (default) [ 4.380000] io scheduler deadline registered [ 4.390000] io scheduler cfq registered [ 4.390000] ox820_gpio: initialized [ 4.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.420000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A [ 4.430000] brd: module loaded [ 4.440000] loop: module loaded [ 4.440000] ox820sata: OX820 sata core. [ 4.450000] scsi0 : oxnassata [ 4.450000] scsi1 : oxnassata [ 4.460000] ata1: SATA max UDMA/133 irq 50 [ 4.460000] ata2: SATA max UDMA/133 irq 50 [ 4.460000] ox820sata: reseting SATA core [ 4.990000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 5.000000] ata1.00: CFA: SINTECHI HighSpeed SD to CF Adapter V1.0, Rev 1.2, max UDMA/100 [ 5.000000] ata1.00: 62521344 sectors, multi 1: LBA [ 5.010000] ata1.00: configured for UDMA/100 [ 5.020000] ox820sata: reseting SATA core [ 5.730000] ata2: SATA link down (SStatus 0 SControl 300) [ 5.730000] scsi 0:0:0:0: Direct-Access ATA SINTECHI HighSpe Rev PQ: 0 ANSI: 5 [ 5.740000] sd 0:0:0:0: [sda] 62521344 512-byte logical blocks: (32.0 GB/29.8 GiB) [ 5.750000] sd 0:0:0:0: [sda] Write Protect is off [ 5.750000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 5.760000] NAND: Page read time 40ms [ 5.760000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) [ 5.760000] Scanning device for bad blocks [ 5.760000] Bad eraseblock 33 at 0x000000420000 [ 5.780000] Bad eraseblock 336 at 0x000002a00000 [ 5.790000] Bad eraseblock 496 at 0x000003e00000 [ 5.800000] Bad eraseblock 629 at 0x000004ea0000 [ 5.830000] Bad eraseblock 1015 at 0x000007ee0000 [ 5.840000] sda: [ 5.840000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit": [ 5.850000] 0x000000000000-0x000000e00000 : "boot" [ 5.850000] sda1 [ 5.850000] 0x000000e00000-0x000008000000 : "rootfs" [ 5.860000] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.860000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.870000] Start USB clocks [ 5.870000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller [ 5.880000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 [ 5.920000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 [ 5.940000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00 [ 5.940000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 5.950000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.950000] usb usb1: Product: OXNAS EHCI Host Controller [ 5.960000] usb usb1: Manufacturer: Linux 2.6.31.14_OX820_1.2_shv ehci_hcd [ 5.970000] usb usb1: SerialNumber: usb [ 5.970000] usb usb1: configuration #1 chosen from 1 choice [ 5.980000] hub 1-0:1.0: USB hub found [ 5.980000] hub 1-0:1.0: 2 ports detected [ 5.990000] Initializing USB Mass Storage driver... [ 5.990000] usbcore: registered new interface driver usb-storage [ 6.000000] USB Mass Storage support registered. [ 6.000000] usbcore: registered new interface driver libusual [ 6.010000] mice: PS/2 mouse device common for all mice [ 6.010000] TCP cubic registered [ 6.020000] NET: Registered protocol family 10 [ 6.020000] NET: Registered protocol family 17 [ 6.030000] RPC: Registered udp transport module. [ 6.030000] RPC: Registered tcp transport module. [ 6.040000] registered taskstats version 1 [ 6.040000] VFS: Cannot open root device "sda2" or unknown-block(8,2) [ 6.050000] Please append a correct "root=" boot option; here are the available partitions: [ 6.060000] 0800 31260672 sda driver: sd [ 6.060000] 0801 2097152 sda1 [ 6.070000] 1f00 131072 mtdblock0 (driver?) [ 6.070000] 1f01 14336 mtdblock1 (driver?) [ 6.080000] 1f02 116736 mtdblock2 (driver?) [ 6.080000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) [ 6.090000] CPU0: stopping [ 6.090000] [<c002f4c4>] (unwind_backtrace+0x0/0xe8) from [<c0029340>] (do_IPI+0xe4/0x148) [ 6.090000] [<c0029340>] (do_IPI+0xe4/0x148) from [<c0029c18>] (__irq_svc+0x38/0xc0) [ 6.090000] Exception stack(0xc03f9f58 to 0xc03f9fa0) [ 6.090000] 9f40: 028cba36 00000000 [ 6.120000] 9f60: c03f9fa0 00000000 c03f8000 c0421464 c03fe1bc c055a000 c042f484 000011a0 [ 6.130000] 9f80: c03fdf00 c04211e0 ffff8d34 c03f9fa0 c002ab80 c002ab84 60000013 ffffffff [ 6.130000] [<c0029c18>] (__irq_svc+0x38/0xc0) from [<c002ab84>] (default_idle+0x24/0x28) [ 6.150000] [<c002ab84>] (default_idle+0x24/0x28) from [<c002b080>] (cpu_idle+0x64/0x98) [ 6.150000] [<c002b080>] (cpu_idle+0x64/0x98) from [<c0008b50>] (start_kernel+0x330/0x398) [ 6.160000] [<c0008b50>] (start_kernel+0x330/0x398) from [<60008084>] (0x60008084)
OX820 # setenv dt_bootm bootm $uimage_addr $uinitrd_addr $dtb_addr OX820 # saveenv Saving Environment to EXT4... File System is consistent file found deleting update journal finished File System is consistent update journal finished done OX820 #
dt_ide_bootcmd=run ide_set_bootargs; run dt_ide_boot ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M
Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.12.13-oxnas-tld-5 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #3 SMP PREEMPT Mon May 12 17:42:03 PDT 2014 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: PLXTECH NAS782X SoC (Flattened Device Tree), model: Pogoplug Pro [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map [ 0.000000] Start Ox820 platform [ 0.000000] PERCPU: Embedded 7 pages/cpu @c0826000 s6656 r8192 d13824 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M [ 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: 120492K/131072K available (5186K kernel code, 234K rwdata, 1460K rodata, 158K init, 223K bss, 10580K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0685b90 (6647 kB) [ 0.000000] .init : 0xc0686000 - 0xc06ada00 ( 159 kB) [ 0.000000] .data : 0xc06ae000 - 0xc06e8aa0 ( 235 kB) [ 0.000000] .bss : 0xc06e8aac - 0xc0720868 ( 224 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:160 [ 0.000000] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000189] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050014] pid_max: default: 32768 minimum: 301 [ 0.050234] Mount-cache hash table entries: 512 [ 0.052784] CPU: Testing write buffer coherency: ok [ 0.053189] Setting up static identity map for 0xc04ee9e8 - 0xc04eea20 [ 0.110359] CPU1: Booted secondary processor [ 0.170165] Brought up 2 CPUs [ 0.170191] SMP: Total of 2 processors activated. [ 0.171284] devtmpfs: initialized [ 0.174876] pinctrl core: initialized pinctrl subsystem [ 0.175252] NET: Registered protocol family 16 [ 0.175744] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.178764] gpio-oxnas 44000000.gpio: at address c8846000 [ 0.178977] gpio-oxnas 44100000.gpio: at address c8848000 [ 0.179489] pinctrl-oxnas pinctrl.5: initialized OX820 pinctrl driver [ 0.186168] bio: create slab <bio-0> at 0 [ 0.296952] oxnas-pcie 47c0: PCIe version/deviceID 0x82510b5 [ 0.297070] oxnas-pcie 47c0: link up [ 0.297259] oxnas-pcie 47c0: PCI host bridge to bus 0000:00 [ 0.297282] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff] [ 0.297300] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref] [ 0.297318] pci_bus 0000:00: root bus resource [io 0x4be00000-0x4befffff] [ 0.297336] pci_bus 0000:00: root bus resource [bus 00-7f] [ 0.297689] PCI: bus0: Fast back to back transfers disabled [ 0.297758] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff] [ 0.298086] vgaarb: loaded [ 0.298465] SCSI subsystem initialized [ 0.299133] usbcore: registered new interface driver usbfs [ 0.299212] usbcore: registered new interface driver hub [ 0.299389] usbcore: registered new device driver usb [ 0.299476] pps_core: LinuxPPS API ver. 1 registered [ 0.299489] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.299522] PTP clock support registered [ 0.300587] cfg80211: Calling CRDA to update world regulatory domain [ 0.301757] Switched to clocksource rps_clocksource_timer [ 0.313249] NET: Registered protocol family 2 [ 0.313996] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.314048] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.314083] TCP: Hash tables configured (established 1024 bind 1024) [ 0.314168] TCP: reno registered [ 0.314193] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.314237] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.314577] NET: Registered protocol family 1 [ 0.315038] RPC: Registered named UNIX socket transport module. [ 0.315059] RPC: Registered udp transport module. [ 0.315069] RPC: Registered tcp transport module. [ 0.315082] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.315379] Unpacking initramfs... [ 0.527749] Freeing initrd memory: 2052K (c7c27000 - c7e28000) [ 0.541721] NFS: Registering the id_resolver key type [ 0.541793] Key type id_resolver registered [ 0.541808] Key type id_legacy registered [ 0.541834] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.542492] fuse init (API version 7.22) [ 0.543436] msgmni has been set to 239 [ 0.607774] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.607797] io scheduler noop registered [ 0.607810] io scheduler deadline registered [ 0.608074] io scheduler cfq registered (default) [ 0.608481] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.609579] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 1.124044] console [ttyS0] enabled [ 1.128949] scsi0 : sata_oxnas [ 1.132272] ata1: SATA max UDMA/133 irq 50 [ 1.136455] ox820sata: reseting SATA core [ 1.137717] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64 [ 1.137735] Scanning device for bad blocks [ 1.140490] Bad eraseblock 33 at 0x000000420000 [ 1.164789] Bad eraseblock 336 at 0x000002a00000 [ 1.182103] Bad eraseblock 496 at 0x000003e00000 [ 1.197255] Bad eraseblock 629 at 0x000004ea0000 [ 1.232558] Bad eraseblock 1015 at 0x000007ee0000 [ 1.237898] 2 ofpart partitions found on MTD device 41000000.nand [ 1.243985] Creating 2 MTD partitions on "41000000.nand": [ 1.249367] 0x000000000000-0x000000e00000 : "boot" [ 1.255367] 0x000000e00000-0x000008000000 : "data" [ 1.261747] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 1.266775] Ring mode enabled [ 1.269808] DMA HW capability register supported [ 1.274337] Enhanced/Alternate descriptors [ 1.278666] Enabled extended descriptors [ 1.282667] RX Checksum Offload Engine supported (type 2) [ 1.288122] TX Checksum insertion supported [ 1.292377] Wake-Up On Lan supported [ 1.296017] Enable RX Mitigation via HW Watchdog Timer [ 1.318809] libphy: stmmac: probed [ 1.322234] eth0: PHY ID 001cc914 at 0 IRQ 0 (stmmac-0:00) active [ 1.328302] eth0: PHY ID 001cc914 at 3 IRQ 0 (stmmac-0:03) [ 1.333918] PCI: enabling device 0000:00:00.0 (0140 -> 0142) [ 1.339709] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3213 detected [ 1.350901] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected [ 1.359206] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.365739] ehci-pci: EHCI PCI platform driver [ 1.370480] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 1.375969] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 1.383726] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100 [ 1.400445] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 1.406673] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.413460] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.420659] usb usb1: Product: EHCI Host Controller [ 1.425515] usb usb1: Manufacturer: Linux 3.12.13-oxnas-tld-5 ehci_hcd [ 1.432023] usb usb1: SerialNumber: 40200100.ehci [ 1.437370] hub 1-0:1.0: USB hub found [ 1.441226] hub 1-0:1.0: 2 ports detected [ 1.445752] usbcore: registered new interface driver usb-storage [ 1.452026] mousedev: PS/2 mouse device common for all mice [ 1.458380] usbcore: registered new interface driver usbhid [ 1.463976] usbhid: USB HID core driver [ 1.468075] TCP: cubic registered [ 1.472419] NET: Registered protocol family 10 [ 1.478218] sit: IPv6 over IPv4 tunneling driver [ 1.483678] NET: Registered protocol family 17 [ 1.488238] Key type dns_resolver registered [ 1.679992] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 1.690503] ata1.00: CFA: SINTECHI HighSpeed SD to CF Adapter V1.0, Rev 1.2, max UDMA/100 [ 1.698675] ata1.00: 62521344 sectors, multi 1: LBA [ 1.708288] ata1.00: configured for UDMA/100 [ 1.730447] scsi 0:0:0:0: Direct-Access ATA SINTECHI HighSpe Rev PQ: 0 ANSI: 5 [ 1.739358] sd 0:0:0:0: [sda] 62521344 512-byte logical blocks: (32.0 GB/29.8 GiB) [ 1.747392] sd 0:0:0:0: [sda] Write Protect is off [ 1.752391] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1.761607] usb 1-1: new high-speed USB device number 2 using oxnas-ehci [ 1.770990] sda: sda1 [ 1.774914] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.779742] Freeing unused kernel memory: 156K (c0686000 - c06ad000) Loading, please wait... [ 1.911946] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 1.918627] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.930042] usb 1-1: Product: USB2.0 Hub [ 1.935362] udev[73]: starting version 164 [ 1.943045] hub 1-1:1.0: USB hub found [ 1.947494] hub 1-1:1.0: 4 ports detected 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. [ 2.462561] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 0 failed (64904!=0) [ 2.470991] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 1 failed (27197!=0) [ 2.479232] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 2 failed (33051!=0) [ 2.487531] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 3 failed (14511!=0) [ 2.495825] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 4 failed (54377!=0) [ 2.504089] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 5 failed (22562!=0) [ 2.512340] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 6 failed (42161!=0) [ 2.520601] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 7 failed (25897!=0) [ 2.538027] JBD2: Unrecognised features on journal [ 2.542860] EXT4-fs (sda1): error loading journal mount: mounting /dev/sda1 on /root failed: Invalid argument Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory done. mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs)
BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash) Enter 'help' for a list of built-in commands. /bin/sh: can't access tty; job control turned off (initramfs) uname -a Linux (none) 3.12.13-oxnas-tld-5 #3 SMP PREEMPT Mon May 12 17:42:03 PDT 2014 armv6l GNU/Linux (initramfs) lsblk /bin/sh: lsblk: not found (initramfs) help Built-in commands: ------------------ . : [ [[ alias bg break cd chdir command continue echo eval exec exit export false fg getopts hash help jobs kill let local printf pwd read readonly return set shift source test times trap true type ulimit umask unalias unset wait [ [[ adjtimex arping ash awk basename blockdev brctl bunzip2 bzcat bzip2 cal cat chgrp chmod chown chroot chvt clear cmp cp cpio cut date dc dd deallocvt df dirname dmesg dnsdomainname dos2unix du dumpkmap dumpleases echo egrep env expr false fgrep find fold free ftpget ftpput getopt grep gunzip gzip head hexdump hostid hostname httpd id ifconfig ionice ip ipcalc kill killall klogd last length ln loadfont loadkmap logger logname logread losetup ls lzcat lzma md5sum mkdir mkfifo mknod mktemp more mount mt mv nameif nc netstat nslookup od openvt patch pidof ping ping6 printf ps pwd rdate readlink realpath renice reset rev rm rmdir route rpm rpm2cpio run-parts sed setkeycodes sh sha1sum sha256sum sha512sum sleep sort start-stop-daemon strings stty swapoff swapon sync sysctl syslogd tac tail tar tee telnet test tftp time top touch tr traceroute traceroute6 true tty udhcpc udhcpd umount uname uncompress uniq unix2dos unlzma unxz unzip uptime usleep uudecode uuencode vi watch watchdog wc wget which who whoami xargs xz xzcat yes zcat (initramfs)
00000000 C1 CA 9D B8 16 64 74 5F 62 6F 74 6D 3D 62 6F 6F 74 6D .....dt_bootm
Re: PogoProReallyBrickedNow...... December 06, 2019 05:28PM |
Admin Registered: 14 years ago Posts: 19,425 |
> 00000000 C1 > CA 9D B8 16 64 74 5F 62 6F 74 6D 3D 62 6F > 6F 74 6D .....dt_bootm >>
Re: PogoProReallyBrickedNow...... December 06, 2019 05:43PM |
Admin Registered: 14 years ago Posts: 19,425 |
printenv
Re: PogoProReallyBrickedNow...... December 07, 2019 01:53AM |
Registered: 5 years ago Posts: 33 |
OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_ide_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=128M if_netconsole=ping $serverip ipaddr=192.168.0.100 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10
dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot ide_set_bootargs=setenv bootargs root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 mem=128MBusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Re: PogoProReallyBrickedNow...... December 07, 2019 04:23AM |
Admin Registered: 14 years ago Posts: 19,425 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10' setenv bootcmd 'run dt_bootcmd_usb' boot
Re: PogoProReallyBrickedNow...... December 07, 2019 09:51AM |
Registered: 5 years ago Posts: 33 |
Re: PogoProReallyBrickedNow...... December 07, 2019 04:58PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
Maybe I can help fellow owners of this type of Pogoplug when I make a log if what I had done in order to ¨unbrick¨ a PogoPro.
I can also try to summarize how to start from a stock Pogopro (that was were I started) and then build one with the latest versions of u-boot etc.
Re: PogoProReallyBrickedNow...... December 07, 2019 05:03PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
But creating a basic SATA rescue with all tooling for nand management disk should not be that complicated I would assume. Only the proper env settings and the matching bootloaders etc?
Re: PogoProReallyBrickedNow...... December 11, 2019 03:46PM |
Registered: 5 years ago Posts: 33 |
[ 2.489336] JBD2: Unrecognised features on journal [ 2.494179] EXT4-fs (sda1): error loading journal mount: mounting /dev/sda1 on /root failed: Invalid argumentSo I assume it does not mount because something is amiss with the features of the EXT4 filesystem. I disabled the feature using:
tune2fs -O ^has_journal /dev/sdb1
findfs: unable to resolve 'LABEL=rootfs'
Re: PogoProReallyBrickedNow...... December 11, 2019 05:29PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: PogoProReallyBrickedNow...... December 19, 2019 05:23AM |
Registered: 5 years ago Posts: 33 |
ls -l /home/rescue/boot total 8380 drwxr-xr-x 2 root root 4096 aug 3 2014 dts -rwxr-xr-x 1 root root 16384 jan 1 1970 u-boot.env -rw-r--r-- 1 root root 525880 aug 3 2014 u-boot.img -rwxr-xr-x 1 root root 32120 aug 3 2014 u-boot-spl.bin -rw-r--r-- 1 root root 3676848 aug 3 2014 uImage -rw-r--r-- 1 root root 2212156 aug 3 2014 uImage_2.6.31.14_OX820_1.2_shv.Pro -rw-r--r-- 1 root root 2103272 aug 3 2014 uInitrd
#!/bin/sh # uncomment line below and set to the correct disk disk=/dev/sdb #pay attention to fit yourself.this is my situation if [ -z "${disk}" ] ; then echo "You must uncomment/set the 'disk' variable" exit -1 fi workarea=. stage1File=$workarea/boot/u-boot-spl.bin perl <<EOF | dd of="$disk" bs=512 print "\x00" x 0x1a4; print "\x00\x5f\x01\x00"; print "\x00\xdf\x00\x00"; print "\x00\x80\x00\x00"; print "\x00" x (0x1b0 -0x1a4 -12 ); print "\x22\x80\x00\x00"; print "\x22\x00\x00\x00"; print "\x00\x80\x00\x00"; EOF if [ -f $stage1File ];then echo "Writing stage 1" dd if=$stage1File of="$disk" bs=512 seek=34 fi
Re: PogoProReallyBrickedNow...... December 19, 2019 05:15PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: PogoProReallyBrickedNow...... December 25, 2019 10:17PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
Booting Debian on Pogoplug
How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
How to boot Debian rootfs on a GPT HDD with stock u-boot (kernel files stored in HDD raw sector), 2nd HowTo post
How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post
Re: PogoProReallyBrickedNow...... December 26, 2019 01:01AM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
Unpack the archive to a temporary directory on your system with:
cd ????
tar -xjf Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2
Then copy all directories created to the drive root directory, but DO NOT COPY the newly created ./boot directory!
Because then the sata boot images will be overwritten
So manually copy all directories like this:
cd ????
cp -r ./xxx /media/john/rootfs
Where xxx is substituted with bin, usr, home, dev etc. but skip the ./boot directory.
You may also move the ./boot directory elswhere and then:
cd ????
cp -r ./DirWithAllDebianDirectoriesExeptBoot/. /media/john/rootfs/
Re: PogoProReallyBrickedNow...... December 27, 2019 02:53PM |
Registered: 5 years ago Posts: 33 |