Welcome! Log In Create A New Profile

Advanced

Pogoplug v4 usb image

Posted by hbelcher 
Pogoplug v4 usb image
April 22, 2017 02:09PM
a friend gave me his pogoplug but didnt have the usb drive he was booting from
i need a bootable usb drive image i can start with
all the pogoplug does is the green led flashes

he told me he had it set to boot from the usb drive
so im guessing its looking for a boot image from the usb

its not pulling an ip from the dhcp server so im pretty sure its not booting


thanks for any help
Re: Pogoplug v4 usb image
April 22, 2017 04:24PM
hbelcher,

Rootfs sticky thread: Linux Kernel 4.10.9 Kirkwood package and Debian rootfs

Using this section:

Quote

Updated 20 Feb 2016:

This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.

Basic minimal Debian Kirkwood rootfs for most Kirwood plugs:


Note: pay attention to Step 4. You need to know which u-boot version that was installed on this box to know if you need to do Step 4 or not. If you can't find out u-boot version (need serial console to see version), then you should first try creating the rootfs without doing Step 4. And if it fails to boot, create another one with Step 4.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 04/22/2017 04:29PM by bodhi.
Re: Pogoplug v4 usb image
April 22, 2017 11:57PM
looks like i will be opening this up and connecting a serial connection to it so i can see whats going on inside

i will let you know what i find out
Re: Pogoplug v4 usb image
April 23, 2017 09:50AM
ok i did the best i could to follow the directions
but i still have a problem

i downloaded the tar
formatted the usb stick to ex3
extracted the "Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2" to the usb stick

then i connected a serial connection to the board and opened putty
here is what i get



U-Boot 1.1.4 (Oct  1 2011 - 12:21:35) Cloud Engines 1.1.2 (3.4.27) PHYADDR=0

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006918B4

Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz

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

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A1

Streaming disabled
Write allocate disabled


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

NAND read: device 0 offset 0x100000, size 0x73d0c
 474380 bytes read: OK
## Starting application at 0x00800000 ...


U-Boot 1.1.4 (Jan 13 2012 - 22:33:21) Arch Linux ARM (PPV4 r1) PHYADDR=0

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFD60

Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz

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

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found

No Fat FS detected

IDE device 0 not available
....
................................................................................

................................................................................

................................................................................

...............................................................

3154896 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

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

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.



so hopefully im close to something :)



Edited 1 time(s). Last edit at 04/23/2017 04:03PM by bodhi.
Re: Pogoplug v4 usb image
April 23, 2017 02:57PM
ok im to here now
but it freezes here "[ 127.171733] random: nonblocking pool is initialized"


U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFD60

Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz

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

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 4 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
2 Storage Device(s) found

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found

No Fat FS detected

IDE device 0 not available
....
................................................................................................................................................................................................................................................................................................................

3166793 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-04-23  19:22:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166729 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Seagate GoFlex Net
[    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=/dev/sda1 rootwait rootfstype=ext3
[    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: 120632K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 10440K 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 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000013] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000478] Console: colour dummy device 80x30
[    0.000521] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.090127] pid_max: default: 32768 minimum: 301
[    0.090287] Security Framework initialized
[    0.090398] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090428] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091609] Initializing cgroup subsys io
[    0.091659] Initializing cgroup subsys devices
[    0.091698] Initializing cgroup subsys freezer
[    0.091746] Initializing cgroup subsys net_cls
[    0.091870] CPU: Testing write buffer coherency: ok
[    0.092534] Setting up static identity map for 0x8200 - 0x8258
[    0.092973] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.098373] devtmpfs: initialized
[    0.106077] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106750] prandom: seed boundary self test passed
[    0.112465] prandom: 100 self tests passed
[    0.112521] pinctrl core: initialized pinctrl subsystem
[    0.114590] NET: Registered protocol family 16
[    0.115289] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140152] cpuidle: using governor ladder
[    0.170149] cpuidle: using governor menu
[    0.170760] Feroceon L2: Enabling L2
[    0.170821] Feroceon L2: Cache support initialised.
[    0.171367] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.178769] No ATAGs?
[    0.212255] vgaarb: loaded
[    0.212806] usbcore: registered new interface driver usbfs
[    0.212926] usbcore: registered new interface driver hub
[    0.213045] usbcore: registered new device driver usb
[    0.214635] clocksource: Switched to clocksource orion_clocksource
[    0.296271] NET: Registered protocol family 2
[    0.297442] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.297481] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.297512] TCP: Hash tables configured (established 1024 bind 1024)
[    0.297615] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.297650] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.297931] NET: Registered protocol family 1
[    0.298499] RPC: Registered named UNIX socket transport module.
[    0.298516] RPC: Registered udp transport module.
[    0.298527] RPC: Registered tcp transport module.
[    0.298538] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.299077] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.300591] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.300693] audit: initializing netlink subsys (disabled)
[    0.300764] audit: type=2000 audit(0.290:1): initialized
[    0.301268] Initialise system trusted keyring
[    0.301780] zbud: loaded
[    0.302200] VFS: Disk quotas dquot_6.6.0
[    0.302287] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.303076] NFS: Registering the id_resolver key type
[    0.303161] Key type id_resolver registered
[    0.303174] Key type id_legacy registered
[    0.303211] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.303232] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.303558] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.304285] Key type big_key registered
[    0.320877] Key type asymmetric registered
[    0.320909] Asymmetric key parser 'x509' registered
[    0.321040] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.321070] io scheduler noop registered
[    0.321093] io scheduler deadline registered
[    0.321179] io scheduler cfq registered (default)
[    0.323088] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.324074] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.324861] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.325669] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.365644] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.365991] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.405645] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.406376] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.408435] console [ttyS0] disabled
[    0.408520] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A
[    0.989287] console [ttyS0] enabled
[    0.994757] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.001088] nand: Hynix H27U1G8F2BTR-BC
[    1.004945] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.012498] Scanning device for bad blocks
[    1.116605] libphy: Fixed MDIO Bus: probed
[    1.121141] libphy: orion_mdio_bus: probed
[    1.126312] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.202866] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:86:37
[    2.211789] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.218359] ehci-pci: EHCI PCI platform driver
[    2.222885] ehci-orion: EHCI orion driver
[    2.227162] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.232662] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.240609] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.264678] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.270978] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.277783] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.285004] usb usb1: Product: EHCI Host Controller
[    2.289869] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.296486] usb usb1: SerialNumber: f1050000.ehci
[    2.302238] hub 1-0:1.0: USB hub found
[    2.306098] hub 1-0:1.0: 1 port detected
[    2.311397] mousedev: PS/2 mouse device common for all mice
[    2.624680] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.777366] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    2.784060] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.791218] usb 1-1: Product: USB2.0 Hub
[    2.795152] usb 1-1: Manufacturer: GenesysLogic
[    2.801077] hub 1-1:1.0: USB hub found
[    2.805367] hub 1-1:1.0: 4 ports detected
[    3.084671] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    3.196992] usb 1-1.1: New USB device found, idVendor=154b, idProduct=007a
[    3.203860] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.211189] usb 1-1.1: Product: USB 2.0 FD
[    3.215299] usb 1-1.1: Manufacturer: PNY Technologies
[    3.220336] usb 1-1.1: SerialNumber: 0416KK00000000001744
[    3.304670] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[    3.324668] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.330388] i2c /dev entries driver
[    3.337840] hidraw: raw HID events driver (C) Jiri Kosina
[    3.343800] drop_monitor: Initializing network drop monitor service
[    3.350482] NET: Registered protocol family 17
[    3.355317] Key type dns_resolver registered
[    3.360752] registered taskstats version 1
[    3.364952] Loading compiled-in X.509 certificates
[    3.369829] zswap: loaded using pool lzo/zbud
[    3.375785] Key type encrypted registered
[    3.380438] hctosys: unable to open rtc device (rtc0)
[    3.387768] Waiting for root device /dev/sda1...
[    3.428376] usb 1-1.2: New USB device found, idVendor=04fc, idProduct=0c15
[    3.435276] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    3.442587] usb 1-1.2: Product: USB to Serial-ATA bridge
[    3.447905] usb 1-1.2: Manufacturer: Sunplus Technology Inc.
[    3.453548] usb 1-1.2: SerialNumber: ST9500420A5VJ2TG0N
[  127.171733] random: nonblocking pool is initialized

---
Mod edit: use code tags.



Edited 1 time(s). Last edit at 04/23/2017 04:04PM by bodhi.
Re: Pogoplug v4 usb image
April 23, 2017 04:10PM
hbelcher.

So I see this box still has stock u-boot on it.

And the bootm command is incomplete.
3166793 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2017-04-23  19:22:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166729 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

You also need to load uInitrd, and the bootm must run both uImage and uInitrd. If not sure how, post the serial console output of
printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/23/2017 04:10PM by bodhi.
Re: Pogoplug v4 usb image
April 23, 2017 05:21PM
very close
Attachments:
open | download - Capture.JPG (25.1 KB)
Re: Pogoplug v4 usb image
April 23, 2017 05:37PM
CE>> printenv
baudrate=115200
loads_echo=0
ipaddr=169.254.254.253
serverip=169.254.254.254
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
boot=bootm 0x800000
boot_nand=run load_nand boot || run load_nand2 boot
bootcmd=run boot_nand
bootargs=console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs
ceboardver=PPV4A1
bootdelay=1
disaMvPnp=no
ethaddr=00:50:43:00:02:02
ethmtu=1500
usb0Mode=host
nandEcc=1bit
hddPowerCtrl=no
pcieTune=no
ethact=egiga0

Environment size: 801/131068 bytes

Attachments:
open | download - Capture.JPG (25.1 KB)
Re: Pogoplug v4 usb image
April 23, 2017 06:40PM
That's the default stock envs. Not what I meant.

The envs should include what you are using to boot to USB rootfs curently.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 23, 2017 06:48PM
i think i may have defaulted them
it doesn't seem to be booting from the usb anymore
i think its booting back into stock
Re: Pogoplug v4 usb image
April 23, 2017 09:46PM
You should have saved the uboot envs listing, before attempting to run any command that writes to it :)

I need to find my old log , or write a few commands for booting to USB

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/23/2017 09:47PM by bodhi.
Set envs in stock Pogoplug V4 u-boot to boot USB Debian rootfs
April 24, 2017 12:18AM
Power up the Pogo V4, interrupt serial console, and execute the following envs:

setenv arcNumber '3960'
setenv machid 'F78'
setenv load_initrd 'ext2load usb 0:1 0x1100000 /boot/uInitrd'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv mainlineLinux 'yes'
setenv mtdids 'nand0=orion_nand'
setenv mtdparts 'mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)'
setenv partition 'nand0,2'
setenv set_bootargs 'setenv bootargs "console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)"'
setenv bootcmd_exec 'mw 0x800000 0 1; load_uimage; run load_initrd; bootm 0x800000 0x1100000'
setenv bootcmd 'run set_bootargs; run bootcmd_exec; reset'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 04/24/2017 12:52AM by bodhi.
Re: Pogoplug v4 usb image
April 25, 2017 01:41AM
thanks for the help

i have made the changes you suggested

now to make the usb to boot with

CE>> printenv
baudrate=115200
loads_echo=0
ipaddr=169.254.254.253
serverip=169.254.254.254
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
boot=bootm 0x800000
boot_nand=run load_nand boot || run load_nand2 boot
bootargs=console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs
ceboardver=PPV4A1
bootdelay=1
disaMvPnp=no
ethaddr=00:50:43:00:02:02
ethmtu=1500
usb0Mode=host
nandEcc=1bit
hddPowerCtrl=no
pcieTune=no
ethact=egiga0
arcNumber=3960
machid=F78
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
partition=nand0,2
set_bootargs=setenv bootargs "console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)"
bootcmd_exec=mw 0x800000 0 1; load_uimage; run load_initrd; bootm 0x800000 0x1100000
bootcmd=run set_bootargs; run bootcmd_exec; reset

Environment size: 1284/131068 bytes
CE>>

Re: Pogoplug v4 usb image
April 26, 2017 06:56PM
can i recover from this?

"Disk /dev/mtd4: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtd4 doesn't contain a valid partition table"
Re: Pogoplug v4 usb image
April 26, 2017 08:39PM
hbelcher,

It's not important if you don't plan to boot to stock OS (mtd4 is the stock rootfs). It does not affect anything in Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 27, 2017 11:00AM
good
thanks for your help

now after attempting to update uboot im stick here

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
No link on egiga0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Pogov4>

here are all of the env

Pogov4> printenv
arcNumber=3960
baudrate=115200
bootargs=root=/dev/nfs nfsroot=192.168.1.100: ip=192.168.1.10:192.168.1.100:::::off
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
ethact=egiga0
ethaddr=00:50:43:00:02:02
if_netconsole=ping $serverip
ipaddr=192.168.1.10
machid=F78
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
serverip=192.168.1.100
stderr=serial
stdin=serial
stdout=serial
usb_rootfstype=ext3
this doesn't look complete to me



Edited 1 time(s). Last edit at 04/27/2017 11:19AM by hbelcher.
Re: Pogoplug v4 usb image
April 27, 2017 05:29PM
hbelcher Wrote:
-------------------------------------------------------
> good
> thanks for your help
>
> now after attempting to update uboot im stick here
>
>
> U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
> Pogoplug V4
> 
> SoC:   Kirkwood 88F6192_A1
> DRAM:  128 MiB
> WARNING: Caches not enabled
> NAND:  128 MiB
> MMC:   kwsdio: 0
> In:    serial
> Out:   serial
> Err:   serial
> Net:   egiga0
> Hit any key to stop autoboot:  0
> No link on egiga0
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> Pogov4>
> 
>
>
> here are all of the env
>
>
> Pogov4> printenv
> arcNumber=3960
> baudrate=115200
> bootargs=root=/dev/nfs nfsroot=192.168.1.100: ip=1
> 92.168.1.10:192.168.1.100:::::off
> bootcmd=bootp; setenv bootargs root=/dev/nfs nfsro
> ot=${serverip}:${rootpath} ip=${ipaddr}:${serverip
> }:${gatewayip}:${netmask}:${hostname}::off; bootm
> bootdelay=5
> ethact=egiga0
> ethaddr=00:50:43:00:02:02
> if_netconsole=ping $serverip
> ipaddr=192.168.1.10
> machid=F78
> mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage)
> ,3M(uImage2),8M(failsafe),112M(root)
> serverip=192.168.1.100
> stderr=serial
> stdin=serial
> stdout=serial
> usb_rootfstype=ext3
>
> this doesn't look complete to me

You did not flash the default envs image for this version? And the uboot version is also not the latest, which is 2016.05.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 27, 2017 05:38PM
trashed?
Re: Pogoplug v4 usb image
April 27, 2017 05:47PM
hbelcher Wrote:
-------------------------------------------------------
> trashed?


Nah:) it is not bricked at all. You just need to load the default envs script in serial console to correct it.

But first, let it boot all the way using USB rootfs, and post serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 27, 2017 05:59PM
i cant seem to boot to usb ( getting errors when i tar the image)
and all i get is a loop

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
Unknown command 'load_uimage' - try 'help'
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...


U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
Pogov4> biit
Unknown command 'biit' - try 'help'
Pogov4> boot
Unknown command 'load_uimage' - try 'help'
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...

Re: Pogoplug v4 usb image
April 27, 2017 11:55PM
well i think i have most of the env



Pogov4> printenv
CASset=min
MALLOC_len=1
arcNumber=3960
baudrate=115200
boot=bootm 0x800000
boot_nand=run load_nand boot
bootargs=console $(console) root LABEL rootfs rootdelay 10 $(mtdparts) $(custom_params)
bootargs_console=console=ttyS0,115200
bootcmd=run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=mw 0x800000 0 1
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
bootfile=u-boot.bin
ceboardver=PPV4A1
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=00:25:31:05:86:37
ethmtu=1500
ethprime=egiga0
hddPowerCtrl=no
ipaddr=10.0.0.117
load_initd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
load_uimad=usb 0:1 0x800000 /boot/uImage\
setenv mainlineLinux yes\
setenv mtdids nand0=orion_nand\
setenv mtdparts mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)\
setenv partition nand0,2\
setenv set_bootargs setenv bootargs console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)\
setenv bootcmd_exec mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
loads_echo=0
machid=F78
mainlineLinux=yes
mtdids=nand0 orion_nand
mtdparts=mtdparts orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
nandEcc=1bit
netbsd_en=no
netmask=255.255.255.0
pcieTune=no
pexMode=RC
rootpath=t/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=10.0.0.43
setL2CacheWT=yes
set_bootargs=setenv bootargs console $(console) root LABEL rootfs rootdelay 10 $(mtdparts) $(custom_params)
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
vxworks_en=no

Environment size: 1962/131068 bytes


still doesnt seem to want to boot from usb



U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Pogov4>


may be my usb sticks
Re: Pogoplug v4 usb image
April 28, 2017 12:05AM
i have setup tftp and tested it
just need something to send to to pogoplug
Re: Pogoplug v4 usb image
April 28, 2017 12:26AM
hbelcher Wrote:
-------------------------------------------------------
> well i think i have most of the env
>
>
>
> 
> Pogov4> printenv
> CASset=min
> MALLOC_len=1
> arcNumber=3960
> baudrate=115200
> boot=bootm 0x800000
> boot_nand=run load_nand boot
> bootargs=console $(console) root LABEL rootfs root
> delay 10 $(mtdparts) $(custom_params)
> bootargs_console=console=ttyS0,115200
> bootcmd=run set_bootargs; run bootcmd_exec; reset
> bootcmd_exec=mw 0x800000 0 1
> bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000
> /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
> bootcmd_usb=usb start; ext2load usb 0:1 0x00800000
> /uImage; ext2load usb 0:1 0x01100000 /uInitrd
> bootdelay=3
> bootfile=u-boot.bin
> ceboardver=PPV4A1
> disL2Cache=no
> disL2Prefetch=yes
> disaMvPnp=no
> enaCpuStream=no
> enaDCPref=yes
> enaICPref=yes
> enaMonExt=no
> enaWrAllo=no
> ethact=egiga0
> ethaddr=00:25:31:05:86:37
> ethmtu=1500
> ethprime=egiga0
> hddPowerCtrl=no
> ipaddr=10.0.0.117
> load_initd=ext2load usb 0:1 0x1100000 /boot/uInitr
> d
> load_initrd=ext2load usb 0:1 0x1100000 /boot/uInit
> rd
> load_nand=nboot 0x800000 0 0x200000
> load_nand2=nboot 0x800000 0 0x500000
> load_uimad=usb 0:1 0x800000 /boot/uImage\
> setenv mainlineLinux yes\
> setenv mtdids nand0=orion_nand\
> setenv mtdparts mtdparts=orion_nand:2M(u-boot),3M(
> uImage),3M(uImage2),8M(failsafe),112M(root)\
> setenv partition nand0,2\
> setenv set_bootargs setenv bootargs console=$(cons
> ole) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(
> custom_params)\
> setenv bootcmd_exec mw 0x800000 0 1
> load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
> loads_echo=0
> machid=F78
> mainlineLinux=yes
> mtdids=nand0 orion_nand
> mtdparts=mtdparts orion_nand:2M(u-boot),3M(uImage)
> ,3M(uImage2),8M(failsafe),112M(root)
> nandEcc=1bit
> netbsd_en=no
> netmask=255.255.255.0
> pcieTune=no
> pexMode=RC
> rootpath=t/ARM_FS/
> run_diag=yes
> sata_dma_mode=yes
> serverip=10.0.0.43
> setL2CacheWT=yes
> set_bootargs=setenv bootargs console $(console) ro
> ot LABEL rootfs rootdelay 10 $(mtdparts) $(custom_
> params)
> stderr=serial
> stdin=serial
> stdout=serial
> usb0Mode=host
> vxworks_en=no
> 
> Environment size: 1962/131068 bytes
> 
>
>
>
> still doesnt seem to want to boot from usb
>
>
>
> 
> U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
> Pogoplug V4
> 
> SoC:   Kirkwood 88F6192_A1
> DRAM:  128 MiB
> WARNING: Caches not enabled
> NAND:  128 MiB
> MMC:   kwsdio: 0
> In:    serial
> Out:   serial
> Err:   serial
> Net:   egiga0 [PRIME]
> Hit any key to stop autoboot:  0
> Pogov4>
> 
>
>
>
> may be my usb sticks

That's most likely. Also unlikely a hadware problem. Repeat the USB rootfs creation. If you need help troubleshooting, please post the entire serial console boot log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 28, 2017 03:40PM
i was able to boot via tftp server

tftpboot 0x01100000 uInitrd
tftpboot 0x00800000 uImage
bootm 0x00800000 0x01100000

still trying to figure out why i cant make a valid fs disk



Edited 1 time(s). Last edit at 04/28/2017 05:34PM by hbelcher.
Re: Pogoplug v4 usb image
April 28, 2017 06:01PM
well im still at the "kind of " booting
i have tried to mount the usb or even fdisk the they appears not to be loaded

here is the guide i was trying to use
wiki.xkyle.com/Install_Debian_on_a_Pogoplug.html
but something is not working
i was just grasping at anything to try to make a usb drive roofs
and thought if i could boot up on the pogo i could make a usb or sd


here is what i get when tftp booting

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Pogov4> reset
resetting ...


U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Pogov4> tftp 0x1100000 uInitrd
Using egiga0 device
TFTP from server 10.0.0.43; our IP address is 10.0.0.117
Filename 'uInitrd'.
Load address: 0x1100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
         3.2 MiB/s
done
Bytes transferred = 7179935 (6d8e9f hex)
Pogov4> tftp 0x800000 uImage
Using egiga0 device
TFTP from server 10.0.0.43; our IP address is 10.0.0.117
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################################
         3.2 MiB/s
done
Bytes transferred = 4604912 (4643f0 hex)
Pogov4> setenv bootargs console='ttyS0,115200 base-installer/initramfs-tools/dri
ver-policy=most mirror/suite=stable apt-setup/local0/repository="http://people.d
ebian.org/~tbm/orion/lenny/main" apt-setup/local0/key=http://people.debian.org/~
tbm/orion/68FD549F'
Pogov4> bootm 0x00800000 0x01100000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.57-1-ARCH
   Created:      2017-03-27   5:43:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4604848 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0xf78 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.57-1-ARCH (builduser@leming) (gcc version 6.3.1
 20170306 (GCC) ) #1 PREEMPT Sun Mar 26 23:43:15 MDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397
f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Pogoplug V4
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 base-installer/initramf
s-tools/driver-policy=most mirror/suite=stable apt-setup/local0/repository="http
://people.debian.org/~tbm/orion/lenny/main" apt-setup/local0/key=http://people.d
ebian.org/~tbm/orion/68FD549F
[    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: 112672K/131072K available (6606K kernel code, 547K rwdata
, 1876K rodata, 300K init, 725K bss, 18400K 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 - 0xc0850a04   (8483 kB)
[    0.000000]       .init : 0xc0851000 - 0xc089c000   ( 300 kB)
[    0.000000]       .data : 0xc089c000 - 0xc0924eec   ( 548 kB)
[    0.000000]        .bss : 0xc0924eec - 0xc09da4b8   ( 726 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000020] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884
901885ns
[   10.640888] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xff
ffffff, max_idle_ns: 11467562657 ns
[   10.641177] Console: colour dummy device 80x30
[   10.641221] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[   10.730997] pid_max: default: 32768 minimum: 301
[   10.731144] Security Framework initialized
[   10.731258] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   10.731287] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   10.732490] Initializing cgroup subsys io
[   10.732542] Initializing cgroup subsys memory
[   10.732622] Initializing cgroup subsys devices
[   10.732664] Initializing cgroup subsys freezer
[   10.732699] Initializing cgroup subsys net_cls
[   10.732730] Initializing cgroup subsys perf_event
[   10.732764] Initializing cgroup subsys net_prio
[   10.732887] CPU: Testing write buffer coherency: ok
[   10.733575] Setting up static identity map for 0x81e0 - 0x8238
[   10.736343] devtmpfs: initialized
[   10.740142] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[   10.740202] futex hash table entries: 256 (order: -1, 3072 bytes)
[   10.741024] pinctrl core: initialized pinctrl subsystem
[   10.742170] NET: Registered protocol family 16
[   10.743040] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   10.771027] cpuidle: using governor ladder
[   10.801024] cpuidle: using governor menu
[   10.801381] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   10.801419] Feroceon L2: Enabling L2
[   10.801472] Feroceon L2: Cache support initialised.
[   10.804951] Kirkwood PCIe port 0: link down
[   10.804968] PCI: bus0 uses PCIe port 0
[   10.805312] PCI host bridge to bus 0000:00
[   10.805338] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   10.805356] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   10.805372] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[   10.805900] PCI: bus0: Fast back to back transfers disabled
[   10.843175] vgaarb: loaded
[   10.843628] SCSI subsystem initialized
[   10.844375] usbcore: registered new interface driver usbfs
[   10.844486] usbcore: registered new interface driver hub
[   10.844573] usbcore: registered new device driver usb
[   10.844819] pps_core: LinuxPPS API ver. 1 registered
[   10.844833] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
tti <giometti@linux.it>
[   10.844884] PTP clock support registered
[   10.846587] clocksource: Switched to clocksource orion_clocksource
[   10.903791] FS-Cache: Loaded
[   10.922774] NET: Registered protocol family 2
[   10.923935] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.923973] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.924003] TCP: Hash tables configured (established 1024 bind 1024)
[   10.924114] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.924149] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.924427] NET: Registered protocol family 1
[   10.924902] RPC: Registered named UNIX socket transport module.
[   10.924920] RPC: Registered udp transport module.
[   10.924930] RPC: Registered tcp transport module.
[   10.924940] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.925380] Trying to unpack rootfs image as initramfs...
[   11.795937] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[   11.817599] VFS: Disk quotas dquot_6.6.0
[   11.817998] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.821036] FS-Cache: Netfs 'nfs' registered for caching
[   11.822704] NFS: Registering the id_resolver key type
[   11.822788] Key type id_resolver registered
[   11.822800] Key type id_legacy registered
[   11.822924] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   11.824873] fuse init (API version 7.23)
[   11.828243] aufs 4.4-20170220
[   11.835755] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
50)
[   11.835782] io scheduler noop registered
[   11.835800] io scheduler deadline registered
[   11.836192] io scheduler cfq registered
[   11.836698] io scheduler bfq registered (default)
[   11.836711] BFQ I/O-scheduler: v7r11
[   11.837016] mv_xor mv_xor.0: Marvell shared XOR driver
[   11.878681] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   11.879031] mv_xor mv_xor.1: Marvell shared XOR driver
[   11.918567] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   11.926850] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.928414] console [ttyS0] disabled
[   11.948506] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 104
16666) is a 16550A
[   12.558426] console [ttyS0] enabled
[   12.585271] brd: module loaded
[   12.599856] loop: module loaded
[   12.603504] sata_mv sata_mv.0: cannot get optional clkdev
[   12.609082] sata_mv sata_mv.0: slots 32 ports 1
[   12.616062] scsi host0: sata_mv
[   12.619791] ata1: SATA max UDMA/133 irq 21
[   12.624913] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   12.631445] nand: Hynix H27U1G8F2BTR-BC
[   12.635270] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz
e: 64
[   12.642852] Scanning device for bad blocks
[   12.737697] Creating 5 MTD partitions on "orion_nand":
[   12.742838] 0x000000000000-0x000000200000 : "u-boot"
[   12.748620] 0x000000200000-0x000000500000 : "uImage"
[   12.754221] 0x000000500000-0x000000800000 : "uImage2"
[   12.760080] 0x000000800000-0x000001000000 : "failsafe"
[   12.765881] 0x000001000000-0x000008000000 : "root"
[   12.786261] libphy: orion_mdio_bus: probed
[   12.790612] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   12.976636] ata1: SATA link down (SStatus 0 SControl F300)
[   13.881017] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address
 00:25:31:05:86:37
[   13.889959] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.896472] ehci-pci: EHCI PCI platform driver
[   13.901039] ehci-orion: EHCI orion driver
[   13.905143] orion-ehci orion-ehci.0: EHCI Host Controller
[   13.910590] orion-ehci orion-ehci.0: new USB bus registered, assigned bus num
ber 1
[   13.918359] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   13.936637] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   13.944024] hub 1-0:1.0: USB hub found
[   13.947894] hub 1-0:1.0: 1 port detected
[   13.952814] usbcore: registered new interface driver uas
[   13.958378] usbcore: registered new interface driver usb-storage
[   13.964443] usbcore: registered new interface driver ums-alauda
[   13.970475] usbcore: registered new interface driver ums-cypress
[   13.976535] usbcore: registered new interface driver ums-datafab
[   13.982623] usbcore: registered new interface driver ums_eneub6250
[   13.988884] usbcore: registered new interface driver ums-freecom
[   13.994938] usbcore: registered new interface driver ums-isd200
[   14.000938] usbcore: registered new interface driver ums-jumpshot
[   14.007114] usbcore: registered new interface driver ums-karma
[   14.012998] usbcore: registered new interface driver ums-onetouch
[   14.019198] usbcore: registered new interface driver ums-realtek
[   14.025257] usbcore: registered new interface driver ums-sddr09
[   14.031256] usbcore: registered new interface driver ums-sddr55
[   14.037250] usbcore: registered new interface driver ums-usbat
[   14.043699] mousedev: PS/2 mouse device common for all mice
[   14.266628] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   14.418898] usb-storage 1-1:1.0: USB Mass Storage device detected
[   14.425406] scsi host1: usb-storage 1-1:1.0
[   15.056625] rtc-mv rtc-mv: internal RTC not ticking
[   15.061701] i2c /dev entries driver
[   15.066048] sdhci: Secure Digital Host Controller Interface driver
[   15.072240] sdhci: Copyright(c) Pierre Ossman
[   15.116915] sdhci-pltfm: SDHCI platform and OF driver helper
[   15.126429] ledtrig-cpu: registered to indicate activity on CPUs
[   15.132678] usbcore: registered new interface driver r8712u
[   15.138688] gre: GRE over IPv4 demultiplexor driver
[   15.143646] NET: Registered protocol family 17
[   15.148335] Key type dns_resolver registered
[   15.155301] registered taskstats version 1
[   15.182068] Key type encrypted registered
[   15.187335] console [netcon0] enabled
[   15.192036] netconsole: network logging started
[   15.199392] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   15.206562] hctosys: unable to open rtc device (rtc0)
[   15.215742] Freeing unused kernel memory: 300K (c0851000 - c089c000)
Loading, please wait...
[   15.332640] systemd-udevd[121]: starting version 215
[   15.349351] random: systemd-udevd: uninitialized urandom read (16 bytes read,
 8 bits of entropy available)
[   15.437886] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.27 PQ
: 0 ANSI: 6
[   15.496109] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   15.502819] sd 1:0:0:0: [sda] 30529536 512-byte logical blocks: (15.6 GB/14.6
 GiB)
[   15.549949] sd 1:0:0:0: [sda] Write Protect is off
[   15.572178] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doe
sn't support DPO or FUA
[   15.630818]  sda: sda1
[   15.640438] sd 1:0:0:0: [sda] Attached SCSI removable disk
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
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.
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
Begin: Checking  file system ... fsck from util-linux 2.25.2
done.
mount: can't find /root in /etc/fstab
done.
Target filesystem doesn't have requested /sbin/init.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed
: No such file or directory
done.
No init found. Try passing init= bootarg.
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) [  165.265451] random: nonblocking pool is initialized

(initramfs)

here is the part something starts to go weong

modprobe: can't change directory to '4.4.57-1-ARCH': No such file or directory
Begin: Checking  file system ... fsck from util-linux 2.25.2
done.
mount: can't find /root in /etc/fstab
done.
Target filesystem doesn't have requested /sbin/init.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed
: No such file or directory
done.
No init found. Try passing init= bootarg.




here is printenv

Pogov4> printenv
CASset=min
MALLOC_len=1
apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
arcNumber=2097
baudrate=115200
boot=bootm 0x800000
boot_nand=run load_nand boot
bootargs=console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most mirror/suite=stable apt-setup/local0/repository=http://people.debian.org/~tbm/orion/lenny/main apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
bootargs_console=console=ttyS0,115200
bootcmd=run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=mw 0x800000 0 1; load_uimage; run load_initrd; bootm 0x800000 0x1100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
bootfile=u-boot.bin
ceboardver=PPV4A1
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=00:25:31:05:86:37
ethmtu=1500
ethprime=egiga0
fileaddr=800000
filesize=4643f0
hddPowerCtrl=no
ipaddr=10.0.0.117
load_initd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
load_uimad=usb 0:1 0x800000 /boot/uImage\
setenv mainlineLinux yes\
setenv mtdids nand0=orion_nand\
setenv mtdparts mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)\
setenv partition nand0,2\
setenv set_bootargs setenv bootargs console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)\
setenv bootcmd_exec mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
loads_echo=0
machid=F78
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
nandEcc=1bit
netbsd_en=no
netmask=255.255.255.0
partition=nand0,2
pcieTune=no
pexMode=RC
rootpath=t/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=10.0.0.43
setL2CacheWT=yes
set_bootargs=setenv bootargs "console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)"
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
vxworks_en=no

Environment size: 2306/131068 bytes
Pogov4>


i don't care to start over if i need to
all i need to run is samba to share out a 3tb hard drive
Re: Pogoplug v4 usb image
April 28, 2017 06:56PM
Recreate the Debian 4.4 rootfs and boot with it

- plug in the Debian 4.4 USB rootfs
- power up, interrupt serial console, and

printev
boot


And post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
April 28, 2017 07:06PM
bodhi Wrote:
-------------------------------------------------------
> Recreate the Debian 4.4 rootfs and boot with it
>
> - plug in the Debian 4.4 USB rootfs
> - power up, interrupt serial console, and
>
>
> printev

CASset=min
MALLOC_len=1
apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
arcNumber=2097
baudrate=115200
boot=bootm 0x800000
boot_nand=run load_nand boot
bootargs=console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most mirror/suite=stable apt-setup/local0/repository=http://people.debian.org/~tbm/orion/lenny/main apt-setup/local0/key=http://people.debian.org/~tbm/orion/68FD549F
bootargs_console=console=ttyS0,115200
bootcmd=run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=mw 0x800000 0 1; load_uimage; run load_initrd; bootm 0x800000 0x1100000
bootcmd_mmc=mmc init; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd
bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd
bootdelay=3
bootfile=u-boot.bin
ceboardver=PPV4A1
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=00:25:31:05:86:37
ethmtu=1500
ethprime=egiga0
fileaddr=800000
filesize=4643f0
hddPowerCtrl=no
ipaddr=10.0.0.117
load_initd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_nand=nboot 0x800000 0 0x200000
load_nand2=nboot 0x800000 0 0x500000
load_uimad=usb 0:1 0x800000 /boot/uImage\
setenv mainlineLinux yes\
setenv mtdids nand0=orion_nand\
setenv mtdparts mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)\
setenv partition nand0,2\
setenv set_bootargs setenv bootargs console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)\
setenv bootcmd_exec mw 0x800000 0 1
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
loads_echo=0
machid=F78
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
nandEcc=1bit
netbsd_en=no
netmask=255.255.255.0
partition=nand0,2
pcieTune=no
pexMode=RC
rootpath=t/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=10.0.0.43
setL2CacheWT=yes
set_bootargs=setenv bootargs "console=$(console) root=LABEL=rootfs rootdelay=10 $(mtdparts) $(custom_params)"
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
vxworks_en=no

Environment size: 2306/131068 bytes


> boot
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  3 2 1 0 
Unknown command 'load_uimage' - try 'help'
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...


U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  3 0 
Pogov4>

>
>
>
> And post the entire serial console log here.
Re: Pogoplug v4 usb image
April 29, 2017 03:50AM
2 problems:

1. Your USB rootfs is not good good. Recreate the rootfs again. If you like me to take a look, post the session how you did it.
2. Your bootcmd_exec env has a typo, should be:

run load_uimage

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 usb image
May 01, 2017 10:27AM
well after a lot of help its booting from usb :)

now i want to boot from SD
i have updated the uboot

it starts to boot then


   10.780619] mmc0: host does not support reading read-only switch, assuming write-enable
[   10.792789] mmc0: new high speed SDHC card at address 0001
[   10.799079] mmcblk0: mmc0:0001 AS 3.70 GiB
[   10.804735]  mmcblk0: p1
[   20.780907] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   20.788882] Please append a correct "root=" boot option; here are the available partitions:
[   20.797318] 0100            8192 ram0  (driver?)
[   20.802034] 0101            8192 ram1  (driver?)
[   20.806643] 0102            8192 ram2  (driver?)
[   20.811306] 0103            8192 ram3  (driver?)
[   20.815914] 0104            8192 ram4  (driver?)
[   20.820518] 0105            8192 ram5  (driver?)
[   20.825177] 0106            8192 ram6  (driver?)
[   20.829781] 0107            8192 ram7  (driver?)
[   20.834414] 0108            8192 ram8  (driver?)
[   20.839026] 0109            8192 ram9  (driver?)
[   20.843658] 010a            8192 ram10  (driver?)
[   20.848349] 010b            8192 ram11  (driver?)
[   20.853059] 010c            8192 ram12  (driver?)
[   20.857749] 010d            8192 ram13  (driver?)
[   20.862468] 010e            8192 ram14  (driver?)
[   20.867167] 010f            8192 ram15  (driver?)
[   20.871883] b300         3874816 mmcblk0  driver: mmcblk
[   20.877180]   b301         3873792 mmcblk0p1 c53f5acc-01
[   20.882502] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   20.890737] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.57-1-ARCH #1
[   20.897064] Hardware name: Marvell SheevaPlug Reference Board
[   20.902822] [<c0010544>] (unwind_backtrace) from [<c000d9ec>] (show_stack+0x10/0x14)
[   20.910548] [<c000d9ec>] (show_stack) from [<c00cda94>] (panic+0x88/0x208)
[   20.917408] [<c00cda94>] (panic) from [<c08522c8>] (mount_block_root+0x1a0/0x260)
[   20.924868] [<c08522c8>] (mount_block_root) from [<c0852578>] (mount_root+0xf4/0x120)
[   20.932669] [<c0852578>] (mount_root) from [<c0852700>] (prepare_namespace+0x15c/0x1bc)
[   20.940646] [<c0852700>] (prepare_namespace) from [<c0851eb4>] (kernel_init_freeable+0x1fc/0x254)
[   20.949493] [<c0851eb4>] (kernel_init_freeable) from [<c06489b4>] (kernel_init+0x8/0xe8)
[   20.957555] [<c06489b4>] (kernel_init) from [<c000a4d0>] (ret_from_fork+0x14/0x24)
[   20.965097] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   95.040561] random: nonblocking pool is initialized



Edited 1 time(s). Last edit at 05/01/2017 02:10PM by hbelcher.
Re: Pogoplug v4 usb image
May 02, 2017 12:32AM
hbelcher,

> well after a lot of help its booting from usb :)

Cool!

>
> now i want to boot from SD
> i have updated the uboot
>

The error could possibly a few different reason:

1 . The SD card rootfs partition is not labeled rootfs

2. The uboot envs were setup incorrectly.

So verify number 1, and then plug in this SD card. Power up, interrupt serial console and

printenv
boot

Pleasep post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: