Pogo: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (→‎POGOPLUG PRO: debian packages)
Line 205: Line 205:
Serial          : 0000000000000000
Serial          : 0000000000000000
</pre>
</pre>
=== Debian updates ===
apt-get update
apt-get upgrade
apt-get install sudo nginx mosquitto build-essential python3 python-pip curl avrdude esptool bluetooth mpd mpc ncmpc pulseaudio pulseaudio-module-bluetooth alsa-utils hostapd bridge-utils


=== reference ===
=== reference ===

Revision as of 17:27, 27 April 2018

POGOPLUG PRO

U-Boot update from stock

Attempting update with slight variance, note "mtd1" used in place of "mtd0" as it is "boot" in stock config?

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

Results in updating U-Boot, fails to find bootable image.

Bootable Debian USB Stick

Download/Extract:

Stick stick in USB of Pogo and boot, after updating U-Boot.

starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            15952896        686298e0-01     83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 178 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 436 ms (10.1 MiB/s)
loading uInitrd ...
4594376 bytes read in 409 ms (10.7 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 280 ms (24.4 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Created:      2017-08-01   7:51:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 679c5000, end 67e26a88 ... OK
   Loading Device Tree to 679c0000, end 679c4b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SM$
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Pogoplug V3 Pro
.
.
.

Debian GNU/Linux 9 debian ttyS0

debian login: root

Password:
Last login: Fri Apr 27 11:42:44 PDT 2018 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#


Kernal update

After booting debian from USB, download linux tar to /tmp...

cd /boot
tar -xf /tmp/linux-dtb-4.4.124-oxnas-tld-1.tar
dpkg -i linux-image-4.4.124-oxnas-tld-1_1.0_armel.deb
mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.124-oxnas-tld-1 -d vmlinuz-4.4.124-oxnas-tld-1 uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-4.4.124-oxnas-tld-1  -d initrd.img-4.4.124-oxnas-tld-1 uInitrd
sync
reboot


linux configuration (after)

root@debian:~# uname -a
Linux debian 4.4.124-oxnas-tld-1 #1 SMP PREEMPT Wed Mar 28 22:46:38 PDT 2018 armv6l GNU/Linux
root@debian:~# cat /proc/version 
Linux version 4.4.124-oxnas-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP PREEMPT Wed Mar 28 22:46:38 PDT 2018
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 07200000 00020000 "data"


stock configurations (before)

/ # uname -a
Linux PogoplugPro 2.6.31.6_SMP_820 #71 SMP Tue Nov 30 12:05:09 PST 2010 armv6l GNU/Linux
/ # cat /proc/version 
Linux version 2.6.31.6_SMP_820 (bdietrich@brad-ux) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #71 SMP Tue Nov 30 12:05:09 PST 2010
/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"
mtd1: 00e00000 00020000 "boot"
mtd2: 07200000 00020000 "rootfs"
/ # cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 5 (v6l)
processor       : 0
BogoMIPS        : 279.34

processor       : 1
BogoMIPS        : 279.34

Features        : swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb02
CPU revision    : 5

Hardware        : Oxsemi NAS
Revision        : 0000
Serial          : 0000000000000000


Debian updates

apt-get update apt-get upgrade apt-get install sudo nginx mosquitto build-essential python3 python-pip curl avrdude esptool bluetooth mpd mpc ncmpc pulseaudio pulseaudio-module-bluetooth alsa-utils hostapd bridge-utils


reference

POGO-V4-A1-06

specs

alarm

ArchARM linux

netconsole

nc -l -u -p 6666

post install updates

pacman -Syyu
pacman-db-upgrade
pacman -Syu linux-kirkwood linux-kirkwood-headers ntp base-devel nano wget rsync

Worked with this version: http://mirror.jblee.kr/ArchLinuxARM-kirkwood-late.tar.gz

/ # cd /tmp/
/tmp # wget http://192.168.1.80/pogo/v4/nanddump
/tmp # wget http://192.168.1.80/pogo/v4/nandwrite
/tmp # wget http://192.168.1.80/pogo/v4/flash_erase
/tmp # wget http://192.168.1.80/pogo/v4/fw_printenv
/tmp # wget http://192.168.1.80/pogo/v4/fw_setenv  
/tmp # chmod +x flash_erase fw_printenv fw_setenv nanddump nandwrite
/tmp # mount -o remount,rw /
/tmp # echo "/dev/mtd0 0xc0000 0x20000 0x20000">/etc/fw_env.config

/tmp # wget http://192.168.1.80/pogo/v4/uboot.2014.07-tld-1.pogo_v4.bodhi.tar
/tmp # tar -xf uboot.2014.07-tld-1.pogo_v4.bodhi.tar 
/tmp # /tmp/flash_erase /dev/mtd0 0 4
/tmp # /tmp/nandwrite /dev/mtd0 /tmp/uboot.2014.07-tld-1.pogo_v4.mtd0.kwb

/tmp # wget http://192.168.1.80/pogo/v4/uboot.2014.07-tld-1.environment.img.bodhi.tar
/tmp # tar -xf uboot.2014.07-tld-1.environment.img.bodhi.tar
/tmp # /tmp/flash_erase /dev/mtd0 0xc0000 1
/tmp # /tmp/nandwrite -s 786432 /dev/mtd0 uboot.2014.07-tld-1.environment.img

/tmp # /tmp/fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"
/tmp # /tmp/fw_printenv ethaddr
/tmp # /tmp/fw_setenv arcNumber 3960
/tmp # /tmp/fw_setenv machid F78    
/tmp # /tmp/fw_setenv usb_rootfstype ext3
/tmp # /tmp/fw_setenv mtdparts 'mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)'
/tmp # /tmp/fw_printenv
/tmp # /tmp/fw_setenv serverip 192.168.1.21
/tmp # /tmp/fw_setenv ipaddr 192.168.1.2   
/tmp # /tmp/fw_setenv if_netconsole 'ping $serverip'
/tmp # /tmp/fw_setenv start_netconsole 'setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;'
/tmp # cd /
/ # wget http://download.doozan.com/uboot/files/uboot/uboot.mtd0.dockstar.original.kwb
/ # /tmp/fw_setenv bootcmd 'run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; run bootcmd_pogo; reset'
/ # /tmp/fw_setenv bootcmd_pogo 'if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi'


/ # mknod /tmp/mmcblk0 b 179 0
/ # /sbin/fdisk /tmp/mmcblk0
/tmp/mmcblk0p1               2       22493    15631360  83 Linux
/ # mknod /tmp/mmcblk0p1 b 179 1
/ # cd /tmp
/tmp # wget http://192.168.1.80/pogo/v4/mke2fs        
/tmp # chmod +x mke2fs
/tmp # /tmp/mke2fs -L rootfs -j /tmp/mmcblk0p1
/tmp/mmcblk0p1 is mounted; will not make a filesystem here!
/tmp # mkdir /tmp/mnt
/tmp # mount /tmp/mmcblk0p1 /tmp/mnt
/tmp # cd /tmp/mnt/

/tmp/mnt # wget http://192.168.1.80/pogo/v4/ArchLinuxARM-kirkwood-latest.tar.gz
/tmp/mnt # tar -xzvf ArchLinuxARM-kirkwood-latest.tar.gz
/tmp/mnt # /tmp/fw_setenv bootcmd 'run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset'
/tmp/mnt # sync
/tmp/mnt # cd ..
/tmp # umount /tmp/mnt
/tmp # /sbin/reboot

top

/ # top
Mem: 15956K used, 102672K free, 0K shrd, 0K buff, 4028K cached
CPU:  0.0% usr  0.0% sys  0.0% nic  100% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.00 0.03 0.00 1/58 672
  PID  PPID USER     STAT   VSZ %MEM CPU %CPU COMMAND
  633   632 root     S     7408  6.2   0  0.0 /usr/local/cloudengines/bin/hbplug
  672   634 root     R     2092  1.7   0  0.0 top
  634     1 root     S     2092  1.7   0  0.0 -/bin/sh
    1     0 root     S     2088  1.7   0  0.0 init
  618     1 root     S     2088  1.7   0  0.0 udhcpc -b -i eth0 -H PogoplugMobil
  632     1 root     S     1672  1.4   0  0.0 /usr/local/cloudengines/bin/hbwd /
    3     2 root     SW<      0  0.0   0  0.0 [ksoftirqd/0]
    5     2 root     SW<      0  0.0   0  0.0 [khelper]
    2     0 root     SW<      0  0.0   0  0.0 [kthreadd]
    4     2 root     SW<      0  0.0   0  0.0 [events/0]
    8     2 root     SW<      0  0.0   0  0.0 [async/mgr]
  106     2 root     SW<      0  0.0   0  0.0 [kblockd/0]
  115     2 root     SW<      0  0.0   0  0.0 [khubd]
  118     2 root     SW<      0  0.0   0  0.0 [kseriod]
  121     2 root     SW<      0  0.0   0  0.0 [kmmcd]
  142     2 root     SW       0  0.0   0  0.0 [crypto]
  143     2 root     SW       0  0.0   0  0.0 [crypto_ret]
  148     2 root     SW       0  0.0   0  0.0 [pdflush]
  149     2 root     SW       0  0.0   0  0.0 [pdflush]
  150     2 root     SW<      0  0.0   0  0.0 [kswapd0]

Serial Dump

factory firmware

/ # reboot
The system is going down NOW!
Sent SIGTERM to all processes
Terminated
Sent SIGKILL to[  386.600000] Restarting system.
[  386.600000] Reseting !! 


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 

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=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Ignoring unrecognised tag 0x41004345
[    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)-- RD-88F6192A-NAS  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.730000] PCI: bus0: Fast back to back transfers enabled
[    0.730000] 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.760000] 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] Integrated Sata device found
[    0.830000] IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
[    0.850000] scsi0 : Marvell SCSI to SATA adapter
[    0.860000] scsi1 : Marvell SCSI to SATA adapter
[    0.870000] Loading Marvell Ethernet Driver:
[    0.870000]   o Cached descriptors in DRAM
[    0.880000]   o DRAM SW cache-coherency
[    0.880000]   o 1 Giga ports supported
[    0.880000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    0.890000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    0.890000]   o TCP segmentation offload (TSO) supported
[    0.900000]   o Large Receive offload (LRO) supported
[    0.900000]   o Receive checksum offload supported
[    0.910000]   o Transmit checksum offload supported
[    0.910000]   o Network Fast Processing (Routing) supported - (Disabled)
[    0.920000]   o Driver ERROR statistics enabled
[    0.930000]   o Proc tool API enabled
[    0.930000]   o SKB Reuse supported - (Disabled)
[    0.930000]   o SKB Recycle supported - (Disabled)
[    0.940000]   o Rx descripors: q0=128
[    0.940000]   o Tx descripors: q0=532
[    0.950000]   o Loading network interface(s):
[    0.950000]      o register under mv88fx_eth platform
[    0.960000]      o eth0, ifindex = 2, GbE port = 0
[    0.960000] 
[    0.960000] mvFpRuleDb (c45b3000): 1024 entries, 4096 bytes
[    0.970000] Counter=0, opIdx=6, overhead=16
[    0.970000] Counter=1, opIdx=2, overhead=0
[    0.980000] Counter=2, opIdx=1, overhead=18
[    0.980000] Counter=3, opIdx=2, overhead=0
[    0.990000] tun: Universal TUN/TAP device driver, 1.6
[    0.990000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.000000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    1.010000] Scanning device for bad blocks
[    1.060000] Using static partition definition
[    1.060000] Creating 5 MTD partitions on "nand_mtd":
[    1.070000] 0x000000000000-0x000000200000 : "u-boot"
[    1.070000] 0x000000200000-0x000000500000 : "uImage"
[    1.080000] 0x000000500000-0x000000800000 : "uImage2"
[    1.080000] 0x000000800000-0x000001000000 : "failsafe"
[    1.090000] 0x000001000000-0x000008000000 : "root"
[    1.100000] UBI: attaching mtd4 to ubi0
[    1.100000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.110000] UBI: logical eraseblock size:    126976 bytes
[    1.110000] UBI: smallest flash I/O unit:    2048
[    1.120000] UBI: sub-page size:              512
[    1.120000] UBI: VID header offset:          2048 (aligned 2048)
[    1.130000] UBI: data offset:                4096
[    1.350000] UBI: attached mtd4 to ubi0
[    1.360000] UBI: MTD device name:            "root"
[    1.360000] UBI: MTD device size:            112 MiB
[    1.360000] UBI: number of good PEBs:        896
[    1.370000] UBI: number of bad PEBs:         0
[    1.370000] UBI: max. allowed volumes:       128
[    1.380000] UBI: wear-leveling threshold:    4096
[    1.380000] UBI: number of internal volumes: 1
[    1.390000] UBI: number of user volumes:     1
[    1.390000] UBI: available PEBs:             0
[    1.400000] UBI: total number of reserved PEBs: 896
[    1.400000] UBI: number of PEBs reserved for bad PEB handling: 8
[    1.410000] UBI: max/mean erase counter: 1/0
[    1.410000] UBI: image sequence number: 0
[    1.420000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.420000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.430000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.440000] UBI: background thread "ubi_bgt0d" started, PID 451
[    1.470000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.490000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
[    1.490000] usb usb1: configuration #1 chosen from 1 choice
[    1.500000] hub 1-0:1.0: USB hub found
[    1.500000] hub 1-0:1.0: 1 port detected
[    1.510000] Initializing USB Mass Storage driver...
[    1.510000] usbcore: registered new interface driver usb-storage
[    1.520000] USB Mass Storage support registered.
[    1.520000] usbcore: registered new interface driver ums-datafab
[    1.530000] usbcore: registered new interface driver ums-freecom
[    1.530000] usbcore: registered new interface driver ums-jumpshot
[    1.540000] usbcore: registered new interface driver ums-sddr09
[    1.550000] usbcore: registered new interface driver ums-sddr55
[    1.550000] usbcore: registered new interface driver ums-usbat
[    1.560000] mice: PS/2 mouse device common for all mice
[    1.560000] i2c /dev entries driver
[    1.580000] sdhci: Secure Digital Host Controller Interface driver
[    1.580000] sdhci: Copyright(c) Pierre Ossman
[    1.590000] mmc0: mvsdio driver initialized, using GPIO 27 for card detection
[    1.600000] usbcore: registered new interface driver usbhid
[    1.600000] usbhid: v2.6:USB HID core driver
[    1.610000] TCP cubic registered
[    1.610000] NET: Registered protocol family 17
[    1.620000] RPC: Registered udp transport module.
[    1.620000] RPC: Registered tcp transport module.
[    1.630000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.760000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.760000] UBIFS: file system size:   110850048 bytes (108252 KiB, 105 MiB, 873 LEBs)
[    1.770000] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    1.780000] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    1.780000] UBIFS: default compressor: lzo
[    1.790000] UBIFS: reserved for root:  0 bytes (0 KiB)
[    1.790000] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    1.800000] Freeing init memory: 124K
[    3.870000] eth0: link up, full duplex, speed 100 Mbps
[    3.870000] eth0: started
udhcpc (v1.16.1) started
HWADDR 00 0x25 0x31 0x03 0xb9 0xdc
PIP0 185
PIP1 220
cat: can't open '/etc/resolv.conf': No such file or directory
route: SIOCDELRT: No such process
grep: /etc/resolv.conf: No such file or directory
Sending discover...
Sending select for 192.168.1.101...
Lease of 192.168.1.101 obtained, lease time 86400
HWADDR 00 0x25 0x31 0x03 0xb9 0xdc
PIP0 185
PIP1 220
route: SIOCDELRT: No such process
modprobe: module 'vfat' not found
[    6.040000] ufsd: module license 'Commercial product' taints kernel.
[    6.050000] Disabling lock debugging due to kernel taint
[    6.080000] ufsd: driver 8.5 (NTFS4LINUX_U85_017_S[2011-08-17-16:51:48]) LBD=ON with delayalloc with ioctl loaded at bf000000
[    6.080000] NTFS support included
[    6.080000] Hfs+/HfsX support included
[    6.080000] For 'CloudEngines_PogoPlug_2011-08-03'
Loading rt3070sta.ko:        [    6.410000] rtusb init rt2870 --->
[    6.420000] usbcore: registered new interface driver rt2870
Success
Loading xce.ko:              [    6.450000] Cloud Engines XCE Init [Version: 3.1.99.12]
[    6.450000] XCE: CPU MEMORY MAP:
[    6.450000] XCE:   -- 0x00001000 - 0xbeffffff (3055 MB)  User Space Mappings
[    6.460000] XCE:   -- 0xbf000000 - 0xbfffffff (  16 MB)  Kernel module space
[    6.470000] XCE:   -- 0xc0000000 - 0xc7ffffff ( 128 MB)  Kernel direct-mapped ram
[    6.480000] XCE:   -- 0xc8800000 - 0xe7ffffff ( 504 MB)  Kernel vmalloc space
[    6.480000] XCE:   -- 0xe8000000 - 0xfeffffff ( 367 MB)  Kernel platform space
[    6.490000] XCE: CPU FEATURES:
[    6.490000] XCE:   -- I Cache:         enabled
[    6.500000] XCE:   -- D Cache:         enabled
[    6.500000] XCE:   -- Branch Predict:  disabled
[    6.510000] XCE:   -- MMU:             enabled
[    6.510000] XCE:   -- Alignment Abort: enabled
[    6.520000] XCE: BLPARAMS:   -- Loading properties [c4d11efc].
[    6.530000] XCE: BLPARAMS:   -- MTD @ [c45b7c00].
[    6.530000] XCE: BLPARAMS: Locating parameter block...
[    6.540000] XCE: BLPARAMS: reading 2048 bytes @ a0000
[    6.540000] XCE: Loaded Property Size: 2048
[    6.550000] XCE:    - 'cesvcid' -> 'KWNELFZHYJLJBWULXMJ927UX96'
[    6.550000] XCE:    - 'ceboardver' -> 'PPV4A1'
[    6.560000] XCE:   -- ICache Prefetch: enabled
[    6.560000] XCE:   -- DCache Prefetch: enabled
[    6.570000] XCE:   -- L2 Cache:        enabled
[    6.570000] XCE:   -- L2 Prefetch:     disabled
[    6.580000] XCE:   -- L2 Writethrough: disabled
[    6.580000] XCE:   -- Write Allocate:  disabled
[    6.590000] XCE:   -- Streaming:       disabled
[    6.590000] XCE: Current GPIO State:
[    6.590000] XCE:  GPIO L OUT:    0x01e18400
[    6.600000] XCE:  GPIO L OE:     0xfe004800
[    6.600000] XCE:  GPIO L BLINK:  0x00000000
[    6.610000] XCE:  GPIO L POL:    0x08000000
[    6.610000] XCE:  GPIO L IN:     0x31e00000
[    6.610000] XCE:  GPIO H OUT:    0x00000008
[    6.620000] XCE:  GPIO H OE:     0x00000005
[    6.620000] XCE:  GPIO H BLINK:  0x00000000
[    6.630000] XCE:  GPIO H POL:    0x00000000
[    6.630000] XCE:  GPIO H IN:     0x00000008
Success
Starting hbplug:             Success
/ # [    6.720000] XCE: BLPARAMS:   -- Loading properties [c4b7becc].
[    6.730000] XCE: BLPARAMS:   -- MTD @ [c45b7c00].
[    6.730000] XCE: BLPARAMS: Locating parameter block...
[    6.740000] XCE: BLPARAMS: reading 2048 bytes @ a0000
[    6.740000] XCE: BLPARAMS: reading 2048 bytes @ a0800
[    6.750000] XCE: BLPARAMS: reading 2048 bytes @ a1000
[    6.760000] XCE: BLPARAMS: reading 2048 bytes @ a1800
[   12.060000] XCE: XCE: LED -> CONNECTED

updated firmware

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
Using egiga0 device
ping failed; host 192.168.1.21 is not alive
Hit any key to stop autoboot:  0 

MMC rescan: current device # 0 initialized OK
4603624 bytes read in 1209 ms (3.6 MiB/s)
** File not found /boot/uInitrd **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.34-1-ARCH
   Created:      2016-11-22   9:02:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4603560 Bytes = 4.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   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.34-1-ARCH (builduser@leming) (gcc version 6.2.1 20160830 (GCC) ) #1 PREEMPT Tue Nov 22 02:02:24 MST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    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 pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
[    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: 119696K/131072K available (6601K kernel code, 547K rwdata, 1876K rodata, 296K init, 725K bss, 11376K 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 - 0xc084f9dc   (8479 kB)
[    0.000000]       .init : 0xc0850000 - 0xc089a000   ( 296 kB)
[    0.000000]       .data : 0xc089a000 - 0xc0922e0c   ( 548 kB)
[    0.000000]        .bss : 0xc0922e0c - 0xc09d83d8   ( 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.000019] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[   24.607041] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[   24.607323] Console: colour dummy device 80x30
[   24.607367] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[   24.697148] pid_max: default: 32768 minimum: 301
[   24.697288] Security Framework initialized
[   24.697396] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   24.697421] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   24.698543] Initializing cgroup subsys io
[   24.698593] Initializing cgroup subsys memory
[   24.698673] Initializing cgroup subsys devices
[   24.698712] Initializing cgroup subsys freezer
[   24.698744] Initializing cgroup subsys net_cls
[   24.698771] Initializing cgroup subsys perf_event
[   24.698803] Initializing cgroup subsys net_prio
[   24.698926] CPU: Testing write buffer coherency: ok
[   24.699608] Setting up static identity map for 0x81e0 - 0x8238
[   24.702531] devtmpfs: initialized
[   24.706121] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   24.706848] pinctrl core: initialized pinctrl subsystem
[   24.708080] NET: Registered protocol family 16
[   24.708876] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   24.737176] cpuidle: using governor ladder
[   24.767173] cpuidle: using governor menu
[   24.767455] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   24.767491] Feroceon L2: Enabling L2
[   24.767542] Feroceon L2: Cache support initialised.
[   24.770937] Kirkwood PCIe port 0: link down
[   24.770953] PCI: bus0 uses PCIe port 0
[   24.771293] PCI host bridge to bus 0000:00
[   24.771320] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[   24.771337] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[   24.771353] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[   24.771876] PCI: bus0: Fast back to back transfers disabled
[   24.809324] vgaarb: loaded
[   24.809787] SCSI subsystem initialized
[   24.810520] usbcore: registered new interface driver usbfs
[   24.810630] usbcore: registered new interface driver hub
[   24.810716] usbcore: registered new device driver usb
[   24.810967] pps_core: LinuxPPS API ver. 1 registered
[   24.810980] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   24.811030] PTP clock support registered
[   24.812650] clocksource: Switched to clocksource orion_clocksource
[   24.869770] FS-Cache: Loaded
[   24.888649] NET: Registered protocol family 2
[   24.889832] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   24.889870] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   24.889899] TCP: Hash tables configured (established 1024 bind 1024)
[   24.890006] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   24.890041] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   24.890312] NET: Registered protocol family 1
[   24.890780] RPC: Registered named UNIX socket transport module.
[   24.890798] RPC: Registered udp transport module.
[   24.890808] RPC: Registered tcp transport module.
[   24.890818] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   24.893843] futex hash table entries: 256 (order: -1, 3072 bytes)
[   24.912898] VFS: Disk quotas dquot_6.6.0
[   24.913303] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   24.916334] FS-Cache: Netfs 'nfs' registered for caching
[   24.918012] NFS: Registering the id_resolver key type
[   24.918081] Key type id_resolver registered
[   24.918093] Key type id_legacy registered
[   24.918213] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   24.920150] fuse init (API version 7.23)
[   24.923423] aufs 4.4-20160912
[   24.930981] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[   24.931017] io scheduler noop registered
[   24.931038] io scheduler deadline registered
[   24.931433] io scheduler cfq registered
[   24.931827] io scheduler bfq registered (default)
[   24.931839] BFQ I/O-scheduler: v7r11
[   24.932134] mv_xor mv_xor.0: Marvell shared XOR driver
[   24.974593] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   24.974946] mv_xor mv_xor.1: Marvell shared XOR driver
[   25.014505] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   25.022781] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   25.024350] console [ttyS0] disabled
[   25.044438] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   25.635752] console [ttyS0] enabled
[   25.662529] brd: module loaded
[   25.677004] loop: module loaded
[   25.680645] sata_mv sata_mv.0: cannot get optional clkdev
[   25.686223] sata_mv sata_mv.0: slots 32 ports 1
[   25.693254] scsi host0: sata_mv
[   25.696918] ata1: SATA max UDMA/133 irq 21
[   25.702425] nand: Could not find valid ONFI parameter page; aborting
[   25.708832] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   25.715211] nand: Hynix NAND 128MiB 3,3V 8-bit
[   25.719637] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   25.727209] Scanning device for bad blocks
[   25.815163] 5 cmdlinepart partitions found on MTD device orion_nand
[   25.821405] Creating 5 MTD partitions on "orion_nand":
[   25.826552] 0x000000000000-0x000000200000 : "u-boot"
[   25.832220] 0x000000200000-0x000000500000 : "uImage"
[   25.837859] 0x000000500000-0x000000800000 : "uImage2"
[   25.843579] 0x000000800000-0x000001000000 : "failsafe"
[   25.849371] 0x000001000000-0x000008000000 : "root"
[   25.864813] libphy: orion_mdio_bus: probed
[   25.869051] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   26.042687] ata1: SATA link down (SStatus 0 SControl F300)
[   26.957009] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:03:b9:dc
[   26.965954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   26.972459] ehci-pci: EHCI PCI platform driver
[   26.977025] ehci-orion: EHCI orion driver
[   26.981137] orion-ehci orion-ehci.0: EHCI Host Controller
[   26.986588] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   26.994352] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   27.012701] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   27.020070] hub 1-0:1.0: USB hub found
[   27.023945] hub 1-0:1.0: 1 port detected
[   27.028848] usbcore: registered new interface driver uas
[   27.034407] usbcore: registered new interface driver usb-storage
[   27.040466] usbcore: registered new interface driver ums-alauda
[   27.046501] usbcore: registered new interface driver ums-cypress
[   27.052560] usbcore: registered new interface driver ums-datafab
[   27.058648] usbcore: registered new interface driver ums_eneub6250
[   27.064907] usbcore: registered new interface driver ums-freecom
[   27.070960] usbcore: registered new interface driver ums-isd200
[   27.076959] usbcore: registered new interface driver ums-jumpshot
[   27.083142] usbcore: registered new interface driver ums-karma
[   27.089031] usbcore: registered new interface driver ums-onetouch
[   27.095229] usbcore: registered new interface driver ums-realtek
[   27.101289] usbcore: registered new interface driver ums-sddr09
[   27.107287] usbcore: registered new interface driver ums-sddr55
[   27.113281] usbcore: registered new interface driver ums-usbat
[   27.119732] mousedev: PS/2 mouse device common for all mice
[   28.132690] rtc-mv rtc-mv: internal RTC not ticking
[   28.137752] i2c /dev entries driver
[   28.142096] sdhci: Secure Digital Host Controller Interface driver
[   28.148288] sdhci: Copyright(c) Pierre Ossman
[   28.193000] sdhci-pltfm: SDHCI platform and OF driver helper
[   28.202551] ledtrig-cpu: registered to indicate activity on CPUs
[   28.208808] usbcore: registered new interface driver r8712u
[   28.214813] gre: GRE over IPv4 demultiplexor driver
[   28.219762] NET: Registered protocol family 17
[   28.224435] Key type dns_resolver registered
[   28.233336] registered taskstats version 1
[   28.240032] Key type encrypted registered
[   28.244980] console [netcon0] enabled
[   28.248631] netconsole: network logging started
[   28.253967] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   28.261088] hctosys: unable to open rtc device (rtc0)
[   28.267876] Waiting 10 sec before mounting root device...
[   28.281203] mmc0: host does not support reading read-only switch, assuming write-enable
[   28.293330] mmc0: new high speed SDHC card at address 0002
[   28.299622] mmcblk0: mmc0:0002 00000 14.9 GiB 
[   28.306267]  mmcblk0: p1
[   38.283976] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 subsystem
[   38.310654] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   38.318906] VFS: Mounted root (ext3 filesystem) on device 179:1.
[   38.330528] devtmpfs: mounted
[   38.335285] Freeing unused kernel memory: 296K (c0850000 - c089a000)
[   38.368162] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[   38.381252] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.34-1-ARCH #1
[   38.387575] Hardware name: Pogoplug V4
[   38.391349] [<c0010524>] (unwind_backtrace) from [<c000d9d0>] (show_stack+0x10/0x14)
[   38.399072] [<c000d9d0>] (show_stack) from [<c00cd8b4>] (panic+0x88/0x208)
[   38.405938] [<c00cd8b4>] (panic) from [<c0647bc8>] (kernel_init+0xc4/0xe8)
[   38.412790] [<c0647bc8>] (kernel_init) from [<c000a4d0>] (ret_from_fork+0x14/0x24)
[   38.420334] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[  112.842679] random: nonblocking pool is initialized

†FAILS to boot from mmc/SD Card

modified environment variables

arcNumber=3960
baudrate=115200
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; 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:03:b9:dc
if_netconsole=ping $serverip
ipaddr=192.168.1.2
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)
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
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.21
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: 2457/131068 bytes

alt uboot

from uboot menu, with .kwb on mmc

Pogov4> mmc rescan
Pogov4> run set_bootargs_mmc
Pogov4> mw 0x800000 0 1
Pogov4> ext2load mmc $device 0x800000 /pogo/uboot.mtd0.dockstar.original.kwb
Pogov4> go 0x800200