Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 07:35PM |
Registered: 6 years ago Posts: 44 |
Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 $ help ? - alias for 'help' base - print or set address offset bdinfo - print Board Info structure bootm - boot application image from memory bootp - boot image via network using BootP/TFTP protocol cmp - memory compare cp - memory copy crc32 - checksum calculation diskboot- boot from IDE device echo - echo args to console exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls- list files in a directory (default /) fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) go - start application at address 'addr' help - print online help ide - IDE sub-system iminfo - print header information for application image ledfail - Extinguish (0) or light (1) failure LED loop - infinite loop on address range md - memory display mm - memory modify (auto-incrementing) mtest - simple RAM test mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nm - memory modify (constant address) nwboot - NAND Write boot information ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol version - print monitor version $ help nand nand info - show available NAND devices nand device [dev] - show or set current device nand read - addr off|partition size nand write - addr off|partition size - read/write `size' bytes starting at offset `off' to/from memory address `addr' nand erase [off size] - erase `size' bytes from offset `off' (entire device if not specified) nand bad - show bad blocks nand dump[.oob] off - dump page nand lock [tight] [status] - bring nand to lock state or display locked pages nand unlock [offset] [size] - unlock section $ help ide 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' $ help usb Unknown command 'usb' - try 'help' without arguments for list of all known commands $ help source Unknown command 'source' - try 'help' without arguments for list of all known commands $ help ext2load ext2load <interface> <dev[:part]> [addr] [filename] [bytes] - load binary file 'filename' from 'dev' on 'interface' to address 'addr' from ext2 filesystem $ printenv bootcmd=run dload1 boot || run dload2 boot || lightled bootdelay=2 baudrate=115200 ethaddr=00:30:e0:00:00:01 ipaddr=172.31.0.128 serverip=172.31.0.100 autoload=n netmask=255.255.0.0 bootfile="uImage" lightled=ledfail 1 extinguishled=ledfail 0 boot=bootm 60500000 dload1=diskboot 60500000 0:1 dload2=diskboot 60500000 0:2 root_dev1=/dev/sda2 root_dev2=/dev/sda1 root_dev=/dev/sda2 stdin=serial stdout=serial stderr=serial bootargs=root=/dev/sda2 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootwait ubi.mtd=2,512 mem=128M poweroutage=yes Environment size: 565/8188 bytes
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 07:51PM |
Admin Registered: 13 years ago Posts: 18,570 |
ide reset ide part
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 08:26PM |
Registered: 6 years ago Posts: 44 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 09:25PM |
Admin Registered: 13 years ago Posts: 18,570 |
cd /media/sdb1 cp -a uboot.2015.10-tld-2.ox820.bodhi.tar . tar xf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img uboot.spl.2013.10.ox820.850mhz.mtd0.img uboot.2015.10-tld-2.ox820.environment uboot.2015.10-tld-2.ox820.environment.imgAnd then sync and umount:
sync umount /media/sdb1
ide reset ext2ls ide 0:1 /
nand erase 0x0 0xC0000
ext2load ide 0:1 0x60100000 /uboot.spl.2013.10.ox820.850mhz.mtd0.img nand write 0x60100000 0x0 0x20000
ext2load ide 0:1 0x60100000 /uboot.2015.10-tld-2.ox820.mtd0.img nand write 0x60100000 0x40000 0x80000
nand erase 0x100000 0x20000
ext2load ide 0:1 0x60100000 /uboot.2015.10-tld-2.ox820.environment.img nand write 0x60100000 0x100000 0x20000
reset
cd /tftproot cp -a uboot.2015.10-tld-2.ox820.bodhi.tar . tar xf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img uboot.spl.2013.10.ox820.850mhz.mtd0.img uboot.2015.10-tld-2.ox820.environment uboot.2015.10-tld-2.ox820.environment.img
sync
setenv serverip 192.168.0.100 setenv ipaddr 192.168.0.101
setenv mtdids 'nand0=41000000.nand' setenv mtdparts 'mtdparts=41000000.nand:14m(boot),-(data)'
tftp 0x60100000 uboot.spl.2013.10.ox820.850mhz.mtd0.img
nand erase 0x0 0xC0000
nand write 0x60100000 0x0 0x20000
tftp 0x60100000 uboot.2015.10-tld-2.ox820.mtd0.img
nand write 0x60100000 0x40000 0x80000
tftp 0x60100000 uboot.2015.10-tld-2.ox820.environment.img
nand erase 0x100000 0x20000
nand write 0x60100000 0x100000 0x20000
reset
printenv boot
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 09:39PM |
Registered: 6 years ago Posts: 44 |
$ ide part Partition Map for IDE device 0 -- Partition Type: DOS Partition Start Sector Num Sectors Type 2 6144 156295344 83
$ ext2ls ide 0:2 / $
maldridge@deepblue:~$ ls -l /mnt total 788 drwx------ 2 root root 16384 Dec 1 19:31 lost+found -rw-r--r-- 1 root root 2641 Oct 22 02:40 uboot.2015.10-tld-2.ox820.environment -rw-r----- 1 root root 131072 Oct 22 02:41 uboot.2015.10-tld-2.ox820.environment.img -rw-r--r-- 1 root root 524288 Oct 21 22:01 uboot.2015.10-tld-2.ox820.mtd0.img -rw-r--r-- 1 root root 131072 Sep 7 2014 uboot.spl.2013.10.ox820.850mhz.mtd0.img maldridge@deepblue:~$
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 09:56PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 10:03PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 10:04PM |
Registered: 6 years ago Posts: 44 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 10:10PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 10:34PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 10:43PM |
Registered: 6 years ago Posts: 44 |
uboot.2015.10-tld-2.ox820.bodhi.tar 100% 780KB 3.4MB/s 00:00 Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 $ setenv serverip 10.0.1.1 $ setenv ipaddr 10.0.1.127 $ tftp 0x800000 uboot.spl.2013.10.ox820.850mhz.mtd0.img Wait GMAC to reset Wait for PHY reset PHY is Realtek RTL8211D Wait for link to come up...........Link up Wait for auto-negotiation to complete Link is 100M TFTP from server 10.0.1.1; our IP address is 10.0.1.127 Filename 'uboot.spl.2013.10.ox820.850mhz.mtd0.img'. Load address: 0x800000 Loading: ########################## done Bytes transferred = 131072 (20000 hex) $ nand erase 0x0 0xC0000 NAND erase: device 0 offset 0x0, size 0xc0000 data abort pc : [<60e0f198>] lr : [<60e0d298>] sp : 60ddd54c ip : 00000000 fp : 00000000 r10: 000c0000 r9 : 60e1cb71 r8 : 60dddfdc r7 : 00000000 r6 : 00000008 r5 : 60ddd610 r4 : 60e226ec r3 : 00000064 r2 : 00020000 r1 : 00000000 r0 : 00c80000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 $
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 11:03PM |
Admin Registered: 13 years ago Posts: 18,570 |
$ nand erase 0x0 0xC0000 NAND erase: device 0 offset 0x0, size 0xc0000 data abort pc : [<60e0f198>] lr : [<60e0d298>] sp : 60ddd54c ip : 00000000 fp : 00000000 r10: 000c0000 r9 : 60e1cb71 r8 : 60dddfdc r7 : 00000000 r6 : 00000008 r5 : 60ddd610 r4 : 60e226ec r3 : 00000064 r2 : 00020000 r1 : 00000000 r0 : 00c80000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
$ printenv bootcmd=run dload1 boot || run dload2 boot || lightled bootdelay=2 baudrate=115200 ethaddr=00:30:e0:00:00:01 ipaddr=172.31.0.128 serverip=172.31.0.100 autoload=n netmask=255.255.0.0 bootfile="uImage" lightled=ledfail 1 extinguishled=ledfail 0 boot=bootm 60500000 dload1=diskboot 60500000 0:1 dload2=diskboot 60500000 0:2 root_dev1=/dev/sda2 root_dev2=/dev/sda1 root_dev=/dev/sda2 stdin=serial stdout=serial stderr=serial bootargs=root=/dev/sda2 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootwait ubi.mtd=2,512 mem=128M poweroutage=yes Environment size: 565/8188 bytes
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 11:12PM |
Admin Registered: 13 years ago Posts: 18,570 |
Quote
6. Preparation for tftp and NAND operations
a. Setup the tftp server. Assuming your tftp server IP is 192.168.0.100. And your Pogo V3 box is 192.168.0.101 (adjust these to the real IP numbers in your local network).
setenv serverip 192.168.0.100 setenv ipaddr 192.168.0.101
b. Define the mtd partitions if they are not defined yet:
setenv mtdids 'nand0=41000000.nand' setenv mtdparts 'mtdparts=41000000.nand:14m(boot),-(data)'
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 01, 2017 11:35PM |
Registered: 6 years ago Posts: 44 |
Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 $ setenv serverip 10.0.1.1 $ setenv ipaddr 10.0.1.127 $ setenv mtdids 'nand0=41000000.nand' $ setenv mtdparts 'mtdparts=41000000.nand:14m(boot),-(data)' $ tftp 0x800000 uboot.spl.2013.10.ox820.850mhz.mtd0.img Wait GMAC to reset Wait for PHY reset PHY is Realtek RTL8211D Wait for link to come up...........Link up Wait for auto-negotiation to complete Link is 100M TFTP from server 10.0.1.1; our IP address is 10.0.1.127 Filename 'uboot.spl.2013.10.ox820.850mhz.mtd0.img'. Load address: 0x800000 Loading: ########################## done Bytes transferred = 131072 (20000 hex) $ nand erase 0x0 0xC0000 NAND erase: device 0 offset 0x0, size 0xc0000 data abort pc : [<60e0f198>] lr : [<60e0d298>] sp : 60ddd54c ip : 00000000 fp : 00000000 r10: 000c0000 r9 : 60e1cb71 r8 : 60dddfdc r7 : 00000000 r6 : 00000008 r5 : 60ddd610 r4 : 60e226ec r3 : 00000064 r2 : 00020000 r1 : 00000000 r0 : 00c80000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 02, 2017 12:01AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 02, 2017 12:06AM |
Registered: 6 years ago Posts: 44 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 02, 2017 08:04AM |
Admin Registered: 13 years ago Posts: 18,570 |
cd /media/sdb1/boot mv u-boot.img u-boot.img.orig cp -a ../uboot.2015.10-tld-2.ox820.mtd0.img u-boot.img
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 12, 2017 10:49PM |
Registered: 6 years ago Posts: 44 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 13, 2017 12:54AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 14, 2017 12:13AM |
Registered: 6 years ago Posts: 44 |
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 14, 2017 12:52AM |
Registered: 6 years ago Posts: 44 |
Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 Loading from IDE device 0, partition 1: Name: hda1 Type: U-Boot Image Name: Linux-2.6.31.6_SMP_820 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2132260 Bytes = 2 MB Load Address: 60008000 Entry Point: 60008000 ## Booting image at 60500000 ... Image Name: Linux-2.6.31.6_SMP_820 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2132260 Bytes = 2 MB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux................................................................................................................................. done, booting the kernel. [ 0.000000] Linux version 2.6.31.6_SMP_820 (root@ProDev) (gcc version 4.6.0 20110429 (prerelease) (GCC) ) #99 SMP Sun May 29 03:04:43 EDT 2011 [ 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 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootwait ubi.mtd=2,512 mem=128M poweroutage=yes [ 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: 125524KB available (3636K code, 296K data, 128K 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.240000] Security Framework initialized [ 0.240000] Mount-cache hash table entries: 512 [ 0.250000] CPU: Testing write buffer coherency: ok [ 0.250000] Calibrating local timer... 425.50MHz. [ 0.320000] CPU1: Booted secondary processor [ 0.420000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.630000] Brought up 2 CPUs [ 0.640000] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.650000] NET: Registered protocol family 16 [ 0.650000] Number of DMA channels = 4, version = 4 [ 0.660000] Reserving a DMA channel for DirectRAID [ 0.660000] Allocating 389 SRAM generic DMA descriptors [ 1.170000] PCIeA version/deviceID 082510b5 [ 1.170000] PCIeB version/deviceID 082510b5 [ 4.200000] ox820_pci_preinit() PCIEB link up timeout (00001814) [ 4.200000] ox820_pcie_setup_resources() Enabling PCIe Pre-Emphasis [ 4.210000] ox820_pciea_setup_resources() resource c781b2c0 [ 4.210000] ox820_pciea_setup_resources() io: 0x4be00000 - 0x4befffff [ 4.220000] ox820_pciea_setup_resources() non-pre: 0x48000000 - 0x49ffffff [ 4.230000] ox820_pciea_setup_resources() pre: 0x4a000000 - 0x4bdfffff [ 4.230000] PCI: bus0: Fast back to back transfers disabled [ 4.240000] PCI: bus1: Fast back to back transfers enabled [ 4.260000] bio: create slab <bio-0> at 0 [ 4.260000] SCSI subsystem initialized [ 4.270000] usbcore: registered new interface driver usbfs [ 4.270000] usbcore: registered new interface driver hub [ 4.280000] 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 [ 4.380000] io scheduler deadline registered [ 4.390000] io scheduler cfq registered (default) [ 4.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 4.410000] 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.440000] scsi0 : oxnassata [ 4.450000] scsi1 : oxnassata [ 4.450000] ata1: SATA max UDMA/133 irq 50 [ 4.460000] ata2: SATA max UDMA/133 irq 50 [ 4.460000] ox820sata: reseting SATA core [ 4.980000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 4.980000] ata1.00: ATA-8: ST980817AS, 3.CMF, max UDMA/100 [ 4.990000] ata1.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 4.990000] ata1.00: configured for UDMA/100 [ 5.000000] ox820sata: reseting SATA core [ 5.710000] ata2: SATA link down (SStatus 0 SControl 300) [ 5.710000] scsi 0:0:0:0: Direct-Access ATA ST980817AS 3.CM PQ: 0 ANSI: 5 [ 5.720000] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB) [ 5.730000] sd 0:0:0:0: [sda] Write Protect is off [ 5.730000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.740000] tun: Universal TUN/TAP device driver, 1.6 [ 5.740000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 5.740000] NAND: Page read time 40ms [ 5.740000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) [ 5.740000] Scanning device for bad blocks [ 5.800000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit": [ 5.810000] 0x000000000000-0x000000e00000 : "boot" [ 5.810000] sda: [ 5.820000] 0x000000e00000-0x000008000000 : "rootfs" [ 5.820000] UBI: attaching mtd2 to ubi0 [ 5.830000] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 5.830000] UBI: logical eraseblock size: 129024 bytes [ 5.840000] UBI: smallest flash I/O unit: 2048 [ 5.840000] UBI: sub-page size: 512 [ 5.850000] UBI: VID header offset: 512 (aligned 512) [ 5.850000] UBI: data offset: 2048 [ 6.010000] sda1 sda2 [ 6.210000] UBI: attached mtd2 to ubi0 [ 6.210000] UBI: MTD device name: "rootfs" [ 6.220000] UBI: MTD device size: 114 MiB [ 6.220000] UBI: number of good PEBs: 912 [ 6.230000] UBI: number of bad PEBs: 0 [ 6.230000] UBI: max. allowed volumes: 128 [ 6.240000] UBI: wear-leveling threshold: 4096 [ 6.240000] UBI: number of internal volumes: 1 [ 6.250000] UBI: number of user volumes: 1 [ 6.250000] UBI: available PEBs: 0 [ 6.250000] UBI: total number of reserved PEBs: 912 [ 6.260000] UBI: number of PEBs reserved for bad PEB handling: 9 [ 6.270000] UBI: max/mean erase counter: 2/0 [ 6.270000] UBI: image sequence number: 0 [ 6.270000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.280000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller [ 6.290000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 [ 6.290000] UBI: background thread "ubi_bgt0d" started, PID 304 [ 6.300000] sd 0:0:0:0: [sda] Attached SCSI disk [ 6.320000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 [ 6.340000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00 [ 6.340000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.350000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.350000] usb usb1: Product: OXNAS EHCI Host Controller [ 6.360000] usb usb1: Manufacturer: Linux 2.6.31.6_SMP_820 ehci_hcd [ 6.370000] usb usb1: SerialNumber: usb [ 6.370000] usb usb1: configuration #1 chosen from 1 choice [ 6.380000] hub 1-0:1.0: USB hub found [ 6.380000] hub 1-0:1.0: 2 ports detected [ 6.390000] Initializing USB Mass Storage driver... [ 6.390000] usbcore: registered new interface driver usb-storage [ 6.400000] USB Mass Storage support registered. [ 6.400000] mice: PS/2 mouse device common for all mice [ 6.410000] TCP cubic registered [ 6.410000] NET: Registered protocol family 10 [ 6.410000] NET: Registered protocol family 17 [ 6.420000] RPC: Registered udp transport module. [ 6.420000] RPC: Registered tcp transport module. [ 6.500000] kjournald starting. Commit interval 5 seconds [ 6.510000] EXT3 FS on sda2, internal journal [ 6.510000] EXT3-fs: mounted filesystem with writeback data mode. [ 6.520000] VFS: Mounted root (ext3 filesystem) on device 8:2. [ 6.520000] Freeing init memory: 128K FATAL: kernel too old [ 6.690000] Kernel panic - not syncing: Attempted to kill init! [ 6.690000] [<c002e1fc>] (unwind_backtrace+0x0/0xe0) [ 6.700000] usb 1-1: new high speed USB device using oxnas-ehci and address 2 [ 6.700000] from [<c02e628c>] (panic+0x44/0x108) [ 6.710000] [<c02e628c>] (panic+0x44/0x108) from [<c004bfc4>] (do_exit+0x62c/0x660) [ 6.720000] [<c004bfc4>] (do_exit+0x62c/0x660) from [<c004c270>] (do_group_exit+0x3c/0xcc) [ 6.720000] [<c004c270>] (do_group_exit+0x3c/0xcc) from [<c004c310>] (sys_waitid+0x0/0xb4) [ 6.730000] [<c004c310>] (sys_waitid+0x0/0xb4) from [<00000000>] (0x0) [ 6.740000] CPU1: stopping [ 6.740000] [<c002e1fc>] (unwind_backtrace+0x0/0xe0) from [<c0028398>] (do_IPI+0xec/0x160) [ 6.750000] [<c0028398>] (do_IPI+0xec/0x160) from [<c0028af8>] (__irq_svc+0x38/0xc0) [ 6.760000] Exception stack(0xc7843f90 to 0xc7843fd8) [ 6.760000] 3f80: 00000000 00000000 c7843fd8 00000000 [ 6.770000] 3fa0: c7842000 c03f5664 c03d40c4 c7842000 00000000 410fb025 60020e34 00000000 [ 6.780000] 3fc0: c7843fa8 c7843fd8 c0029a1c c0029a20 60000013 ffffffff [ 6.790000] [<c0028af8>] (__irq_svc+0x38/0xc0) from [<c0029a20>] (default_idle+0x24/0x28) [ 6.800000] [<c0029a20>] (default_idle+0x24/0x28) from [<c0029be8>] (cpu_idle+0x6c/0xa4) [ 6.800000] [<c0029be8>] (cpu_idle+0x6c/0xa4) from [<60008084>] (0x60008084)
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 14, 2017 01:07AM |
Registered: 6 years ago Posts: 44 |
if [ -f $kernelFile ];then echo "Writing kernel to " dd if=$kernelFile of="$disk"1 bs=512 fi
Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) Device 1: not available Failed to read valid environment from disk, using built-in default U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 Loading from IDE device 0, partition 1: Name: hda1 Type: U-Boot ** Bad Magic Number ** Loading from IDE device 0, partition 2: Name: hda2 Type: U-Boot ** Bad Magic Number ** Unknown command 'lightled' - try 'help' $
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 14, 2017 03:21AM |
Admin Registered: 13 years ago Posts: 18,570 |
** Bad Magic Number ** Unknown command 'lightled' - try 'help' $
ex2load ide 0:1 0x64000000 /boot/u-boot.env
ex2load ide 0:2 0x64000000 /boot/u-boot.env
fatload ide 0:1 0x64000000 /boot/u-boot.env
fatload ide 0:2 0x64000000 /boot/u-boot.env
source 0x64000000 printenv
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 15, 2017 12:22AM |
Registered: 6 years ago Posts: 44 |
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
OX820 # boot 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 700 ms (3 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.450000] 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.050000] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80) [ 10.500000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 10.590000] ata1.00: native sectors (1) is smaller than sectors (156301488) [ 10.590000] ata1.00: ATA-8: ST980817AS, 3.CMF, max UDMA/100 [ 10.600000] ata1.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 10.610000] ata1.00: configured for UDMA/100 [ 10.610000] ox820sata: reseting SATA core [ 11.330000] ata2: SATA link down (SStatus 0 SControl 300) [ 11.330000] scsi 0:0:0:0: Direct-Access ATA ST980817AS 3.CM PQ: 0 ANSI: 5 [ 11.340000] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB) [ 11.350000] sd 0:0:0:0: [sda] Write Protect is off [ 11.350000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 11.360000] sda:NAND: Page read time 40ms [ 11.370000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) [ 11.380000] Scanning device for bad blocks [ 11.450000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit": [ 11.450000] 0x000000000000-0x000000e00000 : "boot" [ 11.460000] 0x000000e00000-0x000008000000 : "rootfs" [ 11.460000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 11.470000] Start USB clocks [ 11.470000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller [ 11.480000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 [ 11.510000] sda1 sda2 [ 11.510000] sd 0:0:0:0: [sda] Attached SCSI disk [ 11.520000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 [ 11.540000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00 [ 11.540000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 11.550000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 11.550000] usb usb1: Product: OXNAS EHCI Host Controller [ 11.560000] usb usb1: Manufacturer: Linux 2.6.31.14_OX820_1.2_shv ehci_hcd [ 11.570000] usb usb1: SerialNumber: usb [ 11.570000] usb usb1: configuration #1 chosen from 1 choice [ 11.580000] hub 1-0:1.0: USB hub found [ 11.580000] hub 1-0:1.0: 2 ports detected [ 11.590000] Initializing USB Mass Storage driver... [ 11.590000] usbcore: registered new interface driver usb-storage [ 11.600000] USB Mass Storage support registered. [ 11.600000] usbcore: registered new interface driver libusual [ 11.610000] mice: PS/2 mouse device common for all mice [ 11.610000] TCP cubic registered [ 11.620000] NET: Registered protocol family 10 [ 11.620000] NET: Registered protocol family 17 [ 11.630000] RPC: Registered udp transport module. [ 11.630000] RPC: Registered tcp transport module. [ 11.640000] registered taskstats version 1 [ 11.740000] List of all partitions: [ 11.740000] 0800 78150744 sda driver: sd [ 11.750000] 0801 73400320 sda1 [ 11.750000] 0802 4749400 sda2 [ 11.760000] 1f00 131072 mtdblock0 (driver?) [ 11.760000] 1f01 14336 mtdblock1 (driver?) [ 11.770000] 1f02 116736 mtdblock2 (driver?) [ 11.770000] No filesystem could mount root, tried: ext3 [ 11.780000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) [ 11.790000] CPU1: stopping [ 11.790000] [<c002f4c4>] (unwind_backtrace+0x0/0xe8) from [<c0029340>] (do_IPI+0xe4/0x148) [ 11.800000] [<c0029340>] (do_IPI+0xe4/0x148) from [<c0029c18>] (__irq_svc+0x38/0xc0) [ 11.800000] Exception stack(0xc7843f98 to 0xc7843fe0) [ 11.810000] 3f80: 2c1bc2dd 00000000 [ 11.820000] 3fa0: c7843fe0 00000000 c7842000 c0421464 c03fe1bc c04219b4 00000000 410fb025 [ 11.830000] 3fc0: 60021cc4 00000000 ffff8f81 c7843fe0 c002ab80 c002ab84 60000013 ffffffff [ 11.830000] [<c0029c18>] (__irq_svc+0x38/0xc0) from [<c002ab84>] (default_idle+0x24/0x28) [ 11.840000] [<c002ab84>] (default_idle+0x24/0x28) from [<c002b080>] (cpu_idle+0x64/0x98) [ 11.850000] [<c002b080>] (cpu_idle+0x64/0x98) from [<60008084>] (0x60008084)
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 16, 2017 11:43AM |
Admin Registered: 13 years ago Posts: 18,570 |
Quote
Step7: Extract bodhi's latest rootfs package to the rootfs partition and check if uImage, uInitrd and the right dts file are available in the /boot directory.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 17, 2017 11:46PM |
Registered: 6 years ago Posts: 44 |
dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr
OX820 # run dt_sata_boot 4621824 bytes read in 1031 ms (4.3 MiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-4.4.54-oxnas-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4621760 Bytes = 4.4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK Loading Kernel Image ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000480). Available machine support: ID (hex) NAME ffffffff PLXTECH NAS782X SoC (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 18, 2017 12:18AM |
Admin Registered: 13 years ago Posts: 18,570 |
> dt_sata_boot=ext2load ide 0:1 $uimage_addr > /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm > $uimage_addr >>
> OX820 # run dt_sata_boot > 4621824 bytes read in 1031 ms (4.3 MiB/s) > ## Booting kernel from Legacy Image at 60500000 > ... > Image Name: Linux-4.4.54-oxnas-tld-1 > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 4621760 Bytes = 4.4 MiB > Load Address: 60008000 > Entry Point: 60008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > > Led: GREEN > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Error: unrecognized/unsupported machine ID (r1 = > 0x00000480). > > > Available machine support: > > ID (hex) NAME > ffffffff PLXTECH NAS782X SoC (Flattened > Device Tree) > > > Please check your kernel config and/or > bootloader. >
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 18, 2017 12:51PM |
Admin Registered: 13 years ago Posts: 18,570 |
setenv dt_sata_boot 'ext2load ide 0:1 $uimage_addr /boot/uImage; ext2load ide 0:1 $uinitrd_addr /boot/uInitrd; ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb ; run dt_bootm' boot
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 18, 2017 09:05PM |
Registered: 6 years ago Posts: 44 |
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: ST980817AS Firm: 3.CMF Ser#: 5RE1XNLE Type: Hard Disk Supports 48-bit addressing Capacity: 76319.0 MB = 74.5 GB (156301488 x 512) NAND: 128 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # setenv dt_sata_boot 'ext2load ide 0:1 $uimage_addr /boot/uImage; ext2load ide 0:1 $uinitrd_addr /boot/uInitrd; ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb ; run dt_bootm' OX820 # boot 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' 4621824 bytes read in 1003 ms (4.4 MiB/s) 4594376 bytes read in 657 ms (6.7 MiB/s) 7067 bytes read in 45 ms (153.3 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-4.4.54-oxnas-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4621760 Bytes = 4.4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-4.4.54-oxnas-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4594312 Bytes = 4.4 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 679c6000, end 67e27a88 ... OK Loading Device Tree to 679c1000, end 679c5b9a ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Pogoplug V3 Pro [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map [ 0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17696 r8192 d23264 u49152 [ 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: -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: 116204K/131072K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 14868K 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 - 0xc0827e14 (8320 kB) [ 0.000000] .init : 0xc0828000 - 0xc0860000 ( 224 kB) [ 0.000000] .data : 0xc0860000 - 0xc08a8378 ( 289 kB) [ 0.000000] .bss : 0xc08a8378 - 0xc08e6350 ( 248 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] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.000163] Console: colour dummy device 80x30 [ 0.000194] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050017] pid_max: default: 32768 minimum: 301 [ 0.050183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050201] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051020] Initializing cgroup subsys net_cls [ 0.051102] CPU: Testing write buffer coherency: ok [ 0.051520] Setting up static identity map for 0x60008220 - 0x60008258 [ 0.190133] Brought up 2 CPUs [ 0.190156] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.190932] devtmpfs: initialized [ 0.196021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.196067] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.196377] prandom: seed boundary self test passed [ 0.200793] prandom: 100 self tests passed [ 0.200821] pinctrl core: initialized pinctrl subsystem [ 0.201617] NET: Registered protocol family 16 [ 0.202176] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.230021] cpuidle: using governor ladder [ 0.260011] cpuidle: using governor menu [ 0.265090] gpio-oxnas 44000000.gpio: at address c8848000 [ 0.265479] gpio-oxnas 44100000.gpio: at address c884a000 [ 0.266035] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver [ 0.389406] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5 [ 0.389527] oxnas-pcie 47c00000.pcie-controller: link up [ 0.389847] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00 [ 0.389875] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff] [ 0.389893] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref] [ 0.389911] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] [ 0.389931] pci_bus 0000:00: root bus resource [bus 00-7f] [ 0.390563] PCI: bus0: Fast back to back transfers disabled [ 0.390653] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff] [ 0.391111] vgaarb: loaded [ 0.391603] SCSI subsystem initialized [ 0.392468] usbcore: registered new interface driver usbfs [ 0.392573] usbcore: registered new interface driver hub [ 0.392732] usbcore: registered new device driver usb [ 0.392944] pps_core: LinuxPPS API ver. 1 registered [ 0.392957] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.393003] PTP clock support registered [ 0.395133] clocksource: Switched to clocksource rps_clocksource_timer [ 0.414013] NET: Registered protocol family 2 [ 0.414883] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.414924] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.414960] TCP: Hash tables configured (established 1024 bind 1024) [ 0.415060] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.415104] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.415365] NET: Registered protocol family 1 [ 0.415897] RPC: Registered named UNIX socket transport module. [ 0.415920] RPC: Registered udp transport module. [ 0.415930] RPC: Registered tcp transport module. [ 0.415941] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.416343] Unpacking initramfs... [ 0.891141] Freeing initrd memory: 4488K (c79c6000 - c7e28000) [ 0.892618] Initialise system trusted keyring [ 0.905715] zbud: loaded [ 0.911232] NFS: Registering the id_resolver key type [ 0.911293] Key type id_resolver registered [ 0.911306] Key type id_legacy registered [ 0.911349] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.911372] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.912271] fuse init (API version 7.23) [ 0.914247] Key type big_key registered [ 0.991078] Key type asymmetric registered [ 0.991106] Asymmetric key parser 'x509' registered [ 0.991237] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.991262] io scheduler noop registered [ 0.991283] io scheduler deadline registered [ 0.991344] io scheduler cfq registered (default) [ 0.992046] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.993643] console [ttyS0] disabled [ 0.993743] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A [ 1.574289] console [ttyS0] enabled [ 1.692395] loop: module loaded [ 1.697530] scsi host0: sata_oxnas [ 1.701406] ata1: SATA max UDMA/133 irq 7 [ 1.705502] sata_oxnas: resetting SATA core [ 1.706585] nand: Could not find valid ONFI parameter page; aborting [ 1.706626] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 1.706634] nand: Hynix NAND 128MiB 3,3V 8-bit [ 1.706641] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.706659] Scanning device for bad blocks [ 1.788894] 2 ofpart partitions found on MTD device 41000000.nand [ 1.794990] Creating 2 MTD partitions on "41000000.nand": [ 1.800391] 0x000000000000-0x000000e00000 : "boot" [ 1.807127] 0x000000e00000-0x000008000000 : "data" [ 1.814525] oxnas-gmac 40400000.ethernet: no reset control found [ 1.820564] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 1.825589] Ring mode enabled [ 1.828623] DMA HW capability register supported [ 1.833152] Enhanced/Alternate descriptors [ 1.837480] Enabled extended descriptors [ 1.841489] RX Checksum Offload Engine supported (type 2) [ 1.846942] TX Checksum insertion supported [ 1.851207] Wake-Up On Lan supported [ 1.854850] Enable RX Mitigation via HW Watchdog Timer [ 1.894868] libphy: stmmac: probed [ 1.898265] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active [ 1.904727] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03) [ 1.911449] PPP generic driver version 2.4.2 [ 1.916119] rt2800pci 0000:00:00.0: enabling device (0140 -> 0142) [ 1.922519] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3213 detected [ 1.933721] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected [ 1.942876] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.949388] ehci-pci: EHCI PCI platform driver [ 1.954280] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 1.959779] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 1.967631] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100 [ 1.990005] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 1.996328] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.003130] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.010350] usb usb1: Product: EHCI Host Controller [ 2.015203] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd [ 2.021639] usb usb1: SerialNumber: 40200100.ehci [ 2.027307] hub 1-0:1.0: USB hub found [ 2.031160] hub 1-0:1.0: 2 ports detected [ 2.036293] usbcore: registered new interface driver cdc_acm [ 2.041989] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.050096] usbcore: registered new interface driver cdc_wdm [ 2.055900] usbcore: registered new interface driver usb-storage [ 2.062115] usbcore: registered new interface driver usbserial [ 2.067983] usbcore: registered new interface driver usbserial_generic [ 2.074585] usbserial: USB Serial support registered for generic [ 2.081062] mousedev: PS/2 mouse device common for all mice [ 2.086784] i2c /dev entries driver [ 2.091660] hidraw: raw HID events driver (C) Jiri Kosina [ 2.097280] usbcore: registered new interface driver usbhid [ 2.102988] usbhid: USB HID core driver [ 2.108976] NET: Registered protocol family 10 [ 2.114954] sit: IPv6 over IPv4 tunneling driver [ 2.120686] NET: Registered protocol family 17 [ 2.125296] Key type dns_resolver registered [ 2.131225] registered taskstats version 1 [ 2.135347] Loading compiled-in X.509 certificates [ 2.140288] zswap: loaded using pool lzo/zbud [ 2.159178] Key type encrypted registered [ 2.250145] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 2.322232] ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x80) [ 2.349995] usb 1-1: new high-speed USB device number 2 using oxnas-ehci [ 2.501908] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.508584] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.515735] usb 1-1: Product: USB2.0 Hub [ 2.520898] hub 1-1:1.0: USB hub found [ 2.525043] hub 1-1:1.0: 4 ports detected [ 7.760138] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 7.844213] ata1.00: native sectors (1) is smaller than sectors (156301488) [ 7.851179] ata1.00: ATA-8: ST980817AS, 3.CMF, max UDMA/100 [ 7.856727] ata1.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 7.864750] ata1.00: configured for UDMA/100 [ 7.869734] scsi 0:0:0:0: Direct-Access ATA ST980817AS F PQ: 0 ANSI: 5 [ 7.879336] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB) [ 7.887741] sd 0:0:0:0: [sda] Write Protect is off [ 7.892828] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 8.230891] sda: sda1 sda2 [ 8.235806] sd 0:0:0:0: [sda] Attached SCSI disk [ 8.240834] Freeing unused kernel memory: 224K (c0828000 - c0860000) Loading, please wait... starting version 232 [ 8.421527] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.432801] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.434027] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.436229] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.436400] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.437565] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.438597] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.439610] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.440755] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.446451] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available) [ 8.759667] rt2800pci 0000:00:00.0 wlp0s0: renamed from wlan0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.29.2 done. mount: mounting /dev/sda2 on /root failed: Invalid argument done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /dev on /root/dev failed: No such file or directory done. mount: mounting /run on /root/run failed: No such file or directory run-init: current directory on the same filesystem as the root: error 0 Target filesystem doesn't have requested /sbin/init. run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 No init found. Try passing init= bootarg. BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)
Re: Unbrick a Pogoplug Pro (v3/OXNAS?) December 18, 2017 11:12PM |
Admin Registered: 13 years ago Posts: 18,570 |
setenv dt_sata_boot 'ext2load ide 0:1 $uimage_addr /boot/uImage; ext2load ide 0:1 $uinitrd_addr /boot/uInitrd; ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb ; run dt_bootm' setenv ide_set_bootargs 'setenv bootargs root=LABEL=rootfs console=ttyS0,115200 mem=128M' boot