Welcome! Log In Create A New Profile

Advanced

Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"

Posted by feas 
Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 12:53AM
I had a Debian dist-upgrade today that broke my front light by naming them back to shivaplug. The upgrade upgraded me to 3.16 I believe. I did the
debian:~# echo "default-on" > /sys/class/leds/sheevaplug\:blue\:health/trigger

debian:~# echo "none" > /sys/class/leds/sheevaplug\:red\:misc/trigger

to fix but it was not persistent when I rebooted so I decided to grade uboot.

Here is my log preparing the new uboot:

feas@debian:~$ sudo cp uboot.2016.05-tld-1.pogo_e02.bodhi.tar /tmp
[sudo] password for feas: 
feas@debian:~$ cd /tmp
feas@debian:/tmp$ ls
uboot.2016.05-tld-1.pogo_e02.bodhi.tar
feas@debian:/tmp$ tar xvf uboot.2016.05-tld-1.pogo_e02.bodhi.tar
uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
feas@debian:/tmp$ ls
uboot.2016.05-tld-1.pogo_e02.bodhi.tar  uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
feas@debian:/tmp$ su
Password: 
root@debian:/tmp# ls
uboot.2016.05-tld-1.pogo_e02.bodhi.tar	uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
root@debian:/tmp# flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 -- 100 % complete 
root@debian:/tmp# nandwrite /dev/mtd0 uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
root@debian:/tmp#  cat /etc/fw_env.config 
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.

# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0		0xc0000		0x20000		0x20000
root@debian:/tmp# wget http://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar
--2016-07-27 00:04:40--  http://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar
Resolving www.dropbox.com (www.dropbox.com)... 162.125.4.1
Connecting to www.dropbox.com (www.dropbox.com)|162.125.4.1|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar [following]
--2016-07-27 00:04:40--  https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar
Connecting to www.dropbox.com (www.dropbox.com)|162.125.4.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.dropboxusercontent.com/content_link/sMx557hgs9i4iWyXeOpwjjfenZ5IxCxPMfFrJuO5il7zd525B5xNg7w5jmQv05EX/file [following]
--2016-07-27 00:04:41--  https://dl.dropboxusercontent.com/content_link/sMx557hgs9i4iWyXeOpwjjfenZ5IxCxPMfFrJuO5il7zd525B5xNg7w5jmQv05EX/file
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 45.58.74.37
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|45.58.74.37|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 204800 (200K) [application/x-tar]
Saving to: ‘uboot.2016.05-tld-1.environment.bodhi.tar’

uboot.2016.05-tld-1.en 100%[===========================>] 200.00K  --.-KB/s   in 0.1s   

2016-07-27 00:04:41 (2.05 MB/s) - ‘uboot.2016.05-tld-1.environment.bodhi.tar’ saved [204800/204800]

root@debian:/tmp# ls
uboot.2016.05-tld-1.environment.bodhi.tar  uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
uboot.2016.05-tld-1.pogo_e02.bodhi.tar
root@debian:/tmp# tar xvf uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2016.05-tld-1.environment.img
uboot.2016.05-tld-1.environment.64K.img
uboot.2016.05-tld-1.environment
root@debian:/tmp# fw_printenv > current_envs.txt
root@debian:/tmp# /usr/sbin/flash_erase /dev/mtd0 0xc0000 1
Erasing 128 Kibyte @ c0000 -- 100 % complete 
root@debian:/tmp# /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
Writing data to block 6 at offset 0xc0000
root@debian:/tmp# fw_setenv arcNumber 3542
root@debian:/tmp# fw_setenv machid dd6
root@debian:/tmp# cat current_envs.txt
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
serverip=192.168.86.110
ipaddr=192.168.86.109
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
arcNumber=3542
ethaddr=00:25:31:04:7B:64
root@debian:/tmp# fw_setenv mtdparts 'mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)'
root@debian:/tmp# fw_setenv ethaddr '00:25:31:04:7B:64'
root@debian:/tmp# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
arcNumber=3542
machid=dd6
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
ethaddr=00:25:31:04:7B:64
root@debian:/tmp#  cat /boot/uEnv.txt 
cat: /boot/uEnv.txt: No such file or directory
root@debian:/tmp# fw_printenv > /boot/uEnv.txt
root@debian:/tmp# fw_setenv 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'
root@debian:/tmp# fw_setenv preboot 'run preboot_nc'
root@debian:/tmp# fw_setenv ipaddr    '192.168.86.109'
root@debian:/tmp# fw_setenv serverip '192.168.86.110'
root@debian:/tmp# reboot
Connection to 192.168.86.109 closed by remote host.
Connection to 192.168.86.109 closed.

The plug did not respond so I took it apart and connected the serial cable and this is the output for that:

feas@debian-laptop:~$ sudo picocom -b 115200 /dev/ttyUSB0
[sudo] password for feas: 
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	12582912  	b57a22f8-01	83 Boot
  2	12584960  	4194304   	b57a22f8-02	82
loading envs from usb 0 ...
2788 bytes read in 153 ms (17.6 KiB/s)
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
importing envs ...
himport_r: ethaddr=00:25:31:04:7B:64" into hash table
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 136 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
2082764 bytes read in 264 ms (7.5 MiB/s)
loading uInitrd ...
10550768 bytes read in 814 ms (12.4 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   kernel 3.16.0-4-kirkwood
   Created:      2016-07-26   8:56:48 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2082700 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   ramdisk 3.16.0-4-kirkwood
   Created:      2016-07-26   8:56:58 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    10550704 Bytes = 10.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0xdd6 from environment

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 3.16.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.36-1 (2016-07-04)
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies SheevaPlug
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243184K/262144K available (3907K kernel code, 360K rwdata, 1440K rodata, 277K init, 288K bss, 18960K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05410c4   (5349 kB)
[    0.000000]       .init : 0xc0542000 - 0xc058774c   ( 278 kB)
[    0.000000]       .data : 0xc0588000 - 0xc05e2168   ( 361 kB)
[    0.000000]        .bss : 0xc05e2168 - 0xc062a54c   ( 289 kB)
[    0.000000] NR_IRQS:114
[    0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000319] Console: colour dummy device 80x30
[    0.000344] Calibrating delay loop... 1185.79 BogoMIPS (lpj=2371584)
[    0.024040] pid_max: default: 32768 minimum: 301
[    0.024171] Security Framework initialized
[    0.024222] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.024301] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.024319] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025094] Initializing cgroup subsys memory
[    0.025136] Initializing cgroup subsys devices
[    0.025187] Initializing cgroup subsys freezer
[    0.025212] Initializing cgroup subsys net_cls
[    0.025256] Initializing cgroup subsys blkio
[    0.025292] Initializing cgroup subsys perf_event
[    0.025314] Initializing cgroup subsys net_prio
[    0.025400] CPU: Testing write buffer coherency: ok
[    0.025505] ftrace: allocating 16357 entries in 32 pages
[    0.049506] Setting up static identity map for 0x3b1e18 - 0x3b1e70
[    0.053008] devtmpfs: initialized
[    0.054793] pinctrl core: initialized pinctrl subsystem
[    0.055284] regulator-dummy: no parameters
[    0.058808] NET: Registered protocol family 16
[    0.059213] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060247] cpuidle: using governor ladder
[    0.060272] cpuidle: using governor menu
[    0.060496] Feroceon L2: Enabling L2
[    0.060537] Feroceon L2: Cache support initialised.
[    0.060884] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.065171] No ATAGs?
[    0.069194] platform regulators:regulator@1: Driver reg-fixed-voltage requests probe deferral
[    0.070339] Switched to clocksource orion_clocksource
[    0.092514] NET: Registered protocol family 2
[    0.093494] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.093531] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.093561] TCP: Hash tables configured (established 2048 bind 2048)
[    0.093625] TCP: reno registered
[    0.093637] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.093658] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.093837] NET: Registered protocol family 1
[    0.094132] Unpacking initramfs...
[    1.030001] Freeing initrd memory: 10296K (c1101000 - c1b0f000)
[    1.031615] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.031689] audit: initializing netlink subsys (disabled)
[    1.031754] audit: type=2000 audit(1.024:1): initialized
[    1.032625] zbud: loaded
[    1.032882] VFS: Disk quotas dquot_6.5.2
[    1.032931] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.033028] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.033243] msgmni has been set to 495
[    1.035214] alg: No test for stdrng (krng)
[    1.035322] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.035513] io scheduler noop registered
[    1.035668] io scheduler cfq registered (default)
[    1.036879] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.038239] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.058458] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    1.078455] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    1.078633] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.098452] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    1.118453] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    1.118900] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.120174] console [ttyS0] disabled
[    1.120226] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[    1.628455] console [ttyS0] enabled
[    1.633796] nand: Could not find valid ONFI parameter page; aborting
[    1.640232] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.646623] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.651095] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.656797] Scanning device for bad blocks
[    1.738146] 3 ofpart partitions found on MTD device orion_nand
[    1.744017] Creating 3 MTD partitions on "orion_nand":
[    1.749193] 0x000000000000-0x000000100000 : "u-boot"
[    1.755382] 0x000000100000-0x000000500000 : "uImage"
[    1.761479] 0x000000500000-0x000020000000 : "root"
[    1.766316] mtd: partition "root" extends beyond the end of device "orion_nand" -- size truncated to 0x7b00000
[    1.778160] mousedev: PS/2 mouse device common for all mice
[    2.786447] rtc-mv f1010300.rtc: internal RTC not ticking
[    2.792012] i2c /dev entries driver
[    2.796713] ledtrig-cpu: registered to indicate activity on CPUs
[    2.803113] TCP: cubic registered
[    2.806471] NET: Registered protocol family 17
[    2.811673] registered taskstats version 1
[    2.816879] USB Power: 5000 mV 
[    2.820423] rtc_hctosys: unable to open rtc device (rtc0)
[    2.827736] Freeing unused kernel memory: 276K (c0542000 - c0587000)
Loading, please wait...
[    2.902796] systemd-udevd[47]: starting version 215
[    2.916508] random: systemd-udevd urandom read with 1 bits of entropy available
[    3.037940] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.053217] usbcore: registered new interface driver usbfs
[    3.091750] libphy: orion_mdio_bus: probed
[    3.097458] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[    3.108219] usbcore: registered new interface driver hub
[    3.138886] usbcore: registered new device driver usb
[    3.166083] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.208801] ehci-orion: EHCI orion driver
[    3.728240] orion-ehci f1050000.ehci: EHCI Host Controller
[    3.752600] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.280859] orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
[    4.295900] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    4.306629] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.316047] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.322896] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.330163] usb usb1: Product: EHCI Host Controller
[    4.335072] usb usb1: Manufacturer: Linux 3.16.0-4-kirkwood ehci_hcd
[    4.341463] usb usb1: SerialNumber: f1050000.ehci
[    4.347503] hub 1-0:1.0: USB hub found
[    4.351327] hub 1-0:1.0: 1 port detected
[    4.666370] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.804108] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.810861] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.818048] usb 1-1: Product: USB2.0 Hub
[    4.826655] hub 1-1:1.0: USB hub found
[    4.830862] hub 1-1:1.0: 4 ports detected
[    5.106365] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    5.214485] usb 1-1.3: New USB device found, idVendor=0000, idProduct=7777
[    5.221415] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.228779] usb 1-1.3: Product: Mass Storage
[    5.233082] usb 1-1.3: Manufacturer: Generic
[    5.237381] usb 1-1.3: SerialNumber: 2B2A01FE
[    5.257980] SCSI subsystem initialized
[    5.266739] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    5.273382] scsi0 : usb-storage 1-1.3:1.0
[    5.279087] usbcore: registered new interface driver usb-storage
[    6.276706] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    6.299522] sd 0:0:0:0: [sda] 4096000000 512-byte logical blocks: (2.09 TB/1.90 TiB)
[    6.308130] sd 0:0:0:0: [sda] Write Protect is off
[    6.313878] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.342125]  sda: sda1 sda2
[    6.349384] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.359032] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Assembling all MD arrays ... [   14.569472] __nand_correct_data: uncorrectable ECC error
[   14.574859] end_request: I/O error, dev mtdblock0, sector 1920
[   14.580968] __nand_correct_data: uncorrectable ECC error
[   14.586352] end_request: I/O error, dev mtdblock0, sector 2032
[   14.592463] __nand_correct_data: uncorrectable ECC error
[   14.597817] __nand_correct_data: uncorrectable ECC error
[   14.603171] end_request: I/O error, dev mtdblock0, sector 2046
mdadm: No arrays found in config file or automatically
Failure: failed to assemble all arrays.
done.
done.
Begin: Running /scripts/local-premount ... [   14.628230] PM: Starting manual resume from disk
done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   36.583457] random: nonblocking pool is initialized
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: module i8042 not found in modules.dep
[   44.818651] ehci-pci: EHCI PCI platform driver
[   44.844840] uhci_hcd: USB Universal Host Controller Interface driver
[   44.861893] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   44.882161] hidraw: raw HID events driver (C) Jiri Kosina
[   44.892652] usbcore: registered new interface driver usbhid
[   44.898286] usbhid: USB HID core driver


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)

I unpluged the usb and recycled the power and stopped the boot process and have this:


picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
PogoE02> printenv
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3073/131068 bytes
PogoE02>

Not really sure how to proceed from here. The new Debian dist-upgrade also broke my net boot time setup I had. I wonder if there was something else that caused this or if it was just me.

So, is there anyway to salvage this?
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 03:00AM
feas,

Use my released rootfs in the kernel/rootfs thread:
http://forum.doozan.com/read.php?2,12096

Scroll down to 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.

Prepare the rootf on USB following the instruction. After done, plug in the rootfs and boot.

Remember, everything you do while hacking should be as a root user. You are the administrator and builder of the system. sudo will not work!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 03:04AM
will try and let ya know.

mean time I made another stick and was able to list directories:

PogoE02> ls usb 1:1                        
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
       127256496 base.tar.bz2
         2840564 sheeva-2.6.33-uImage
         4408698 sheeva-2.6.33-Modules.tar.gz
<DIR>       4096 boot
<DIR>       4096 sbin
<DIR>       4096 opt
<DIR>       4096 etc
<DIR>       4096 dev
<DIR>       4096 root
<DIR>       8192 lib
<DIR>       4096 mnt
<DIR>       4096 var
<DIR>       4096 bin
<DIR>       4096 home
<DIR>       4096 srv
<DIR>       4096 media
<DIR>       4096 proc
<DIR>       4096 sys
<DIR>       4096 usr
<DIR>       4096 tmp
<DIR>       4096 run

PogoE02> ls usb 0:1                        
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
           18406 install_uboot_mtd0.sh
PogoE02> 

Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 03:50AM
Ok, made the new usb ext3, plugged it in with the new rootfs and booted:

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61052928  	0030cd40-01	83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 253 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3165342 bytes read in 403 ms (7.5 MiB/s)
loading uInitrd ...
7179935 bytes read in 507 ms (13.5 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1113 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-07-27   8:34:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3165278 Bytes = 3 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
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f43b000, end 0fb13e5f ... OK
   Loading Device Tree to 0f435000, end 0f43a8cd ... 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: CloudEngines Pogoplug E02
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250592K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 11552K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 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: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008270] Console: colour dummy device 80x30
[    0.012836] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100932] pid_max: default: 32768 minimum: 301
[    0.105754] Security Framework initialized
[    0.110070] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116815] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124821] Initializing cgroup subsys io
[    0.129012] Initializing cgroup subsys devices
[    0.133582] Initializing cgroup subsys freezer
[    0.138201] Initializing cgroup subsys net_cls
[    0.142834] CPU: Testing write buffer coherency: ok
[    0.148345] Setting up static identity map for 0x8200 - 0x8258
[    0.154580] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.163653] devtmpfs: initialized
[    0.171739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182224] prandom: seed boundary self test passed
[    0.191043] prandom: 100 self tests passed
[    0.195266] pinctrl core: initialized pinctrl subsystem
[    0.202040] NET: Registered protocol family 16
[    0.207037] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.238051] cpuidle: using governor ladder
[    0.268049] cpuidle: using governor menu
[    0.272484] Feroceon L2: Enabling L2
[    0.276195] Feroceon L2: Cache support initialised.
[    0.281602] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.297079] No ATAGs?
[    0.329557] vgaarb: loaded
[    0.332989] usbcore: registered new interface driver usbfs
[    0.338717] usbcore: registered new interface driver hub
[    0.344209] usbcore: registered new device driver usb
[    0.350491] clocksource: Switched to clocksource orion_clocksource
[    0.412539] NET: Registered protocol family 2
[    0.417815] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.425053] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.431569] TCP: Hash tables configured (established 2048 bind 2048)
[    0.438097] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.444080] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450685] NET: Registered protocol family 1
[    0.455506] RPC: Registered named UNIX socket transport module.
[    0.461595] RPC: Registered udp transport module.
[    0.466409] RPC: Registered tcp transport module.
[    0.471234] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.478172] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.485894] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.492227] audit: initializing netlink subsys (disabled)
[    0.497776] audit: type=2000 audit(0.480:1): initialized
[    0.503615] Initialise system trusted keyring
[    0.508409] zbud: loaded
[    0.511366] VFS: Disk quotas dquot_6.6.0
[    0.515442] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.523124] NFS: Registering the id_resolver key type
[    0.528314] Key type id_resolver registered
[    0.532654] Key type id_legacy registered
[    0.536794] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.543637] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.550319] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.558031] Key type big_key registered
[    0.573400] Key type asymmetric registered
[    0.577615] Asymmetric key parser 'x509' registered
[    0.582779] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.590306] io scheduler noop registered
[    0.594521] io scheduler deadline registered
[    0.598959] io scheduler cfq registered (default)
[    0.605167] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.613371] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.620809] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.628326] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.671186] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.678836] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.721177] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.729094] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.737012] console [ttyS0] disabled
[    0.740801] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.749926] console [ttyS0] enabled
[    0.749926] console [ttyS0] enabled
[    0.757064] bootconsole [earlycon0] disabled
[    0.757064] bootconsole [earlycon0] disabled
[    0.767407] nand: Could not find valid ONFI parameter page; aborting
[    0.773872] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.780252] nand: Hynix NAND 128MiB 3,3V 8-bit
[    0.784739] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.792365] Scanning device for bad blocks
[    0.907992] libphy: Fixed MDIO Bus: probed
[    0.912533] libphy: orion_mdio_bus: probed
[    0.917355] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.001115] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    2.009987] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.016607] ehci-pci: EHCI PCI platform driver
[    2.021167] ehci-orion: EHCI orion driver
[    2.025372] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.030939] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.038792] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.060581] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.066850] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.073707] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.080985] usb usb1: Product: EHCI Host Controller
[    2.085884] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.092546] usb usb1: SerialNumber: f1050000.ehci
[    2.098009] hub 1-0:1.0: USB hub found
[    2.101873] hub 1-0:1.0: 1 port detected
[    2.106789] mousedev: PS/2 mouse device common for all mice
[    2.420525] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.572181] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.578925] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.586132] usb 1-1: Product: USB2.0 Hub
[    2.591029] hub 1-1:1.0: USB hub found
[    2.595176] hub 1-1:1.0: 4 ports detected
[    2.880519] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.991550] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5575
[    2.998471] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.005851] usb 1-1.2: Product: Cruzer Glide
[    3.010142] usb 1-1.2: Manufacturer: SanDisk
[    3.014452] usb 1-1.2: SerialNumber: 4C531001480325118324
[    3.120524] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.126158] i2c /dev entries driver
[    3.130983] hidraw: raw HID events driver (C) Jiri Kosina
[    3.136814] drop_monitor: Initializing network drop monitor service
[    3.143396] NET: Registered protocol family 17
[    3.148128] Key type dns_resolver registered
[    3.153327] registered taskstats version 1
[    3.157491] Loading compiled-in X.509 certificates
[    3.162401] zswap: loaded using pool lzo/zbud
[    3.167887] Key type encrypted registered
[    3.172485] hctosys: unable to open rtc device (rtc0)
[    3.179011] Waiting 10 sec before mounting root device...
[   13.190751] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   13.198099] Please append a correct "root=" boot option; here are the available partitions:
[   13.206548] 1f00          131072 mtdblock0  (driver?)
[   13.211680] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.219981] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[   13.226969] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.233289] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[   13.241071] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[   13.247989] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[   13.255510] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[   13.263384] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[   13.271424] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[   13.280349] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[   13.288482] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[   13.296093] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   80.190517] random: nonblocking pool is initialized

I am sure I did it right, but will redo it to verify.

#### EDIT: Ok Started from scratch. gparted usb as ext3 labeled rootfs with the boot flag. Ran the feb 20th versions as specified. Here is my log for that:
root@debian-laptop:/media/feas/rootfs# wget http://www.dropbox.com/s/qt2v378sm3j0loe/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
--2016-07-27 05:19:35--  http://www.dropbox.com/s/qt2v378sm3j0loe/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
Resolving www.dropbox.com (www.dropbox.com)... 162.125.4.1
Connecting to www.dropbox.com (www.dropbox.com)|162.125.4.1|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.dropbox.com/s/qt2v378sm3j0loe/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 [following]
--2016-07-27 05:19:35--  https://www.dropbox.com/s/qt2v378sm3j0loe/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
Connecting to www.dropbox.com (www.dropbox.com)|162.125.4.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.dropboxusercontent.com/content_link/IAJeL0FnJM3EuxkX3nrkvXZMgYh5jg9EAhdr2jrm0BRWMn1TTlgMP7ARyRbRoDLO/file [following]
--2016-07-27 05:19:35--  https://dl.dropboxusercontent.com/content_link/IAJeL0FnJM3EuxkX3nrkvXZMgYh5jg9EAhdr2jrm0BRWMn1TTlgMP7ARyRbRoDLO/file
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 45.58.70.37
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|45.58.70.37|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 143314034 (137M) [application/octet-stream]
Saving to: ‘Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2’

Debian-4.4.0-kirkwood-tld-1-r 100%[=================================================>] 136.67M  5.98MB/s   in 28s    

2016-07-27 05:20:04 (4.82 MB/s) - ‘Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2’ saved [143314034/143314034]

root@debian-laptop:/media/feas/rootfs# 
root@debian-laptop:/media/feas/rootfs# ls
Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2  lost+found

root@debian-laptop:/media/feas/rootfs# md5sum Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
9f957e1dc5a36f90a285ab4615cb02fd  Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
root@debian-laptop:/media/feas/rootfs# sha256sum Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
d33349118e34bd078ca635cd2d6776f3e312accfc77d29da5870b9980add5c36  Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2

root@debian-laptop:/media/feas/rootfs# 
root@debian-laptop:/media/feas/rootfs# tar -xjf Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2
root@debian-laptop:/media/feas/rootfs# nano etc/fstab
root@debian-laptop:/media/feas/rootfs# cat etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root      /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0

root@debian-laptop:/media/feas/rootfs# cd boot
root@debian-laptop:/media/feas/rootfs/boot# ls
config-4.4.0-kirkwood-tld-1	 linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb  uInitrd
dts				 System.map-4.4.0-kirkwood-tld-1		   vmlinuz-4.4.0-kirkwood-tld-1
initrd.img-4.4.0-kirkwood-tld-1  uImage						   zImage-4.4.0-kirkwood-tld-1

root@debian-laptop:/media/feas/rootfs/boot# cp -a zImage-4.4.0-kirkwood-tld-1  zImage.fdt
root@debian-laptop:/media/feas/rootfs/boot# cd dts
root@debian-laptop:/media/feas/rootfs/boot/dts# ls
kirkwood-asus_m25.dtb		   kirkwood-ib62x0.dtb			 kirkwood-nsa320s.dtb
kirkwood-b3.dtb			   kirkwood-iconnect.dtb		 kirkwood-nsa325.dtb
kirkwood-blackarmor-nas220.dtb	   kirkwood-iomega_ix2_200.dtb		 kirkwood-openblocks_a6.dtb
kirkwood-cloudbox.dtb		   kirkwood-iomega_ix4_200d.dtb		 kirkwood-openblocks_a7.dtb
kirkwood-d2net.dtb		   kirkwood-is2.dtb			 kirkwood-openrd-base.dtb
kirkwood-db-88f6281.dtb		   kirkwood-km_kirkwood.dtb		 kirkwood-openrd-client.dtb
kirkwood-db-88f6282.dtb		   kirkwood-laplug.dtb			 kirkwood-openrd-ultimate.dtb
kirkwood-dir665.dtb		   kirkwood-lschlv2.dtb			 kirkwood-pogo_e02.dtb
kirkwood-dns320.dtb		   kirkwood-lswvl.dtb			 kirkwood-pogoplug_v4.dtb
kirkwood-dns325.dtb		   kirkwood-lswxl.dtb			 kirkwood-qizhitong_501m_v2.dtb
kirkwood-dockstar.dtb		   kirkwood-lsxhl.dtb			 kirkwood-rd88f6192.dtb
kirkwood-dreamplug.dtb		   kirkwood-mplcec4.dtb			 kirkwood-rd88f6281-a0.dtb
kirkwood-ds109.dtb		   kirkwood-mv88f6281gtw-ge.dtb		 kirkwood-rd88f6281-a1.dtb
kirkwood-ds110jv10.dtb		   kirkwood-nas2big.dtb			 kirkwood-rd88f6281-a.dtb
kirkwood-ds111.dtb		   kirkwood-net2big.dtb			 kirkwood-rd88f6281-z0.dtb
kirkwood-ds209.dtb		   kirkwood-net5big.dtb			 kirkwood-rs212.dtb
kirkwood-ds210.dtb		   kirkwood-netgear_readynas_duo_v2.dtb  kirkwood-rs409.dtb
kirkwood-ds212.dtb		   kirkwood-netgear_readynas_nv+_v2.dtb  kirkwood-rs411.dtb
kirkwood-ds212j.dtb		   kirkwood-netgear_stora_ms2000.dtb	 kirkwood-sheevaplug.dtb
kirkwood-ds409.dtb		   kirkwood-ns2.dtb			 kirkwood-sheevaplug-esata.dtb
kirkwood-ds409slim.dtb		   kirkwood-ns2lite.dtb			 kirkwood-t5325.dtb
kirkwood-ds411.dtb		   kirkwood-ns2max.dtb			 kirkwood-topkick.dtb
kirkwood-ds411j.dtb		   kirkwood-ns2mini.dtb			 kirkwood-ts219-6281.dtb
kirkwood-ds411slim.dtb		   kirkwood-nsa310a.dtb			 kirkwood-ts219-6282.dtb
kirkwood-goflexhome.dtb		   kirkwood-nsa310.dtb			 kirkwood-ts419-6281.dtb
kirkwood-goflexnet.dtb		   kirkwood-nsa310s.dtb			 kirkwood-ts419-6282.dtb
kirkwood-guruplug-server-plus.dtb  kirkwood-nsa320.dtb
root@debian-laptop:/media/feas/rootfs/boot/dts# cd ..

root@debian-laptop:/media/feas/rootfs/boot# cat dts/kirkwood-pogo_e02.dtb >> zImage.fdt
root@debian-laptop:/media/feas/rootfs/boot# mv uImage uImage.orig
root@debian-laptop:/media/feas/rootfs/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt  uImage
Image Name:   Linux-4.4.0-kirkwood-tld-1
Created:      Wed Jul 27 05:29:52 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3165278 Bytes = 3091.09 kB = 3.02 MB
Load Address: 00008000
Entry Point:  00008000

root@debian-laptop:/media/feas/rootfs/boot# sync

root@debian-laptop:/media/feas/rootfs/boot# ls -la
total 39200
drwxr-xr-x  3 root root    4096 Jul 27 05:29 .
drwxr-xr-x 21 root root    4096 Feb 16  2015 ..
-rw-r--r--  1 root root  140949 Jan 25  2016 config-4.4.0-kirkwood-tld-1
drwxr-xr-x  2 root root    4096 Jan 26  2016 dts
-rw-r--r--  1 root root 7179871 Feb 19 01:36 initrd.img-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root 7511582 Jan 26  2016 linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb
-rw-------  1 root root 2240040 Jan 26  2016 System.map-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root 3165342 Jul 27 05:31 uImage
-rw-r--r--  1 root root 3154896 Feb 19 00:55 uImage.orig
-rw-r--r--  1 root root 7179935 Feb 19 02:33 uInitrd
-rw-------  1 root root 3154832 Jan 26  2016 vmlinuz-4.4.0-kirkwood-tld-1
-rwxr-xr-x  1 root root 3154832 Jan 25  2016 zImage-4.4.0-kirkwood-tld-1
-rwxr-xr-x  1 root root 3165278 Jul 27 05:29 zImage.fdt
root@debian-laptop:/media/feas/rootfs/boot#

Attached usb to plug and cold booted and got the same messages as before.
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready
 0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61052928  	0030cd40-01	83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3165342 bytes read in 388 ms (7.8 MiB/s)
loading uInitrd ...
7179935 bytes read in 496 ms (13.8 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-07-27   9:29:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3165278 Bytes = 3 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
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f43b000, end 0fb13e5f ... OK
   Loading Device Tree to 0f435000, end 0f43a8cd ... 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: CloudEngines Pogoplug E02
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250592K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 11552K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 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: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008270] Console: colour dummy device 80x30
[    0.012836] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100931] pid_max: default: 32768 minimum: 301
[    0.105756] Security Framework initialized
[    0.110072] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116815] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124811] Initializing cgroup subsys io
[    0.128994] Initializing cgroup subsys devices
[    0.133564] Initializing cgroup subsys freezer
[    0.138180] Initializing cgroup subsys net_cls
[    0.142807] CPU: Testing write buffer coherency: ok
[    0.148321] Setting up static identity map for 0x8200 - 0x8258
[    0.154553] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.163630] devtmpfs: initialized
[    0.171692] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182175] prandom: seed boundary self test passed
[    0.190989] prandom: 100 self tests passed
[    0.195215] pinctrl core: initialized pinctrl subsystem
[    0.202000] NET: Registered protocol family 16
[    0.206992] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.238051] cpuidle: using governor ladder
[    0.268051] cpuidle: using governor menu
[    0.272483] Feroceon L2: Enabling L2
[    0.276195] Feroceon L2: Cache support initialised.
[    0.281601] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.297080] No ATAGs?
[    0.329556] vgaarb: loaded
[    0.332989] usbcore: registered new interface driver usbfs
[    0.338717] usbcore: registered new interface driver hub
[    0.344210] usbcore: registered new device driver usb
[    0.350492] clocksource: Switched to clocksource orion_clocksource
[    0.412551] NET: Registered protocol family 2
[    0.417817] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.425050] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.431569] TCP: Hash tables configured (established 2048 bind 2048)
[    0.438098] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.444082] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450685] NET: Registered protocol family 1
[    0.455496] RPC: Registered named UNIX socket transport module.
[    0.461576] RPC: Registered udp transport module.
[    0.466391] RPC: Registered tcp transport module.
[    0.471217] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.478149] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.485873] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.492209] audit: initializing netlink subsys (disabled)
[    0.497759] audit: type=2000 audit(0.480:1): initialized
[    0.503597] Initialise system trusted keyring
[    0.508400] zbud: loaded
[    0.511356] VFS: Disk quotas dquot_6.6.0
[    0.515433] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.523117] NFS: Registering the id_resolver key type
[    0.528305] Key type id_resolver registered
[    0.532647] Key type id_legacy registered
[    0.536785] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.543627] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.550315] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.558021] Key type big_key registered
[    0.573390] Key type asymmetric registered
[    0.577606] Asymmetric key parser 'x509' registered
[    0.582769] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.590297] io scheduler noop registered
[    0.594513] io scheduler deadline registered
[    0.598950] io scheduler cfq registered (default)
[    0.605159] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.613366] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.620806] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.628327] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.671182] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.678836] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.721179] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.729091] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.737017] console [ttyS0] disabled
[    0.740811] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.749935] console [ttyS0] enabled
[    0.749935] console [ttyS0] enabled
[    0.757073] bootconsole [earlycon0] disabled
[    0.757073] bootconsole [earlycon0] disabled
[    0.767420] nand: Could not find valid ONFI parameter page; aborting
[    0.773889] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.780270] nand: Hynix NAND 128MiB 3,3V 8-bit
[    0.784756] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.792383] Scanning device for bad blocks
[    0.908026] libphy: Fixed MDIO Bus: probed
[    0.912571] libphy: orion_mdio_bus: probed
[    0.917420] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.001140] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    2.010015] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.016632] ehci-pci: EHCI PCI platform driver
[    2.021193] ehci-orion: EHCI orion driver
[    2.025400] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.030966] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.038817] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.060582] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.066849] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.073705] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.080984] usb usb1: Product: EHCI Host Controller
[    2.085882] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.092545] usb usb1: SerialNumber: f1050000.ehci
[    2.098006] hub 1-0:1.0: USB hub found
[    2.101874] hub 1-0:1.0: 1 port detected
[    2.106787] mousedev: PS/2 mouse device common for all mice
[    2.420527] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.572081] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.578829] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.586036] usb 1-1: Product: USB2.0 Hub
[    2.590938] hub 1-1:1.0: USB hub found
[    2.595077] hub 1-1:1.0: 4 ports detected
[    2.880519] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    2.991451] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5575
[    2.998373] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.005755] usb 1-1.3: Product: Cruzer Glide
[    3.010045] usb 1-1.3: Manufacturer: SanDisk
[    3.014357] usb 1-1.3: SerialNumber: 4C531001480325118324
[    3.120524] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.126156] i2c /dev entries driver
[    3.130982] hidraw: raw HID events driver (C) Jiri Kosina
[    3.136814] drop_monitor: Initializing network drop monitor service
[    3.143394] NET: Registered protocol family 17
[    3.148132] Key type dns_resolver registered
[    3.153326] registered taskstats version 1
[    3.157491] Loading compiled-in X.509 certificates
[    3.162402] zswap: loaded using pool lzo/zbud
[    3.167889] Key type encrypted registered
[    3.172489] hctosys: unable to open rtc device (rtc0)
[    3.179007] Waiting 10 sec before mounting root device...
[   13.190753] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   13.198099] Please append a correct "root=" boot option; here are the available partitions:
[   13.206550] 1f00          131072 mtdblock0  (driver?)
[   13.211681] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.219982] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[   13.226970] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.233290] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[   13.241073] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[   13.247988] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[   13.255511] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[   13.263384] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[   13.271433] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[   13.280358] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[   13.288492] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[   13.296102] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   80.190518] random: nonblocking pool is initialized



Edited 1 time(s). Last edit at 07/27/2016 04:49AM by feas.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 05:37AM
so found some new post and I was looking at this one. I have set up an ftp server on my laptop and the plug sees it to beable to copy it over if it looks like it may work.

http://forum.doozan.com/read.php?3,6965,6965
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 10:36AM
Ok got it to boot!!!

The file over ftp did transfer but that did not fix the issue

Here is what I did:

mtdparts had an extra "mtdparts=" so reset that env


The partitions were wrong so I wrote the file on the usb from my laptop to correct
[    1.749193] 0x000000000000-0x000000100000 : "u-boot"
[    1.755382] 0x000000100000-0x000000500000 : "uImage"
[    1.761479] 0x000000500000-0x000020000000 : "root"
to
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 0db00000 00020000 "data"


I renamed the new uImage to uImage-bak and copied the original uImage.org to uImage.

r
oot@debian:~# uname -a
Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux

I was not able to fix the original usb so am updating the new one.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 11:10AM
So the dist-upgrade broke several setting on the E02 for me. How am I suppose to handle upgrades in the future to stop this from happening again?
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 12:23PM
feas,

Your rootfs still have problem. It booted, but not the way you want to set it up.

[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10


When you boot with the new u-boot and its default envs, the rootfs should be created with just the tar command. The DTB should not be appended.

> So the dist-upgrade broke several setting on the
> E02 for me. How am I suppose to handle upgrades in
> the future to stop this from happening again?

Don't do dist-upgrade. Just update the kernel using my kernel build when I release it. For example, now you can upgrade to the latest kernel: linux-4.6.0-kirkwood-tld-1-bodhi.tar.bz2 (20 May 2016).

And then do apt-get upgrade.

If you feel this puts the limit on your system (i.e. relying on my distribution), then at any time, you can go back to the mainline kernel by doing "apt-get dist-upgrade". And then use my DTB to boot (to take advantage of a better defined DTS).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 12:25PM
Ah, I saw your updated post above regarding uImage.orig.

To verify, please post output of dmesg here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 12:51PM
here is the log with the new usb:

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	61052928  	0030cd40-01	83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 387 ms (7.8 MiB/s)
loading uInitrd ...
7179935 bytes read in 496 ms (13.8 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy 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 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
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f43b000, end 0fb13e5f ... OK
   Loading Device Tree to 0f435000, end 0f43a8cd ... 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: CloudEngines Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243576K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 18568K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 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: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000326] Console: colour dummy device 80x30
[    0.000357] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090219] Security Framework initialized
[    0.090296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090316] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091118] Initializing cgroup subsys io
[    0.091152] Initializing cgroup subsys devices
[    0.091177] Initializing cgroup subsys freezer
[    0.091210] Initializing cgroup subsys net_cls
[    0.091295] CPU: Testing write buffer coherency: ok
[    0.091773] Setting up static identity map for 0x8200 - 0x8258
[    0.092076] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.095865] devtmpfs: initialized
[    0.100512] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100986] prandom: seed boundary self test passed
[    0.104745] prandom: 100 self tests passed
[    0.104773] pinctrl core: initialized pinctrl subsystem
[    0.106181] NET: Registered protocol family 16
[    0.106636] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130107] cpuidle: using governor ladder
[    0.160106] cpuidle: using governor menu
[    0.160524] Feroceon L2: Enabling L2
[    0.160570] Feroceon L2: Cache support initialised.
[    0.160955] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.165858] No ATAGs?
[    0.201615] vgaarb: loaded
[    0.201992] usbcore: registered new interface driver usbfs
[    0.202073] usbcore: registered new interface driver hub
[    0.202137] usbcore: registered new device driver usb
[    0.203243] clocksource: Switched to clocksource orion_clocksource
[    0.259069] NET: Registered protocol family 2
[    0.259888] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259927] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259958] TCP: Hash tables configured (established 2048 bind 2048)
[    0.260032] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260056] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260252] NET: Registered protocol family 1
[    0.260668] RPC: Registered named UNIX socket transport module.
[    0.260681] RPC: Registered udp transport module.
[    0.260688] RPC: Registered tcp transport module.
[    0.260696] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260983] Unpacking initramfs...
[    0.906705] Freeing initrd memory: 7012K (cf43b000 - cfb14000)
[    0.906835] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.907951] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.908024] audit: initializing netlink subsys (disabled)
[    0.908080] audit: type=2000 audit(0.900:1): initialized
[    0.908444] Initialise system trusted keyring
[    0.908839] zbud: loaded
[    0.909140] VFS: Disk quotas dquot_6.6.0
[    0.909200] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.909757] NFS: Registering the id_resolver key type
[    0.909798] Key type id_resolver registered
[    0.909808] Key type id_legacy registered
[    0.909834] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.909850] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.910075] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.910605] Key type big_key registered
[    0.930982] Key type asymmetric registered
[    0.931006] Asymmetric key parser 'x509' registered
[    0.931107] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.931129] io scheduler noop registered
[    0.931145] io scheduler deadline registered
[    0.931209] io scheduler cfq registered (default)
[    0.932581] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.933456] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.933909] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.934451] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.973951] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.974187] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.013932] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.014426] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015858] console [ttyS0] disabled
[    1.015923] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    1.616984] console [ttyS0] enabled
[    1.622107] nand: Could not find valid ONFI parameter page; aborting
[    1.628573] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.634970] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.639437] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.647066] Scanning device for bad blocks
[    1.766919] libphy: Fixed MDIO Bus: probed
[    1.771380] libphy: orion_mdio_bus: probed
[    1.780410] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.863899] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    2.872785] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.879401] ehci-pci: EHCI PCI platform driver
[    2.883960] ehci-orion: EHCI orion driver
[    2.888169] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.893742] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.901598] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.923277] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.929563] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.936419] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.943698] usb usb1: Product: EHCI Host Controller
[    2.948597] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.955260] usb usb1: SerialNumber: f1050000.ehci
[    2.960725] hub 1-0:1.0: USB hub found
[    2.964586] hub 1-0:1.0: 1 port detected
[    2.969495] mousedev: PS/2 mouse device common for all mice
[    3.283277] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    3.434855] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    3.441604] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.448811] usb 1-1: Product: USB2.0 Hub
[    3.453715] hub 1-1:1.0: USB hub found
[    3.457856] hub 1-1:1.0: 4 ports detected
[    3.743270] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    3.854226] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5575
[    3.861149] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.868532] usb 1-1.3: Product: Cruzer Glide
[    3.872821] usb 1-1.3: Manufacturer: SanDisk
[    3.877131] usb 1-1.3: SerialNumber: 4C531001480325118324
[    3.983274] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.988905] i2c /dev entries driver
[    3.993741] hidraw: raw HID events driver (C) Jiri Kosina
[    3.999577] drop_monitor: Initializing network drop monitor service
[    4.006165] NET: Registered protocol family 17
[    4.010895] Key type dns_resolver registered
[    4.016102] registered taskstats version 1
[    4.020266] Loading compiled-in X.509 certificates
[    4.025169] zswap: loaded using pool lzo/zbud
[    4.038502] Key type encrypted registered
[    4.043091] hctosys: unable to open rtc device (rtc0)
[    4.050659] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
Loading, please wait...
[    4.128358] systemd-udevd[81]: starting version 215
[    4.145483] random: systemd-udevd urandom read with 7 bits of entropy available
[    4.292413] SCSI subsystem initialized
[    4.339605] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    4.390288] scsi host0: usb-storage 1-1.3:1.0
[    4.402447] usbcore: registered new interface driver usb-storage
[    4.430453] usbcore: registered new interface driver uas
[    5.394330] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    5.411420] sd 0:0:0:0: [sda] 61056064 512-byte logical blocks: (31.2 GB/29.1 GiB)
[    5.421521] sd 0:0:0:0: [sda] Write Protect is off
[    5.427139] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.443519]  sda: sda1
[    5.449389] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.459091] sd 0:0:0:0: Attached scsi generic sg0 type 0
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: module ext3 not found in modules.dep
Begin: Checking root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   19.684064] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.704687] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   21.055785] systemd-udevd[289]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   21.496147] orion_wdt: Initial timeout 21 sec
[   21.534346] marvell-cesa: probe of f1030000.crypto failed with error -524
done.
[   22.023323] random: nonblocking pool is initialized
[ ok ] Activating swap...done.
[   22.426890] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 15980/1908736 files, 319889/7631616 blocks
done.
[   22.644856] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   25.189428] NET: Registered protocol family 10
[   26.367854] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:04:7b:64
Sending on   LPF/eth0/00:25:31:04:7b:64
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   28.669731] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   28.679662] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.86.1
bound to 192.168.86.109 -- renewal in 42110 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1225 (syslogd)
. ok 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1227 (klogd)
. ok 
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
ERROR  No file(s) found for glob /var/log/auth.log
ERROR  Failed during configuration: Have not found any log file for ssh jail
[ ok ] Starting virtual private network daemon:.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 8 debian ttyS0

debian login:
root@debian:~# uname -a
Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux

I still have a problem when I boot without the usb.
I thought this would fix that too. Is there something else I need to run for that?

root@debian:~# dmesg
[    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: CloudEngines Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c08a06b4, node_mem_map cfdf9000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243576K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 18568K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
      .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
      .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
       .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: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000326] Console: colour dummy device 80x30
[    0.000357] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090219] Security Framework initialized
[    0.090296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090316] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091117] Initializing cgroup subsys io
[    0.091152] Initializing cgroup subsys devices
[    0.091177] Initializing cgroup subsys freezer
[    0.091210] Initializing cgroup subsys net_cls
[    0.091295] CPU: Testing write buffer coherency: ok
[    0.091774] Setting up static identity map for 0x8200 - 0x8258
[    0.092076] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.095865] devtmpfs: initialized
[    0.100516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100988] prandom: seed boundary self test passed
[    0.104747] prandom: 100 self tests passed
[    0.104772] pinctrl core: initialized pinctrl subsystem
[    0.106183] NET: Registered protocol family 16
[    0.106638] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130109] cpuidle: using governor ladder
[    0.160108] cpuidle: using governor menu
[    0.160526] Feroceon L2: Enabling L2
[    0.160573] Feroceon L2: Cache support initialised.
[    0.160956] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.165858] No ATAGs?
[    0.201606] vgaarb: loaded
[    0.201985] usbcore: registered new interface driver usbfs
[    0.202067] usbcore: registered new interface driver hub
[    0.202130] usbcore: registered new device driver usb
[    0.203239] clocksource: Switched to clocksource orion_clocksource
[    0.259049] NET: Registered protocol family 2
[    0.259873] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259912] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259944] TCP: Hash tables configured (established 2048 bind 2048)
[    0.260018] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260042] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260239] NET: Registered protocol family 1
[    0.260654] RPC: Registered named UNIX socket transport module.
[    0.260667] RPC: Registered udp transport module.
[    0.260675] RPC: Registered tcp transport module.
[    0.260683] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260703] PCI: CLS 0 bytes, default 32
[    0.260968] Unpacking initramfs...
[    0.906752] Freeing initrd memory: 7012K (cf43b000 - cfb14000)
[    0.906882] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.907994] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.908067] audit: initializing netlink subsys (disabled)
[    0.908122] audit: type=2000 audit(0.900:1): initialized
[    0.908485] Initialise system trusted keyring
[    0.908880] zbud: loaded
[    0.909181] VFS: Disk quotas dquot_6.6.0
[    0.909242] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.909801] NFS: Registering the id_resolver key type
[    0.909843] Key type id_resolver registered
[    0.909852] Key type id_legacy registered
[    0.909879] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.909894] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.910119] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.910644] Key type big_key registered
[    0.931030] Key type asymmetric registered
[    0.931053] Asymmetric key parser 'x509' registered
[    0.931153] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.931175] io scheduler noop registered
[    0.931191] io scheduler deadline registered
[    0.931255] io scheduler cfq registered (default)
[    0.932623] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.933501] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    0.933950] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    0.934492] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.973947] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.974183] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.013923] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.014423] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015850] console [ttyS0] disabled
[    1.015914] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    1.616978] console [ttyS0] enabled
[    1.622104] nand: Could not find valid ONFI parameter page; aborting
[    1.628574] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.634971] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.639438] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.647066] Scanning device for bad blocks
[    1.766911] libphy: Fixed MDIO Bus: probed
[    1.771372] libphy: orion_mdio_bus: probed
[    1.780402] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.863892] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    2.872776] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.879391] ehci-pci: EHCI PCI platform driver
[    2.883951] ehci-orion: EHCI orion driver
[    2.888163] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.893733] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.901592] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.923272] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.929554] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.936402] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.943682] usb usb1: Product: EHCI Host Controller
[    2.948581] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.955243] usb usb1: SerialNumber: f1050000.ehci
[    2.960707] hub 1-0:1.0: USB hub found
[    2.964571] hub 1-0:1.0: 1 port detected
[    2.969480] mousedev: PS/2 mouse device common for all mice
[    3.283274] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    3.434847] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    3.441596] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.448804] usb 1-1: Product: USB2.0 Hub
[    3.453708] hub 1-1:1.0: USB hub found
[    3.457848] hub 1-1:1.0: 4 ports detected
[    3.743266] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    3.854218] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5575
[    3.861142] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.868524] usb 1-1.3: Product: Cruzer Glide
[    3.872812] usb 1-1.3: Manufacturer: SanDisk
[    3.877123] usb 1-1.3: SerialNumber: 4C531001480325118324
[    3.983269] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.988905] i2c /dev entries driver
[    3.993740] hidraw: raw HID events driver (C) Jiri Kosina
[    3.999579] drop_monitor: Initializing network drop monitor service
[    4.006165] NET: Registered protocol family 17
[    4.010907] Key type dns_resolver registered
[    4.016109] registered taskstats version 1
[    4.020276] Loading compiled-in X.509 certificates
[    4.025178] zswap: loaded using pool lzo/zbud
[    4.038530] Key type encrypted registered
[    4.043114] hctosys: unable to open rtc device (rtc0)
[    4.049540] PM: Hibernation image not present or could not be loaded.
[    4.050691] Freeing unused kernel memory: 296K (c07d8000 - c0822000)
[    4.128525] systemd-udevd[81]: starting version 215
[    4.145449] random: systemd-udevd urandom read with 7 bits of entropy available
[    4.320549] SCSI subsystem initialized
[    4.355423] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    4.392301] scsi host0: usb-storage 1-1.3:1.0
[    4.406087] usbcore: registered new interface driver usb-storage
[    4.438038] usbcore: registered new interface driver uas
[    5.394325] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    5.411794] sd 0:0:0:0: [sda] 61056064 512-byte logical blocks: (31.2 GB/29.1 GiB)
[    5.420887] sd 0:0:0:0: [sda] Write Protect is off
[    5.425792] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    5.426507] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.450253]  sda: sda1 sda2
[    5.457136] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.466886] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   19.684304] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.705321] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   21.075179] systemd-udevd[289]: starting version 215
[   21.504716] orion_wdt: Initial timeout 21 sec
[   21.528454] marvell-cesa: probe of f1030000.crypto failed with error -524
[   21.948284] random: nonblocking pool is initialized
[   22.485334] EXT4-fs (sda1): re-mounted. Opts: (null)
[   22.706220] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   25.268537] NET: Registered protocol family 10
[   26.447836] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   29.036812] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   29.046744] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@debian:~#



Edited 1 time(s). Last edit at 07/27/2016 01:17PM by feas.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 01:20PM
bodhi Wrote:
-------------------------------------------------------
> feas,
>
> Your rootfs still have problem. It booted, but not
> the way you want to set it up.
>
>
> [    0.000000] Kernel command line:
> console=ttyS0,115200n8 earlyprintk root=/dev/sda1
> rootdelay=10
>
>
>
> When you boot with the new u-boot and its default
> envs, the rootfs should be created with just the
> tar command. The DTB should not be
> appended
.
>
> > So the dist-upgrade broke several setting on
> the
> > E02 for me. How am I suppose to handle upgrades
> in
> > the future to stop this from happening again?
>
> Don't do dist-upgrade. Just update the kernel
> using my kernel build when I release it. For
> example, now you can upgrade to the latest kernel:
> linux-4.6.0-kirkwood-tld-1-bodhi.tar.bz2 (20 May
> 2016).
>
> And then do apt-get upgrade.
>
> If you feel this puts the limit on your system
> (i.e. relying on my distribution), then at any
> time, you can go back to the mainline kernel by
> doing "apt-get dist-upgrade". And then use my DTB
> to boot (to take advantage of a better defined
> DTS).

no problem waiting on you what so ever. In fact the changes you make in your kernel saved me a lot of work setting somethings up.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 02:45PM
feas,

Everything looks great!

Now about booting back to stock OS when the USB drive is unplugged or corrupted. Recall you've save your current_envs.txt when upgrading u-boot? The saved envs in that file should be used to restore the settings to boot stock.

Basically

pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run pogo_bootcmd; reset

Explanation:

This should work because you have installed Jeff's/davrygravy's u-boot before using the automated installer script. That installer saved the original u-boot uboot-original-mtd0.kwb in NAND stock rootfs. And the simplest way to boot stock is chainloading that original u-boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 27, 2016 03:01PM
bodhi Wrote:
-------------------------------------------------------
> feas,
>
> Everything looks great!

phew!

>
> Now about booting back to stock OS when the USB
> drive is unplugged or corrupted. Recall you've
> save your current_envs.txt when upgrading u-boot?
> The saved envs in that file should be used to
> restore the settings to boot stock.
>
> Basically
>
>
> pogo_bootcmd=if fsload uboot-original-mtd0.kwb;
> then go 0x800200; fi
> bootcmd=run bootcmd_uenv; run scan_disk; run
> set_bootargs; run bootcmd_exec; run pogo_bootcmd;
> reset
>
>
> Explanation:
>
> This should work because you have installed
> Jeff's/davrygravy's u-boot before using the
> automated installer script. That installer saved
> the original u-boot uboot-original-mtd0.kwb in
> NAND stock rootfs. And the simplest way to boot
> stock is chainloading that original u-boot.

Thanks will read up on it and more than likely make a dd copy of the usb first.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 29, 2016 01:05AM
So the above gave me some errors and I found:

Boot and interrupt serial console,

setenv pogo_bootcmd 'if fsload uboot-original-mtd0.kwb; then go 0x800200; fi'
run pogo_bootcmd


See if it boots back into Pogo OS.

from http://forum.doozan.com/read.php?4,23425,25627#msg-25627 and all is right in the world.

I then reboot and I have the same problem again.

So I
setenv pogo_bootcmd 'if fsload uboot-original-mtd0.kwb; then go 0x800200; fi'
saveenv
run pogo_bootcmd

It works.
I type reboot and problem again.

Here is my printenv
PogoE02> printenv
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run pogo_bootcmd; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3151/131068 bytes

PogoE02> run pogo_bootcmd
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: ......... done.
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...


U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (3.4.16)

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

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

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  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: PPV2

Streaming disabled 
Write allocate disabled


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

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

Reading data from 0x2ff800 -- 100% complete.
 2097152 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-10-19  23:05:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1979140 Bytes =  1.9 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.22.18 (bdietrich@buildman) (gcc version 4.2.1) #81 Tue Oct 19 16:05:00 PDT 2010
[    0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU0: D VIVT write-back cache
[    0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] Built 1 zonelists.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.010000] Memory: 256MB 0MB 0MB 0MB = 256MB total
[    0.010000] Memory: 255872KB available (3592K code, 253K data, 124K init)
[    0.250000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.250000] NET: Registered protocol family 16
[    0.250000] 
[    0.250000] CPU Interface
[    0.250000] -------------
[    0.250000] SDRAM_CS0 ....base 00000000, size 256MB 
[    0.250000] SDRAM_CS1 ....disable
[    0.250000] SDRAM_CS2 ....disable
[    0.250000] SDRAM_CS3 ....disable
[    0.250000] PEX0_MEM ....base e8000000, size 128MB 
[    0.250000] PEX0_IO ....base f2000000, size   1MB 
[    0.250000] INTER_REGS ....base f1000000, size   1MB 
[    0.250000] NFLASH_CS ....base fa000000, size   2MB 
[    0.250000] SPI_CS ....base f4000000, size  16MB 
[    0.250000] BOOT_ROM_CS ....no such
[    0.250000] DEV_BOOTCS ....no such
[    0.250000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.250000] 
[    0.250000]   Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21_with_rx_desc_tuned)-- SHEEVA PLUG  Soc: 88F6281 A0 LE
[    0.250000] 
[    0.250000]  Detected Tclk 200000000 and SysClk 400000000 
[    0.250000] MV Buttons Device Load
[    0.250000] Marvell USB EHCI Host controller #0: c0652600
[    0.750000] PEX0 interface detected no Link.
[    0.750000] PCI: bus0: Fast back to back transfers enabled
[    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.760000] Time: kw_clocksource clocksource has been installed.
[    0.850000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.850000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.850000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.850000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.850000] TCP reno registered
[    0.880000] RTC has been updated!!!
[    0.880000] RTC registered
[    0.880000] Use the XOR engines (acceleration) for enhancing the following functions:
[    0.880000]   o RAID 5 Xor calculation
[    0.880000]   o kernel memcpy
[    0.880000]   o kenrel memzero
[    0.880000] Number of XOR engines to use: 4
[    0.880000] cesadev_init(c00117b0)
[    0.880000] mvCesaInit: sessions=640, queue=64, pSram=f0000000
[    0.880000] MV Buttons Driver Load
[    0.880000] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[    0.880000] squashfs: LZMA suppport for slax.org by jro
[    0.880000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.880000] io scheduler noop registered
[    0.880000] io scheduler anticipatory registered (default)
[    0.900000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[    0.900000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    0.910000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
[    0.920000] Loading Marvell Ethernet Driver:
[    0.920000]   o Cached descriptors in DRAM
[    0.920000]   o DRAM SW cache-coherency
[    0.930000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    0.930000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    0.940000]   o TCP segmentation offload enabled
[    0.940000]   o Receive checksum offload enabled
[    0.950000]   o Transmit checksum offload enabled
[    0.950000]   o Network Fast Processing (Routing) supported
[    0.960000]   o Driver ERROR statistics enabled
[    0.960000]   o Driver INFO statistics enabled
[    0.970000]   o Proc tool API enabled
[    0.970000]   o Rx descripors: q0=128
[    0.970000]   o Tx descripors: q0=532
[    0.980000]   o Loading network interface(s):
[    0.990000]     o eth0, ifindex = 1, GbE port = 0
[    0.990000]     o eth1, ifindex = 2, GbE port = 1
[    1.000000] 
[    1.000000] mvFpRuleDb (cfdf6000): 2048 entries, 8192 bytes
[    1.000000] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
[    1.010000] Copyright (c) 1999-2006 Intel Corporation.
[    1.020000] e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
[    1.020000] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.030000] 
[    1.030000] Warning Sata is Powered Off
[    1.030000] NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
[    1.040000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    1.050000] Scanning device for bad blocks
[    1.100000] Using static partition definition
[    1.110000] Creating 4 MTD partitions on "nand_mtd":
[    1.110000] 0x00000000-0x00100000 : "u-boot"
[    1.120000] 0x00100000-0x00500000 : "uImage"
[    1.120000] 0x00500000-0x02500000 : "root"
[    1.130000] 0x02500000-0x08000000 : "data"
[    1.130000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.140000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.180000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.200000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    1.200000] usb usb1: configuration #1 chosen from 1 choice
[    1.210000] hub 1-0:1.0: USB hub found
[    1.210000] hub 1-0:1.0: 1 port detected
[    1.330000] USB Universal Host Controller Interface driver v3.0
[    1.610000] usb 1-1: new high speed USB device using ehci_marvell and address 2
[    1.760000] usb 1-1: configuration #1 chosen from 1 choice
[    1.760000] hub 1-1:1.0: USB hub found
[    1.770000] hub 1-1:1.0: 4 ports detected
[    1.880000] usbcore: registered new interface driver usblp
[    1.880000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[    1.890000] Initializing USB Mass Storage driver...
[    1.890000] usbcore: registered new interface driver usb-storage
[    1.900000] USB Mass Storage support registered.
[    1.910000] mice: PS/2 mouse device common for all mice
[    1.910000] i2c /dev entries driver
[    1.910000] Linux telephony interface: v1.00
[    1.920000] md: linear personality registered for level -1
[    1.920000] md: raid0 personality registered for level 0
[    1.930000] md: raid1 personality registered for level 1
[    2.100000] raid6: int32x1     97 MB/s
[    2.270000] raid6: int32x2    114 MB/s
[    2.440000] raid6: int32x4    122 MB/s
[    2.610000] raid6: int32x8    110 MB/s
[    2.610000] raid6: using algorithm int32x4 (122 MB/s)
[    2.610000] md: raid6 personality registered for level 6
[    2.620000] md: raid5 personality registered for level 5
[    2.620000] md: raid4 personality registered for level 4
[    2.630000] raid5: measuring checksumming speed
[    2.680000]    arm4regs  :  1084.000 MB/sec
[    2.730000]    8regs     :   754.800 MB/sec
[    2.780000]    32regs    :   899.600 MB/sec
[    2.780000] raid5: using function: arm4regs (1084.000 MB/sec)
[    2.790000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
[    2.790000] dm_crypt using the OCF package.
[    2.800000] sdhci: Secure Digital Host Controller Interface driver
[    2.800000] sdhci: Copyright(c) Pierre Ossman
[    2.810000] usbcore: registered new interface driver usbhid
[    2.810000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    2.820000] TCP cubic registered
[    2.820000] NET: Registered protocol family 1
[    2.830000] NET: Registered protocol family 17
[    2.830000] md: Autodetecting RAID arrays.
[    2.840000] md: autorun ...
[    2.840000] md: ... autorun DONE.
[    3.980000] Empty flash at 0x009ac208 ends at 0x009ac800
[    6.300000] jffs2_scan_dirent_node(): Node CRC failed on node at 0x012ddff0: Read 0xffffffff, calculated 0xc5be2d45
[    6.310000] Empty flash at 0x012de024 ends at 0x012de800
[    9.210000] VFS: Mounted root (jffs2 filesystem) readonly.
[    9.220000] Freeing init memory: 124K
init started: BusyBox v1.7.0 (2008-02-26 19:25:17 IST)
starting pid 267, tty '': '/etc/init.d/rcS'
[   11.450000] eth0: link down
[   11.450000] eth0: started
udhcpc (v1.7.0) started
HWADDR 00 0x25 0x31 0x04 0x7b 0x64
PIP0 123
PIP1 100
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...
[   13.770000] eth0: link up, full duplex, speed 1 Gbps
Sending discover...
Sending select for 192.168.86.109...
Lease of 192.168.86.109 obtained, lease time 86400
HWADDR 00 0x25 0x31 0x04 0x7b 0x64
PIP0 123
PIP1 100
route: SIOCDELRT: No such process
starting pid 378, tty '': '/bin/sh'
-sh-4.3#

Yay!

reboot

The system is going down NOW!
Sending SIGTERM to all processes
logout
Sending SIGKILL to all processes
Requesting system reboot
[  170.240000] md: stopping all md devices.
[  171.240000] Restarting system.
[  171.240000] Reseting !! 


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

no USB devices available
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide
Unknown command 'ide' - try 'help'
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
** Bad device usb 0 **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2010-10-19  23:05:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1979140 Bytes = 1.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux............................................................................................................................ done, booting the kernel.

It just hangs there.

I am REALLY sorry if you are telling something to do and I am too thick in the head but I really can't understand why it works when I type those commands and it works but when I reboot it is screwed up. The changes I made and saveenv are persistent.

This is all being done without the usb. The usb works perfectly.

### EDIT

Do I need to setup rescue like in the other thread? I wasn't sure it works for E02.



Edited 1 time(s). Last edit at 07/29/2016 01:55AM by feas.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 29, 2016 04:53AM
feas,

> I am REALLY sorry if you are telling something to
> do and I am too thick in the head but I really
> can't understand why it works when I type those
> commands and it works but when I reboot it is
> screwed up. The changes I made and saveenv are
> persistent.
>

No, you did exactly what you should. My previous bootcmd was not enough to make it fall back :) This bootcmd that I've scripted in the default envs never had stock booting consideration. So we are testing as we go here.

Try this: reboot, interrupt serial console and
setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; if run bootcmd_exec; then echo Booting with $bootdev ... ; else run pogo_bootcmd; fi; reset
boot

If this works, try booting back to USB rootfs for sanity, and then repeat this at least once before saveenv again (to commit this new bootcmd for real).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 29, 2016 05:48AM
Need some rest before i give it a go. will let you know and thanks
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 03:57PM
So if I was not being a pain before this will ensure it.

I tried to compile the 2.8.2 rescue but there were problems with making it so I did not load it and went back to Bodhi's http://forum.doozan.com/read.php?3,12381 and had problems again. I am not sure if I have a problem with the serial connection not being secure enough and caused the file to become corrupt but this is what I get. I am not sure which file I need to and which address to write it to from tftpboot.

Any takers?

CE>> reset


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

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

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

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

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

Streaming disabled 
Write allocate disabled


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

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

Reading data from 0x2ff800 -- 100% complete.
 2097152 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-3.3.2-kirkwide
   Created:      2012-10-29  22:52:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3627768 Bytes =  3.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
CE>> 
 I think I am finished with trying to get the device to boot without the usb and hope I can just get it to work again with the usb.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 04:14PM
feas,

I would suggest that you use Jeff's V2 rescue system. You're trying to make something works, but the author is no longer supporting it. It will be more works than really neccessary.

Rescue system is something you would expect it to be rarely used. The best use for it if it would never run at all :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 04:16PM
Now, if you still have problem booting with the new u-boot and USB, then power up, capture serial console and post the log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 04:22PM
What I posted is what I get usb or not. So I think I need to tftpboot the files to nand from uboot to fix the corrupt image. I do not get a shell or login prompt.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 04:30PM
feas Wrote:
-------------------------------------------------------
> What I posted is what I get usb or not. So I think
> I need to tftpboot the files to nand from uboot to
> fix the corrupt image. I do not get a shell or
> login prompt.

You meant now it boots into the stock u-boot right away without you doing anything?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 04:36PM
yes

I can load to the kwb file to 0x800000 but not sure where to load anything else to fix the error for the kernel.
I think all those writes to nand got messed up from going to the 2.82 rescue to v2 and then yours again since nothing was working.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 05:22PM
You need to slow down a bit. Hacking should be done leisurely :)

Rescue system is not important when you have serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 05:42PM
Ok so do you have a log of what you did?

Was some nand.e and/or nand.w commands executed, and the stock u-boot was written back to mtd0 by mistake?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 05:42PM
I understand but it is not like I am trying to see what things do willy nilly.
I am just following the guides to get the system upgraded.
Even my serial interface seems to be flaky at times. I type printenv and it will say "Unknown command 'printenv' - try 'help'"

I will just keep googling if I can find the address to load the files to from nand.

May want to unpin the unsupported threads. I read the logs from the make and there are problems with the options and other things I suspect from newer versions of software that have changed options.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 06:09PM
bodhi Wrote:
-------------------------------------------------------
> Ok so do you have a log of what you did?

It is all past the history limits.

I left off from:

Quote
Bodhi
Try this: reboot, interrupt serial console and

setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; if run bootcmd_exec; then echo Booting with $bootdev ... ; else run pogo_bootcmd; fi; reset
boot


If this works, try booting back to USB rootfs for sanity, and then repeat this at least once before saveenv again (to commit this new bootcmd for real).

It did not work so I thought I would stop pestering you and decided to do the v 2.8.2 rescue:

http://forum.doozan.com/read.php?4,7915

I did as stated :

Quote

flash_eraseall /dev/mtd1
nandwrite /dev/mtd1 uImage-mtd1.img


flash_eraseall /dev/mtd2
ubiformat /dev/mtd2 -s 512 -f rootfs-mtd2.img -y

and then proceded to build it. It failed and you suggested that I run v2 instead.

http://forum.doozan.com/read.php?4,3896

I could not get ubanize to work even though it is in /usr/sbin.

I then decided to redo your 2016 uboot again http://forum.doozan.com/read.php?3,12381 which had me

nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0

you know the routine.

I did this all without rebooting the plug as I was afraid it would break since the previous ones did not work.

when I finished it was like this. I changed the ip's and eth to work with tftpboot and currently have uploaded "uboot.2016.05-tld-1.pogo_e02.mtd0.kwb"

It would seem to me that one of the previous flashings from the uboot recoveries had issues.

I think that if I can load the files needed from uboot with tftpboot it may fix the current kernel error and perhaps get me somewhere.


>
> Was some nand.e and/or nand.w commands executed,
> and the stock u-boot was written back to mtd0 by
> mistake?

I copied and pasted from the instructions so I am confident that there were no typos in the process.

I am pretty frustrated myself and just considering getting another instead of wasting everyones time.

Just thought if I knew what files get flashed at what address in nand it may get me to place I can continue getting the usb to work.

I am not even thinking of flashing to the newest kernel because the unbelievable issues I have been having.
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 06:32PM
Ok. Let's power up with a USB drive attached (any drive that was formatted as Ext2/Ext3), interrupt serial console, and

printenv
usb start

If you can see the USB drive here from the "usb start" above, then do

ext2ls usb 0:1 /

If you can see the directory listing, then you can boot the new Debian 4.4 rootfs. And once you are in Debian, you can reflash the new u-boot to mtd0 easily.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 06:40PM
This u-boot doesn't have usb commands like the other did.

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

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

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

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

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:0.1

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>> c
Unknown command 'c' - try 'help'
CE>> c
Unknown command 'c' - try 'help'
CE>> <INTERRUPT>
CE>> 
CE>> <INTERRUPT>
CE>> 
CE>> <INTERRUPT>
CE>> 
CE>> <INTERRUPT>
CE>> ?
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name 
bootm   - boot application image from memory
bootp	- boot image via network using BootP/TFTP protocol
bubt	- Burn an image on the Boot Nand Flash.
chpart	- change active partition
cmp     - memory compare
cmpm	- Compare Memory
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk	- Display the MV device CLKs.
dhcp	- invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fi	- Find value in the memory.
flinfo  - print FLASH memory information
fsinfo	- print information about filesystems
fsload	- load binary file from a filesystem image
g	- start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir	- reading and changing MV internal register values.
loop    - infinite loop on address range
ls	- list files in a directory (default /)
map	- Diasplay address decode windows
md      - memory display
me	- PCI master enable
mm      - memory modify (auto-incrementing)
mp	- map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mv_diag - perform board diagnostics
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt	- Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead	- Read PCI-E Phy register
pciePhyWrite	- Write PCI-E Phy register
phyRead	- Read Phy register
phyWrite	- Write Phy register
ping	- send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv	- Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se	- PCI Slave enable
setenv  - set environment variables
sflash	- read, write or erase the external SPI Flash.
sg	- scanning the PHYs status
sp	- Scan PCI bus.
tftpboot- boot image via network using TFTP protocol
version - print monitor version
CE>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x200000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
ceboardver=REDSTONE:0.1
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
filesize=80000
fileaddr=800000
netmask=255.255.0.0
ipaddr=192.168.86.109
serverip=192.168.86.110
ethaddr=00:25:31:04:7B:64
bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
arcNumber=9
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
bootdelay=3
disaMvPnp=no

Environment size: 802/131068 bytes
CE>> 

Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 06:53PM
You already have the Debian 4.4 rootfs. You can try tftp the kernel files.

- Copy the uImage and uInitrd from that rootfs to the tftproot (of the one executing serial console). Setenv ipaddr and serverip (to your local network specifics), and load the images.

setenv ipaddr 192.168.0.xxx
setenv serverip 192.168.0.yyy
setenv bootargs 'console=ttyS0,115200 root=/dev/sda1 rootdelay=10'
tftpboot 0x800000 uImage
tftpboot 0x1100000 uInitrd
bootm 0x800000 0x1100000

See if we will get anywhere. Once the kernel starts, USB will be available so the rootfs should be mountable.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Broke my E02 updating "2016.05 U-Boot Kirkwood - PogoE02"
July 30, 2016 07:53PM
Had to play with the setenv variables as I got various errors but I am in as root now.

So do I redo your uboot http://forum.doozan.com/read.php?3,12381 again?
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: