Welcome! Log In Create A New Profile

Advanced

U-Boot for Pogoplug Pogo E01 (003-SP1001)

Posted by celove2 
U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 20, 2019 07:47AM
I want to update the U-Boot. How to do it correctly for my model?
Need uboot.2017.07-tld-2.sheevaplug.bodhi.tar ?
Thanks.

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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported

** Invalid boot device **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000020000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            475 MiB
UBI: number of good PEBs:        3787
UBI: number of bad PEBs:         13
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             3746
UBI: total number of reserved PEBs: 41
UBI: number of PEBs reserved for bad PEB handling: 37
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: .......  read_nand_cached: error reading nand off 0xd80000 size 8192 bytes
.. done.
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...


U-Boot 1.1.4 (Mar 18 2009 - 16:11:55) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PP_GTI:3.0

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-04-21  23:18:54 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1973904 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................ done, booting the kernel.
Linux version 2.6.22.18 (bdietrich@XPC) (gcc version 4.2.1) #30 Tue Apr 21 16:18:51 PDT 2009
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 125824KB available (3584K code, 252K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_4.2.7_patch2)-- SHEEVA PLUG  Soc: 88F6281 A0 LE

 Detected Tclk 200000000 and SysClk 400000000 
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c0535600
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
RTC registered
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
Number of XOR engines to use: 4
cesadev_init(c0011668)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload enabled
  o Receive checksum offload enabled
  o Transmit checksum offload enabled
  o Network Fast Processing (Routing) supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 0
    o eth1, ifindex = 2, GbE port = 1

mvFpRuleDb (c7eb9000): 1024 entries, 4096 bytes
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation

Warning Sata is Powered Off
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 2198 at 0x112c0000
Bad eraseblock 2278 at 0x11cc0000
Bad eraseblock 2347 at 0x12560000
Bad eraseblock 2620 at 0x14780000
Bad eraseblock 2789 at 0x15ca0000
Bad eraseblock 3080 at 0x18100000
Bad eraseblock 3110 at 0x184c0000
Bad eraseblock 3311 at 0x19de0000
Bad eraseblock 3448 at 0x1af00000
Bad eraseblock 3513 at 0x1b720000
Bad eraseblock 3563 at 0x1bd60000
Bad eraseblock 3610 at 0x1c340000
Bad eraseblock 3812 at 0x1dc80000
Using static partition definition
Creating 4 MTD partitions on "nand_mtd":
0x00000000-0x00100000 : "u-boot"
0x00100000-0x00500000 : "uImage"
0x00500000-0x02500000 : "root"
0x02500000-0x20000000 : "data"
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux telephony interface: v1.00
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1     97 MB/s
raid6: int32x2    114 MB/s
raid6: int32x4    122 MB/s
raid6: int32x8    110 MB/s
raid6: using algorithm int32x4 (122 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
   arm4regs  :  1084.000 MB/sec
   8regs     :   754.800 MB/sec
   32regs    :   899.600 MB/sec
raid5: using function: arm4regs (1084.000 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Empty flash at 0x008f431c ends at 0x008f4800
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 120K
init started: BusyBox v1.7.0 (2008-02-26 19:25:17 IST)
starting pid 264, tty '': '/etc/init.d/rcS'
eth0: started
udhcpc (v1.7.0) started
HWADDR 00 0x25 0x31 0x00 0x08 0x4b
PIP0 8
PIP1 75
cat: can't open '/etc/resolv.conf': No such file or directory
route: SIOCDELRT: No such process
grep: /etc/resolv.conf: No such file or directory
Sending discover...
Sending discover...
Sending discover...
HWADDR 00 0x25 0x31 0x00 0x08 0x4b
PIP0 8
PIP1 75
No lease, forking to background
starting pid 369, tty '': '/bin/sh'
-sh-3.2# ls
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 20, 2019 10:04PM
celove2,

So you have installed the Dockstar u-boot circa 2011.12.

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

This should allow booting with Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2. So create the rootfs on USB using that tarball.

You need to do Step 4b so that it will boot with U-Boot 2011.12.

Quote

4b. Boot with DTB file embedded in the kernel image (no U-Boot envs changes are needed if your system already booting on USB or HDD). Again, this step 4b is for stock U-Boot only.

After you created the USB rootfs, attach to the box, power up, and interrupt serial console, and

printenv
That will tell me how to get you to boot into the USB rootfs.

Please post here the entire serial console log from power up.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 02:10AM
Ok. Please look:

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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> printenv
arcNumber=2097
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:08:4B
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2342/131068 bytes
u-boot>> 

Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 02:29AM
OK so it looks like Jeff's u-boot.

With the new USB rootfs attached. Power up, interrupt serial console, and

setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'
boot

Again, please post the entire serial console here, if it does not boot all the way into Debian login prompt.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 02:51AM
Not work. Please look:


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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'
u-boot>> printenv
arcNumber=2097
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:08:4B
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2345/131068 bytes
u-boot>> 

Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 04:31AM
celove2,

You forgot to execute the boot command!

setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 05:29AM
Sorry

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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'
u-boot>> boot
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000020000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            475 MiB
UBI: number of good PEBs:        3787
UBI: number of bad PEBs:         13
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             3746
UBI: total number of reserved PEBs: 41
UBI: number of PEBs reserved for bad PEB handling: 37
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3833487 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7245696 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   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
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 21, 2019 09:27PM
celove2,

With the new USB rootfs attached. Power up, interrupt serial console, and

setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts earlyprintk=serial'
boot


Again, please post the entire serial console here. I don't expect it to boot all the way into Debian login prompt. But we need more information that will be in the log.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 12:50AM
Ok. Please look.


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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts earlyprintk=serial'
u-boot>> boot
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000020000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            475 MiB
UBI: number of good PEBs:        3787
UBI: number of bad PEBs:         13
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             3746
UBI: total number of reserved PEBs: 41
UBI: number of PEBs reserved for bad PEB handling: 37
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3833487 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7245696 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   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
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

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,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
[    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: 109436K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21636K 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: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007980] Switching to timer-based delay loop, resolution 5ns
[    0.014474] Console: colour dummy device 80x30
[    0.019098] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029803] pid_max: default: 32768 minimum: 301
[    0.034720] Security Framework initialized
[    0.039081] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045826] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053901] CPU: Testing write buffer coherency: ok
[    0.059965] Setting up static identity map for 0x100000 - 0x100058
[    0.066524] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.075106] devtmpfs: initialized
[    0.083059] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093116] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.099773] prandom: seed boundary self test passed
[    0.108555] prandom: 100 self tests passed
[    0.112765] pinctrl core: initialized pinctrl subsystem
[    0.119304] NET: Registered protocol family 16
[    0.124369] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.133011] cpuidle: using governor ladder
[    0.137285] cpuidle: using governor menu
[    0.141833] Feroceon L2: Enabling L2
[    0.145544] Feroceon L2: Cache support initialised.
[    0.150929] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166285] No ATAGs?
[    0.175642] vgaarb: loaded
[    0.181168] SCSI subsystem initialized
[    0.185509] usbcore: registered new interface driver usbfs
[    0.191220] usbcore: registered new interface driver hub
[    0.196715] usbcore: registered new device driver usb
[    0.203048] clocksource: Switched to clocksource orion_clocksource
[    0.299067] VFS: Disk quotas dquot_6.6.0
[    0.303246] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.320937] NET: Registered protocol family 2
[    0.326198] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.333333] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.339808] TCP: Hash tables configured (established 1024 bind 1024)
[    0.346380] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.352341] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.358919] NET: Registered protocol family 1
[    0.363819] RPC: Registered named UNIX socket transport module.
[    0.369853] RPC: Registered udp transport module.
[    0.374733] RPC: Registered tcp transport module.
[    0.379541] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.386362] Unpacking initramfs...
[    0.389869] Initramfs unpacking failed: junk in compressed archive
[    0.416136] Freeing initrd memory: 7076K
[    0.420338] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.427945] audit: initializing netlink subsys (disabled)
[    0.433985] Initialise system trusted keyrings
[    0.438575] Key type blacklist registered
[    0.442775] audit: type=2000 audit(0.420:1): state=initialized audit_enabled=0 res=1
[    0.450783] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.450846] zbud: loaded
[    0.458443] NFS: Registering the id_resolver key type
[    0.458462] Key type id_resolver registered
[    0.458465] Key type id_legacy registered
[    0.458479] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.458484] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.458677] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.458868] fuse init (API version 7.26)
[    0.459233] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.459496] orangefs_init: module version upstream loaded
[    0.459501] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.563056] random: fast init done
[    6.389107] Key type asymmetric registered
[    6.393582] Asymmetric key parser 'x509' registered
[    6.398625] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.406296] io scheduler noop registered
[    6.410320] io scheduler deadline registered
[    6.414829] io scheduler cfq registered (default)
[    6.420725] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.436309] loop: module loaded
[    6.441199] libphy: Fixed MDIO Bus: probed
[    6.446201] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.452863] ehci-pci: EHCI PCI platform driver
[    6.457508] ehci-orion: EHCI orion driver
[    6.461811] usbcore: registered new interface driver usb-storage
[    6.468293] mousedev: PS/2 mouse device common for all mice
[    6.474312] i2c /dev entries driver
[    6.478259] kirkwood-cpufreq kirkwood-cpufreq: Unable to get cpuclk
[    6.484732] kirkwood-cpufreq: probe of kirkwood-cpufreq failed with error -22
[    6.492383] hidraw: raw HID events driver (C) Jiri Kosina
[    6.498298] drop_monitor: Initializing network drop monitor service
[    6.504951] NET: Registered protocol family 17
[    6.509591] Key type dns_resolver registered
[    6.514802] registered taskstats version 1
[    6.519006] Loading compiled-in X.509 certificates
[    6.523995] zswap: loaded using pool lzo/zbud
[    6.530885] Key type big_key registered
[    6.536769] Key type encrypted registered
[    6.542151] hctosys: unable to open rtc device (rtc0)
[    7.648751] Unable to handle kernel paging request at virtual address c8000000
[    7.656095] pgd = c0004000
[    7.658900] [c8000000] *pgd=00000000
[    7.662588] Internal error: Oops: 5 [#1] PREEMPT ARM
[    7.667656] Modules linked in:
[    7.670817] CPU: 0 PID: 1 Comm: swapper Not tainted 4.12.1-kirkwood-tld-1 #1
[    7.677980] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    7.684356] task: c7832e00 task.stack: c7834000
[    7.689004] PC is at crc32_be+0x6c/0x160
[    7.693032] LR is at 0xc0950bd0
[    7.696270] pc : [<c0584814>]    lr : [<c0950bd0>]    psr: 20000053
[    7.696270] sp : c7835ef0  ip : c0952218  fp : 00000000
[    7.707969] r10: c0db9ba0  r9 : c0c4b838  r8 : 6b6f6be5
[    7.713297] r7 : 00000000  r6 : c7fffffc  r5 : 1d3e9e27  r4 : 00000007
[    7.719934] r3 : 14eada25  r2 : 1e1bdfbc  r1 : c115f354  r0 : 1e562539
[    7.726579] Flags: nzCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment none
[    7.733920] Control: 0005397f  Table: 00004000  DAC: 00000053
[    7.739771] Process swapper (pid: 1, stack limit = 0xc7834190)
[    7.745709] Stack: (0xc7835ef0 to 0xc7836000)
[    7.750169] 5ee0:                                     c115f358 f0defde7 4de4a016 c0c59544
[    7.758472] 5f00: 00000000 c0c3f8f0 00000007 c0c3f8bc 000000b8 c010178c 00000000 c01334d0
[    7.766773] 5f20: 00000000 c0299eec 00000000 c0aeb5e0 000000b8 00000007 00000007 c0aec440
[    7.775075] 5f40: 000000b7 c0aec440 c7ffce62 c7ffce6e c0d0bc24 00000007 c0c4b830 000000b8
[    7.783377] 5f60: 00000007 c0c4b834 000000b8 c0c59544 c0db9ba0 c0c00e18 00000007 00000007
[    7.791677] 5f80: 00000000 c0c005ac 00000000 c08331f8 00000000 00000000 00000000 00000000
[    7.799979] 5fa0: 00000000 c0833200 00000000 c01070f0 00000000 00000000 00000000 00000000
[    7.808279] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.816582] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffff0000 ffff0000
[    7.824900] [<c0584814>] (crc32_be) from [<c0c3f8f0>] (of_fdt_raw_init+0x34/0x78)
[    7.832510] [<c0c3f8f0>] (of_fdt_raw_init) from [<c010178c>] (do_one_initcall+0xa8/0x158)
[    7.840820] [<c010178c>] (do_one_initcall) from [<c0c00e18>] (kernel_init_freeable+0x198/0x260)
[    7.849656] [<c0c00e18>] (kernel_init_freeable) from [<c0833200>] (kernel_init+0x8/0x10c)
[    7.857964] [<c0833200>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24)
[    7.865659] Code: e1a05002 e59fe0f4 e3550000 0a00002b (e5963004) 
[    7.871868] ---[ end trace 638be486afe59f83 ]---
[    7.876678] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    7.876678] 
[    7.886031] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    7.886031] 


Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 01:45AM
celove2,

Try
setenv usb_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x2100000 /boot/uInitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts earlyprintk=serial'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 02:00AM
Please, look:

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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
u-boot>> setenv usb_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x2100000 /boot/uInitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
u-boot>> setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts earlyprintk=serial'
u-boot>> boot
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000020000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            475 MiB
UBI: number of good PEBs:        3787
UBI: number of bad PEBs:         13
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             3746
UBI: total number of reserved PEBs: 41
UBI: number of PEBs reserved for bad PEB handling: 37
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3833487 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7245696 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   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 02100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

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,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
[    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: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K 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: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007981] Switching to timer-based delay loop, resolution 5ns
[    0.014474] Console: colour dummy device 80x30
[    0.019099] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.029805] pid_max: default: 32768 minimum: 301
[    0.034727] Security Framework initialized
[    0.039090] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.045835] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053902] CPU: Testing write buffer coherency: ok
[    0.059963] Setting up static identity map for 0x100000 - 0x100058
[    0.066515] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.075100] devtmpfs: initialized
[    0.083047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.093106] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.099761] prandom: seed boundary self test passed
[    0.108546] prandom: 100 self tests passed
[    0.112757] pinctrl core: initialized pinctrl subsystem
[    0.119292] NET: Registered protocol family 16
[    0.124352] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.132982] cpuidle: using governor ladder
[    0.137249] cpuidle: using governor menu
[    0.141798] Feroceon L2: Enabling L2
[    0.145509] Feroceon L2: Cache support initialised.
[    0.150894] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166253] No ATAGs?
[    0.175588] vgaarb: loaded
[    0.181130] SCSI subsystem initialized
[    0.185447] usbcore: registered new interface driver usbfs
[    0.191160] usbcore: registered new interface driver hub
[    0.196652] usbcore: registered new device driver usb
[    0.202990] clocksource: Switched to clocksource orion_clocksource
[    0.298989] VFS: Disk quotas dquot_6.6.0
[    0.303168] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.320843] NET: Registered protocol family 2
[    0.326107] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.333237] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.339720] TCP: Hash tables configured (established 1024 bind 1024)
[    0.346290] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.352245] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.358822] NET: Registered protocol family 1
[    0.363722] RPC: Registered named UNIX socket transport module.
[    0.369758] RPC: Registered udp transport module.
[    0.374637] RPC: Registered tcp transport module.
[    0.379445] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.386265] Unpacking initramfs...
[    1.050071] Freeing initrd memory: 7076K
[    1.054361] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.061979] audit: initializing netlink subsys (disabled)
[    1.068017] Initialise system trusted keyrings
[    1.072616] Key type blacklist registered
[    1.076809] audit: type=2000 audit(1.054:1): state=initialized audit_enabled=0 res=1
[    1.084874] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.091494] zbud: loaded
[    1.095168] NFS: Registering the id_resolver key type
[    1.100345] Key type id_resolver registered
[    1.104693] Key type id_legacy registered
[    1.108816] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.115667] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.122335] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.129722] fuse init (API version 7.26)
[    1.134137] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.140955] orangefs_init: module version upstream loaded
[    1.146496] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.562997] random: fast init done
[    7.032370] Key type asymmetric registered
[    7.036894] Asymmetric key parser 'x509' registered
[    7.041945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    7.049616] io scheduler noop registered
[    7.053705] io scheduler deadline registered
[    7.058151] io scheduler cfq registered (default)
[    7.064274] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.073541] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.133758] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    7.141675] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.203751] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    7.211856] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.219652] console [ttyS0] disabled
[    7.223455] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    7.232577] console [ttyS0] enabled
[    7.232577] console [ttyS0] enabled
[    7.239714] bootconsole [earlycon0] disabled
[    7.239714] bootconsole [earlycon0] disabled
[    7.257055] loop: module loaded
[    7.260784] sata_mv f1080000.sata: slots 32 ports 2
[    7.268523] scsi host0: sata_mv
[    7.272110] scsi host1: sata_mv
[    7.275546] ata1: SATA max UDMA/133 irq 32
[    7.279664] ata2: SATA max UDMA/133 irq 32
[    7.284603] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    7.291072] nand: Hynix NAND 512MiB 3,3V 8-bit
[    7.295574] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.303207] Scanning device for bad blocks
[    7.542489] Bad eraseblock 2198 at 0x0000112c0000
[    7.555749] Bad eraseblock 2278 at 0x000011cc0000
[    7.567821] Bad eraseblock 2347 at 0x000012560000
[    7.601718] Bad eraseblock 2620 at 0x000014780000
[    7.616617] ata1: SATA link down (SStatus 0 SControl F300)
[    7.630078] Bad eraseblock 2789 at 0x000015ca0000
[    7.666003] Bad eraseblock 3080 at 0x000018100000
[    7.673881] Bad eraseblock 3110 at 0x0000184c0000
[    7.700013] Bad eraseblock 3311 at 0x000019de0000
[    7.719330] Bad eraseblock 3448 at 0x00001af00000
[    7.730966] Bad eraseblock 3513 at 0x00001b720000
[    7.740997] Bad eraseblock 3563 at 0x00001bd60000
[    7.750704] Bad eraseblock 3610 at 0x00001c340000
[    7.776970] Bad eraseblock 3812 at 0x00001dc80000
[    7.811941] 4 cmdlinepart partitions found on MTD device orion_nand
[    7.818256] Creating 4 MTD partitions on "orion_nand":
[    7.823439] 0x000000000000-0x000000100000 : "u-boot"
[    7.829705] 0x000000100000-0x000000500000 : "uImage"
[    7.836015] 0x000000500000-0x000002500000 : "rootfs"
[    7.842450] 0x000002500000-0x000020000000 : "data"
[    7.852887] libphy: Fixed MDIO Bus: probed
[    7.857870] libphy: orion_mdio_bus: probed
[    7.867015] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.975295] ata2: SATA link down (SStatus 0 SControl F300)
[    8.979415] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:08:4b
[    8.988306] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.994907] ehci-pci: EHCI PCI platform driver
[    8.999423] ehci-orion: EHCI orion driver
[    9.003681] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.009224] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.017159] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    9.053025] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.059324] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.066178] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.073461] usb usb1: Product: EHCI Host Controller
[    9.078364] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[    9.085121] usb usb1: SerialNumber: f1050000.ehci
[    9.090518] hub 1-0:1.0: USB hub found
[    9.094383] hub 1-0:1.0: 1 port detected
[    9.098940] usbcore: registered new interface driver usb-storage
[    9.105370] mousedev: PS/2 mouse device common for all mice
[    9.111531] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    9.118639] i2c /dev entries driver
[    9.124710] hidraw: raw HID events driver (C) Jiri Kosina
[    9.130505] drop_monitor: Initializing network drop monitor service
[    9.137118] NET: Registered protocol family 17
[    9.141673] Key type dns_resolver registered
[    9.146826] registered taskstats version 1
[    9.150939] Loading compiled-in X.509 certificates
[    9.155842] zswap: loaded using pool lzo/zbud
[    9.170491] Key type big_key registered
[    9.184023] Key type encrypted registered
[    9.189390] rtc-mv f1010300.rtc: setting system clock to 2019-04-12 12:10:38 UTC (1555071038)
[    9.201419] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    9.453087] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.664305] usb 1-1: New USB device found, idVendor=152d, idProduct=2329
[    9.671067] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[    9.690912] usb 1-1: Product: USB to ATA/ATAPI Bridge
[    9.701386] usb 1-1: Manufacturer: JMicron
[    9.710057] usb 1-1: SerialNumber: B2151FE2BFFF
[    9.721955] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.736016] usb-storage 1-1:1.0: Quirks match for vid 152d pid 2329: 8020
[    9.747526] scsi host2: usb-storage 1-1:1.0
[    9.950009] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[   10.814143] scsi 2:0:0:0: Direct-Access     Hitachi  HTS541640J9SA00       PQ: 0 ANSI: 2 CCS
[   10.828360] sd 2:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.3 GiB)
[   10.843179] sd 2:0:0:0: [sda] Write Protect is off
[   10.853148] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.885954]  sda: sda1
[   10.896216] sd 2:0:0:0: [sda] Attached SCSI disk
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
[   20.097764] EXT2-fs (sda1): error: couldn't mount because of unsupported optional features (4)
mount: mounting /dev/sda1 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.


Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 03:00AM
celove2,

That has booted very far! you are almost there.

But your rootfs has a problem

[   20.097764] EXT2-fs (sda1): error: couldn't mount because of unsupported optional features (4)

What you should do is to recreate the Debian rootfs on USB using Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2, following the instruction very closely.

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

Basically, use Ext3 rootfs, single partition, label the parition as rootfs, creating it while being root user (sudo is not enough, you need to be root).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 03:24AM
I did everything with root:
sudo su
****
See the screenshot. I have Ext3
Attachments:
open | download - DeepinScreenshot_выберите-область_20190522112130.png (24.9 KB)
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 03:31AM
celove2,

Just wipe out the disk and redo it.

If you still have same problem, then post the log of how you create the rootfs (don't post screenshot).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 03:54AM
Yes, you were right. I used to do something wrong. Now I see other errors.
Please look:


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

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000020000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            475 MiB
UBI: number of good PEBs:        3787
UBI: number of bad PEBs:         13
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             3746
UBI: total number of reserved PEBs: 41
UBI: number of PEBs reserved for bad PEB handling: 37
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3821592 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7245696 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   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
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000bb6).

Available machine support:

ID (hex)	NAME
ffffffff	Generic DT based system
ffffffff	Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.



Edited 1 time(s). Last edit at 05/22/2019 04:12AM by celove2.
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 05:00AM
celove2,

>
> Error: unrecognized/unsupported machine ID (r1 =
> 0x00000bb6).
>
> Available machine support:
>
> ID (hex) NAME
> ffffffff Generic DT based system
> ffffffff Marvell Kirkwood (Flattened Device Tree)
>
> Please check your kernel config and/or
> bootloader.
> [/code]

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

This 2011.12 u-boot is not FDT enabled (unlike the latest version 2017.07-tld-1).

So the uImage in your newly created rootfs must have the DTB appended. As stated in the rootfs instruction


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

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

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.12.1-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync

If your Linux box does not have mkimage, then install it

apt-get install u-boot-tools

The DTB you need to use to append is:

/boot/dts/kirkwood-dockstar.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: U-Boot for Pogoplug Pogo E01 (003-SP1001)
May 22, 2019 06:51AM
Thanks
setenv usb_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x2100000 /boot/uInitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=rootfs rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts earlyprintk=serial'
saveenv
boot

Work for me!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: