Welcome! Log In Create A New Profile

Advanced

Assistance requested booting PogoOS

Posted by Cisco 
Assistance requested booting PogoOS
April 27, 2017 12:11PM
After using my pogoplug v4 mobile mofified with optware as per instructions in Qui's blog, I decided to install the Debian linux.
Since download.qnology.com is down, I used the script at https://github.com/pepaslabs/pogoplug_mobile_uboot_installer to install uboot

Now my pogoplug v4 mobile works fine with SD-Card or USB using the pre-built rootfs images at https://github.com/pepaslabs/pogoplug-v4-bodhi-rootfs-debian/releases/download/jessie-3.18.5-20151110/Debian-jessie-3.18.5-pogoplug-v4-20151110-disk-image.4GB.img.zip.

However I am unable too boot into the original PogoOS when I start the pogoplug without SD-Card or USB attached. I spent many days reading Qui's and Bodhi's various documents including http://blog.qnology.com/p/pogoplug-v4-boot-default-pogoplug-os.html and may have messed-up my environment, experimenting with said instructions. While experimenting the plug booted into the original OS once, but I am unable to repeat.

Would appreciate any help in configuring my pogoplug so that it boots into original PogoOS when SD-Card or USB is *not attached*.

Following is my environment and netconsole output.

fw_printenv:-

root@Pogoplug:~# fw_printenv
baudrate=115200
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
if_netconsole=ping $serverip
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtdids=nand0=orion_nand
partition=nand0,2
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
ethaddr=00:25:31:05:b6:5a
arcNumber=3960
machid=F78
usb_rootfstype=ext3
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_pogo; run bootcmd_sata; reset
bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
preboot=run preboot_nc
ipaddr=192.168.1.13
serverip=192.168.1.15



Netconsole without usb or sdcard attached (Fails to boot PogoOS):-

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
Pogoplug V4
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
Hit any key to stop autoboot:  0
** Bad device mmc 0 **
** Bad device mmc 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 112 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 895, bad PEBs: 1, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 895, PEBs reserved for bad PEB handling: 8
Loading file 'uboot.mtd0.dockstar.original.kwb' to addr 0x00800000...
Done
## Starting application at 0x00800200 ...



Netconsole with SD-Card(OS) and USB(Storage) attached (Sucessful boot into Debian):-

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
Pogoplug V4
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
Hit any key to stop autoboot:  0

MMC rescan: current device # 0 initialized OK
2875692 bytes read in 1202 ms (2.3 MiB/s)
6535284 bytes read in 1410 ms (4.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.18.5-kirkwood-tld-1
   Created:      2015-11-11   5:03:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2875628 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK


Starting kernel ...

-----
moderator edit: add code tags



Edited 1 time(s). Last edit at 05/02/2017 01:37AM by bodhi.
Re: Assistance requested booting PogoOS
April 27, 2017 06:25PM
Cisco Wrote:
-------------------------------------------------------
> After using my pogoplug v4 mobile mofified with op
> tware as per instructions in Qui's blog, I decided
> to install the Debian linux.
> Since download.qnology.com is down, I used the scr
> ipt at https://github.com/pepaslabs/pogoplug_mobil
> e_uboot_installer to install uboot
>
> Now my pogoplug v4 mobile works fine with SD-Card
> or USB using the pre-built rootfs images at https:
> //github.com/pepaslabs/pogoplug-v4-bodhi-rootfs-de
> bian/releases/download/jessie-3.18.5-20151110/Debi
> an-jessie-3.18.5-pogoplug-v4-20151110-disk-image.4
> GB.img.zip.
>
> However I am unable too boot into the original Pog
> oOS when I start the pogoplug without SD-Card or U
> SB attached. I spent many days reading Qui's and B
> odhi's various documents including http://blog.qno
> logy.com/p/pogoplug-v4-boot-default-pogoplug-os.ht
> ml and may have messed-up my environment, experime
> nting with said instructions. While experimenting
> the plug booted into the original OS once, but I a
> m unable to repeat.
>
> Would appreciate any help in configuring my pogopl
> ug so that it boots into original PogoOS when SD-C
> ard or USB is *not attached*.

I am not at home so remind me in a couple days to help you.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/02/2017 01:37AM by bodhi.
Re: Assistance requested booting PogoOS
May 02, 2017 06:59AM
Cisco,

1. It does look like the stock u-boot was loaded OK. And when stock u-boot starts, netconsole output will stop. So stock kernel might or might not have booted. There is no way to see this activity with netconsole.

## Starting application at 0x00800200 ...

Have you tried to look for a new IP in the network at this point?

2. One of the envs that could potentially cause problem is

mainlineLinux=yes
With stock OS, this variable should be set to no.

3. If you can connect serial console, then it will be clarified. You will see everything going on after stock u-boot started (## Starting application at 0x00800200 ...).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Assistance requested booting PogoOS
May 02, 2017 08:19AM
Hello Bodhi,
Could the "ubi0: good PEBs: 895, bad PEBs: 1, corrupted PEBs: 0" pose a problem?. I have an old CA42 cable, and I came across the instructions somewhere for the console cable (forgot to bookmark) can you kindly send the link? I have a DHCP reservation for "00:25:31:05:b6:5a" (192.168.1.13) and it is the correct MAC for my plug. On failed boot the light flashes green and then goes off.

If I pause the Uboot and try manual parameters like this:-

if fsload uboot-original-mtd0.kwb; then go 0x800200; fi


Then I get :-


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
Pogoplug V4
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
Hit any key to stop autoboot:  8
 0
Pogov4> if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS:   read_nand_cached: error reading nand off 0x5fec00 size 8192 bytes
read_nand_cached: error reading nand off 0x5fea00 size 8192 bytes
read_nand_cached: error reading nand off 0x68c000 size 8192 bytes
read_nand_cached: error reading nand off 0x68be00 size 8192 bytes
 done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
Pogov4>


---------
Moderator edit: added code tags



Edited 3 time(s). Last edit at 05/03/2017 01:13AM by bodhi.
Re: Assistance requested booting PogoOS
May 03, 2017 02:17AM
Cisco Wrote:
-------------------------------------------------------
> Hello Bodhi,
> Could the "ubi0: good PEBs: 895, bad PEBs: 1, corr
> upted PEBs: 0" pose a problem?.

It might have been. But the stock u-boot image was loaded OK and started, so it was not likely a problem.


> I have an old CA42
> cable, and I came across the instructions somewher
> e for the console cable (forgot to bookmark) can y
> ou kindly send the link?

See the Wiki thread: http://forum.doozan.com/read.php?2,23630

In this section

Quote

Serial Console & JTAG console

Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics
Adding serial connector to Pogoplug Mobile (external link)

>
> if fsload uboot-original-mtd0.kwb; then go 0x80020
> 0; fi
>

The fsload command above won't work on the Pogo V4. The Dockstar and Pogo E02 use JFFS2, so that command is for those boxes. The Pogo V4 NAND rootfs use UBIFS.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Assistance requested booting PogoOS
May 16, 2017 06:35AM
Hello Bodhi,
I finally obtained and soldered serial console cable for my pogoplug. The output on (failed) PogoOS boot using serial is as follows. I also posses another working and dual-boot PogoOS+Debian pogoplug v4. It seems the NAND image of the first plug has CRC errors.. could I export/use an image from my other plug?

Please note the pogoplug successfully boots the original PogoOS (sometimes) at random...

In an unrelated question how do I add the "code" tags myself?

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
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
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

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

Soc: MV88F6192 Rev 3 (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
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

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], egiga1
Hit any key to stop autoboot:  0

Loading from NAND 128MB 3,3V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
CE>>



Edited 3 time(s). Last edit at 05/16/2017 12:05PM by bodhi.
Re: Assistance requested booting PogoOS
May 16, 2017 12:11PM
Cisco,

Your netconsole is activated, so the serial boot log was not compeleted.

Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device

There should be a lot more info at this point. But you did not interrupt u-boot and post your u-boot envs so I can't tell you how to modify the envs to turn it off.

----

Power up, interrupt serial console and

printenv

Please post the entire serial console log including the output of printenv here.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/16/2017 12:38PM by bodhi.
Re: Assistance requested booting PogoOS
May 16, 2017 12:40PM
Hello Bhodhi,
Here are the details you requested. I am puzzled as to why it does not show the "Verifying Checksum ... Bad Data CRC" and says "Verifying Checksum ... OK", instead and then proceeds to boot the PogoOS successfully (sometimes).
Does it give us any clue? Since it boots sometimes I am guessing the settings might be OK and there is data corruption instead?

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
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
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive
Using egiga0 device
host 192.168.1.15 is alive


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

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

Soc: MV88F6192 Rev 3 (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
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

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], egiga1
Hit any key to stop autoboot:  0

CE>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
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
ethmtu=1500
usb0Mode=host
nandEcc=1bit
hddPowerCtrl=no
pcieTune=no
ethact=egiga0
ethaddr=00:25:31:05:b6:5a
cesvcid=VE8MFDXJSXPAE9S6SJA8B8R5CA
ceboardver=PPV4A1
ipaddr=192.168.58.233
serverip=192.168.58.188
bootargs=console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs
bootcmd=run boot_nand
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/mtdblock2 ro
bootdelay=3
disaMvPnp=no

Environment size: 900/131068 bytes
CE>>



Edited 1 time(s). Last edit at 05/16/2017 12:43PM by bodhi.
Re: Assistance requested booting PogoOS
May 16, 2017 12:44PM
Re: Assistance requested booting PogoOS
May 16, 2017 12:47PM
Cisco,

To turn off netconsole, change the IP address of your host that you are using to connect to the Pogo:

host 192.168.1.15

Change thiis host IP to something else, such as 192.168.1.16.

Power up, and let it boot all the way. Post entire serial console log.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/16/2017 12:48PM by bodhi.
Re: Assistance requested booting PogoOS
May 16, 2017 01:20PM
Here is the information requested


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
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
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Hit any key to stop autoboot:  0

Pogov4> printenv
arcNumber=3960
baudrate=115200
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_pogo; run bootcmd_sata; reset
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=00:25:31:05:b6:5a
if_netconsole=ping $serverip
ipaddr=192.168.1.13
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=F78
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
nc_ready=0
partition=nand0,2
preboot=run preboot_nc
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
serverip=192.168.1.15
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
usb_rootfstype=ext3

Environment size: 2586/131068 bytes
Pogov4>

I also managed to record a fluke boot to Pogo OS. It is as follows


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

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

Soc: MV88F6192 Rev 3 (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
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

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], egiga1
Hit any key to stop autoboot:  0

Loading from NAND 128MB 3,3V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.8 (afenn@kt) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #4 Tue Aug 23 13:00:50 PDT 2011
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 118356KB available (3852K code, 261K data, 124K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
[    0.230000] Mount-cache hash table entries: 512
[    0.230000] CPU: Testing write buffer coherency: ok
[    0.230000] NET: Registered protocol family 16
[    0.230000] Feroceon L2: Enabling L2
[    0.230000] Feroceon L2: Cache support initialised.
[    0.230000]
[    0.230000] CPU Interface
[    0.230000] -------------
[    0.230000] SDRAM_CS0 ....base 00000000, size 128MB
[    0.230000] SDRAM_CS1 ....disable
[    0.230000] SDRAM_CS2 ....disable
[    0.230000] SDRAM_CS3 ....disable
[    0.230000] PEX0_MEM ....base e0000000, size 128MB
[    0.230000] PEX0_IO ....base f2000000, size   1MB
[    0.230000] PEX1_MEM ....no such
[    0.230000] PEX1_IO ....no such
[    0.230000] INTER_REGS ....base f1000000, size   1MB
[    0.230000] NFLASH_CS ....base fa000000, size   2MB
[    0.230000] SPI_CS ....base f4000000, size  16MB
[    0.230000] BOOT_ROM_CS ....no such
[    0.230000] DEV_BOOTCS ....no such
[    0.230000] CRYPT_ENG ....base f0000000, size   2MB
[    0.230000]
[    0.230000]   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch18)-- SHEEVA PLUG  Soc: 88F6192 A1 LE
[    0.230000]
[    0.230000]  Detected Tclk 166666667 and SysClk 200000000
[    0.230000] Marvell USB EHCI Host controller #0: c403e740
[    0.730000] PEX0 interface detected no Link.
[    0.740000] PCI: bus0: Fast back to back transfers enabled
[    0.740000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
[    0.750000] bio: create slab <bio-0> at 0
[    0.750000] SCSI subsystem initialized
[    0.750000] usbcore: registered new interface driver usbfs
[    0.750000] usbcore: registered new interface driver hub
[    0.750000] usbcore: registered new device driver usb
[    0.750000] NET: Registered protocol family 2
[    0.750000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.750000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.750000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.750000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.750000] TCP reno registered
[    0.750000] NET: Registered protocol family 1
[    0.750000] cpufreq: Init kirkwood cpufreq driver
[    0.760000] XOR registered 4 channels
[    0.760000] XOR 2nd invalidate WA enabled
[    0.760000] cesadev_init(c000d7fc)
[    0.760000] mvCesaInit: sessions=640, queue=64, pSram=f0000000
[    0.770000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.770000] msgmni has been set to 231
[    0.770000] alg: No test for cipher_null (cipher_null-generic)
[    0.770000] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[    0.770000] alg: No test for digest_null (digest_null-generic)
[    0.770000] alg: No test for compress_null (compress_null-generic)
[    0.780000] alg: No test for stdrng (krng)
[    0.780000] alg: No test for hmac(digest_null) (hmac(digest_null-generic))
[    0.790000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.790000] io scheduler noop registered
[    0.790000] io scheduler anticipatory registered (default)
[    0.790000] Initializing ths8200_init
[    0.790000] Initializing dove_adi9889_init
[    0.810000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.810000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.810000] console [ttyS0] enabled
[    0.820000]
[    0.820000] Warning Sata is Powered Off
[    0.820000] Loading Marvell Ethernet Driver:
[    0.830000]   o Cached descriptors in DRAM
[    0.830000]   o DRAM SW cache-coherency
[    0.840000]   o 1 Giga ports supported
[    0.840000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    0.840000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    0.850000]   o TCP segmentation offload (TSO) supported
[    0.860000]   o Large Receive offload (LRO) supported
[    0.860000]   o Receive checksum offload supported
[    0.860000]   o Transmit checksum offload supported
[    0.870000]   o Network Fast Processing (Routing) supported - (Disabled)
[    0.880000]   o Driver ERROR statistics enabled
[    0.880000]   o Proc tool API enabled
[    0.880000]   o SKB Reuse supported - (Disabled)
[    0.890000]   o SKB Recycle supported - (Disabled)
[    0.890000]   o Rx descripors: q0=128
[    0.900000]   o Tx descripors: q0=532
[    0.900000]   o Loading network interface(s):
[    0.910000]      o register under mv88fx_eth platform
[    0.910000]      o eth0, ifindex = 2, GbE port = 0
[    0.920000]
[    0.920000] mvFpRuleDb (c432a000): 1024 entries, 4096 bytes
[    0.920000] Counter=0, opIdx=6, overhead=16
[    0.930000] Counter=1, opIdx=2, overhead=0
[    0.930000] Counter=2, opIdx=1, overhead=18
[    0.940000] Counter=3, opIdx=2, overhead=0
[    0.940000] tun: Universal TUN/TAP device driver, 1.6
[    0.950000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.950000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    0.960000] Scanning device for bad blocks
[    1.010000] Bad eraseblock 1004 at 0x000007d80000
[    1.020000] Using static partition definition
[    1.020000] Creating 5 MTD partitions on "nand_mtd":
[    1.030000] 0x000000000000-0x000000200000 : "u-boot"
[    1.030000] 0x000000200000-0x000000500000 : "uImage"
[    1.040000] 0x000000500000-0x000000800000 : "uImage2"
[    1.040000] 0x000000800000-0x000001000000 : "failsafe"
[    1.050000] 0x000001000000-0x000008000000 : "root"
[    1.060000] UBI: attaching mtd4 to ubi0
[    1.060000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.070000] UBI: logical eraseblock size:    126976 bytes
[    1.070000] UBI: smallest flash I/O unit:    2048
[    1.080000] UBI: sub-page size:              512
[    1.080000] UBI: VID header offset:          2048 (aligned 2048)
[    1.090000] UBI: data offset:                4096
[    1.320000] UBI: attached mtd4 to ubi0
[    1.320000] UBI: MTD device name:            "root"
[    1.330000] UBI: MTD device size:            112 MiB
[    1.330000] UBI: number of good PEBs:        895
[    1.340000] UBI: number of bad PEBs:         1
[    1.340000] UBI: max. allowed volumes:       128
[    1.350000] UBI: wear-leveling threshold:    4096
[    1.350000] UBI: number of internal volumes: 1
[    1.350000] UBI: number of user volumes:     1
[    1.360000] UBI: available PEBs:             0
[    1.360000] UBI: total number of reserved PEBs: 895
[    1.370000] UBI: number of PEBs reserved for bad PEB handling: 8
[    1.370000] UBI: max/mean erase counter: 6/4
[    1.380000] UBI: image sequence number: 0
[    1.380000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.390000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.390000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.400000] UBI: background thread "ubi_bgt0d" started, PID 445
[    1.430000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.450000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
[    1.450000] usb usb1: configuration #1 chosen from 1 choice
[    1.460000] hub 1-0:1.0: USB hub found
[    1.460000] hub 1-0:1.0: 1 port detected
[    1.470000] Initializing USB Mass Storage driver...
[    1.470000] usbcore: registered new interface driver usb-storage
[    1.480000] USB Mass Storage support registered.
[    1.480000] usbcore: registered new interface driver ums-datafab
[    1.490000] usbcore: registered new interface driver ums-freecom
[    1.490000] usbcore: registered new interface driver ums-jumpshot
[    1.500000] usbcore: registered new interface driver ums-sddr09
[    1.510000] usbcore: registered new interface driver ums-sddr55
[    1.510000] usbcore: registered new interface driver ums-usbat
[    1.520000] mice: PS/2 mouse device common for all mice
[    1.520000] i2c /dev entries driver
[    1.540000] sdhci: Secure Digital Host Controller Interface driver
[    1.540000] sdhci: Copyright(c) Pierre Ossman
[    1.550000] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[    1.560000] usbcore: registered new interface driver usbhid
[    1.560000] usbhid: v2.6:USB HID core driver
[    1.570000] TCP cubic registered
[    1.570000] NET: Registered protocol family 17
[    1.580000] RPC: Registered udp transport module.
[    1.580000] RPC: Registered tcp transport module.
[    1.590000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.660000] UBIFS: recovery needed
[    1.760000] UBIFS: recovery completed
[    1.760000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.770000] UBIFS: file system size:   110723072 bytes (108128 KiB, 105 MiB, 872 LEBs)
[    1.780000] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    1.790000] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    1.790000] UBIFS: default compressor: lzo
[    1.800000] UBIFS: reserved for root:  0 bytes (0 KiB)
[    1.800000] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    1.810000] Freeing init memory: 124K
[    4.190000] eth0: link down
[    4.200000] eth0: started
udhcpc (v1.16.1) started
HWADDR 00 0x25 0x31 0x05 0xb6 0x5a
PIP0 182
PIP1 90
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...
[    6.080000] eth0: link up, full duplex, speed 1 Gbps
Sending discover...
Sending select for 192.168.1.13...
Lease of 192.168.1.13 obtained, lease time 43200
HWADDR 00 0x25 0x31 0x05 0xb6 0x5a
PIP0 182
PIP1 90
route: SIOCDELRT: No such process
Loading gpio_keys.ko...
Loading ejectbutton.ko...
[    8.260000] IRQ 93 uses trigger mode 0; requested 3
[    8.270000] input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
[    8.280000] xce_ebtn: Pogoplug series V4 eject button initialized.
[    8.430000] ufsd: module license 'Commercial product' taints kernel.
[    8.430000] Disabling lock debugging due to kernel taint
[    8.470000] ufsd: driver (8.6 (U86_S[2012-02-28-18:39:23]), LBD=ON, delalloc, ioctl) loaded at bf00c000
[    8.470000] NTFS support included
[    8.470000] Hfs+/HfsX support included
[    8.470000] For 'CloudEngines_PogoPlug_2011-08-03'
Loading rt3070sta.ko:        [    8.810000] rtusb init rt2870 --->
[    8.820000] usbcore: registered new interface driver rt2870
Success
Loading xce.ko:              [    8.840000] Cloud Engines XCE Init [Version: 3.9.0.4]
[    8.850000] XCE: CPU MEMORY MAP:
[    8.850000] XCE:   -- 0x00001000 - 0xbeffffff (3055 MB)  User Space Mappings
[    8.860000] XCE:   -- 0xbf000000 - 0xbfffffff (  16 MB)  Kernel module space
[    8.870000] XCE:   -- 0xc0000000 - 0xc7ffffff ( 128 MB)  Kernel direct-mapped ram
[    8.870000] XCE:   -- 0xc8800000 - 0xe7ffffff ( 504 MB)  Kernel vmalloc space
[    8.880000] XCE:   -- 0xe8000000 - 0xfeffffff ( 367 MB)  Kernel platform space
[    8.890000] XCE: CPU FEATURES:
[    8.890000] XCE:   -- I Cache:         enabled
[    8.900000] XCE:   -- D Cache:         enabled
[    8.900000] XCE:   -- Branch Predict:  enabled
[    8.900000] XCE:   -- MMU:             enabled
[    8.910000] XCE:   -- Alignment Abort: enabled
[    8.920000] XCE: BLPARAMS:   -- Loading properties [c49efefc].
[    8.920000] XCE: BLPARAMS:   -- MTD @ [c4324000].
[    8.930000] XCE: BLPARAMS: Locating parameter block...
[    8.930000] XCE: BLPARAMS: reading 2048 bytes @ a0000
[    8.940000] XCE: Loaded Property Size: 2048
[    8.940000] XCE:    - 'cesvcid' -> 'VE8MFDXJSXPAE9S6SJA8B8R5CA'
[    8.950000] XCE:    - 'ceboardver' -> 'PPV4A1'
[    8.960000] XCE:   -- ICache Prefetch: enabled
[    8.960000] XCE:   -- DCache Prefetch: enabled
[    8.960000] XCE:   -- L2 Cache:        enabled
[    8.970000] XCE:   -- L2 Prefetch:     disabled
[    8.970000] XCE:   -- L2 Writethrough: disabled
[    8.980000] XCE:   -- Write Allocate:  disabled
[    8.980000] XCE:   -- Streaming:       disabled
[    8.990000] XCE: Current GPIO State:
[    8.990000] XCE:  GPIO L OUT:    0x21400000
[    8.990000] XCE:  GPIO L OE:     0x30000000
[    9.000000] XCE:  GPIO L BLINK:  0x00000000
[    9.000000] XCE:  GPIO L POL:    0x00000000
[    9.010000] XCE:  GPIO L IN:     0x11400000
[    9.010000] XCE:  GPIO H OUT:    0xfffc7fff
[    9.020000] XCE:  GPIO H OE:     0x00000000
[    9.020000] XCE:  GPIO H BLINK:  0x00004000
[    9.020000] XCE:  GPIO H POL:    0x00000000
[    9.030000] XCE:  GPIO H IN:     0x0000000f
Success
Starting hbplug:             Success
/ # [    9.210000] XCE: BLPARAMS:   -- Loading properties [c49efecc].
[    9.220000] XCE: BLPARAMS:   -- MTD @ [c4324000].
[    9.220000] XCE: BLPARAMS: Locating parameter block...
[    9.230000] XCE: BLPARAMS: reading 2048 bytes @ a0000
[    9.230000] XCE: BLPARAMS: reading 2048 bytes @ a0800
[    9.240000] XCE: BLPARAMS: reading 2048 bytes @ a1000
[    9.250000] XCE: BLPARAMS: reading 2048 bytes @ a1800

/ # [   14.780000] XCE: XCE: LED -> CONNECTED

/ #

Re: Assistance requested booting PogoOS
May 16, 2017 01:53PM
Cisco,
>
>
> U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700
> )
> 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
> Using egiga0 device
>
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.1.15 is not alive
> Using egiga0 device
>
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.1.15 is not alive
> Using egiga0 device
>
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.1.15 is not alive
> Using egiga0 device
>
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.1.15 is not alive
> Using egiga0 device
>
> ARP Retry count exceeded; starting again
> ping failed; host 192.168.1.15 is not alive
> Hit any key to stop autoboot: 0
>
> Pogov4> printenv
> arcNumber=3960
> baudrate=115200
> bootcmd=run bootcmd_mmc; run bootcmd_usb; run boot
> cmd_pogo; run bootcmd_sata; reset
> bootcmd_mmc=run mmc_init; run set_bootargs_mmc; ru
> n mmc_boot
> bootcmd_pogo=if ubi part root 2048 && ubifsmount u
> bi:rootfs && ubifsload 0x800000 uboot.mtd0.docksta
> r.original.kwb ; then go 0x800200; fi
> bootcmd_sata=run sata_init; run set_bootargs_sata;
> run sata_boot;
> bootcmd_usb=run usb_init; run set_bootargs_usb; ru
> n usb_boot;
> bootdelay=10
> console=ttyS0,115200
> device=0:1
> ethact=egiga0
> ethaddr=00:25:31:05:b6:5a
> if_netconsole=ping $serverip
> ipaddr=192.168.1.13
> led_error=orange blinking
> led_exit=green off
> led_init=green blinking
> machid=F78
> mainlineLinux=yes
> mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if
> run mmc_load_uinitrd; then bootm 0x800000 0x110000
> 0; else bootm 0x800000; fi
> mmc_init=mmc rescan
> mmc_load_uimage=ext2load mmc $device 0x800000 /boo
> t/uImage
> mmc_load_uinitrd=ext2load mmc $device 0x1100000 /b
> oot/uInitrd
> mmc_root=/dev/mmcblk0p1
> mtdids=nand0=orion_nand
> mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage)
> ,3M(uImage2),8M(failsafe),112M(root)
> nc_ready=0
> partition=nand0,2
> preboot=run preboot_nc
> preboot_nc=setenv nc_ready 0; for pingstat in 1 2
> 3 4 5; do; sleep 1; if run if_netconsole; then set
> env nc_ready 1; fi; done; if test $nc_ready -eq 1;
> then run start_netconsole; fi
> rootdelay=10
> rootfstype=ext3
> sata_boot=mw 0x800000 0 1; run sata_load_uimage; i
> f run sata_load_uinitrd; then bootm 0x800000 0x110
> 0000; else bootm 0x800000; fi
> sata_init=ide reset
> sata_load_uimage=ext2load ide $device 0x800000 /bo
> ot/uImage
> sata_load_uinitrd=ext2load ide $device 0x1100000 /
> boot/uInitrd
> sata_root=/dev/sda1
> serverip=192.168.1.15
> set_bootargs_mmc=setenv bootargs console=$console
> root=$mmc_root rootdelay=$rootdelay rootfstype=$ro
> otfstype $mtdparts
> set_bootargs_sata=setenv bootargs console=$console
> root=$sata_root rootdelay=$rootdelay rootfstype=$r
> ootfstype $mtdparts
> set_bootargs_usb=setenv bootargs console=$console
> root=$usb_root rootdelay=$rootdelay rootfstype=$ro
> otfstype $mtdparts
> start_netconsole=setenv ncip $serverip; setenv boo
> tdelay 10; setenv stdin nc; setenv stdout nc; sete
> nv stderr nc; version;
> stderr=serial
> stdin=serial
> stdout=serial
> usb_boot=mw 0x800000 0 1; run usb_load_uimage; if
> run usb_load_uinitrd; then bootm 0x800000 0x110000
> 0; else bootm 0x800000; fi
> usb_init=usb start
> usb_load_uimage=ext2load usb $device 0x800000 /boo
> t/uImage
> usb_load_uinitrd=ext2load usb $device 0x1100000 /b
> oot/uInitrd
> usb_root=/dev/sda1
> usb_rootfstype=ext3
>
> Environment size: 2586/131068 bytes
> Pogov4>

At this point, without the USB or SD attached, try booting with serial console

setenv archNumber
setenv machid
boot

Please post the entire log.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/16/2017 01:54PM by bodhi.
Re: Assistance requested booting PogoOS
May 16, 2017 02:51PM
Here is the result

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700)
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
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.15 is not alive
Hit any key to stop autoboot:  0

Pogov4> setenv archNumber
Pogov4> setenv machid
Pogov4> boot

** Bad device mmc 0 **
** Bad device mmc 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 112 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 895, bad PEBs: 1, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 895, PEBs reserved for bad PEB handling: 8
Loading file 'uboot.mtd0.dockstar.original.kwb' to addr 0x00800000...
Done
## Starting application at 0x00800200 ...


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

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

Soc: MV88F6192 Rev 3 (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
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

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], egiga1
Hit any key to stop autoboot:  0

Loading from NAND 128MB 3,3V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2011-08-23  20:00:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2080956 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
CE>>


Re: Assistance requested booting PogoOS
May 17, 2017 07:28AM
Cisco,

How about:

> Environment size: 2586/131068 bytes
> Pogov4>

At this point, without the USB or SD attached, try booting with serial console

setenv archNumber 3960
boot

Please post the entire log.

------

Note: I am not at home so I can't really see everything in the Pogo V4 box. I could revisit this subject in 2-3 weeks.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
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: