Welcome! Log In Create A New Profile

Advanced

Problem booting Pogo v4

Posted by Strix 
Strix
Problem booting Pogo v4
December 14, 2016 11:07PM
Hey Bodhi,

I recently found my lost Pogoplug 4 and managed to mess up upgrading it from 3.18.5 to the latest 4.8. I tried to roll back my changes but booting is stuck at starting the kernel regardless of which one I try to use.

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

MMC rescan: current device # 0 initialized OK
3229040 bytes read in 1508 ms (2 MiB/s)
6533854 bytes read in 1915 ms (3.3 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.0-kirkwood-tld-1
   Created:      2016-12-14  21:13:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3228976 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.0-kirkwood-tld-1
   Created:      2016-12-14  21:13:15 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6533790 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK


Starting kernel ...


I've upgraded uboot during my troubleshooting and noticed that my /proc/mtd has two uImage lines. I'm not sure if this is the problem but I also don't know how to remove the uImage2 line to actually troubleshoot it.
~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00300000 00020000 "uImage"
mtd2: 00300000 00020000 "uImage2"
mtd3: 00800000 00020000 "failsafe"
mtd4: 07000000 00020000 "root"

Any insights as to why my Pogoplug is getting stuck starting the kernel will be appreciated.

Thanks,
Strix



Edited 1 time(s). Last edit at 12/15/2016 12:19AM by bodhi.
Re: Problem booting Pogo v4
December 15, 2016 12:32AM
Strix,

Boot again. Interrupt netconsole and
printenv
and then
boot

Post the entire log here.

That uImage2 is not relevant. As a matter of fact, only mtd0 is used (where u-boot is), the other mtds are not used at all.

Your SD card rootfs, even messed up, has valid kernel files. That got you to the "Starting kernel ...." point. After that netconsole will not show anything (unless you have booted into Debian and set it up further).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Strix
Re: Problem booting Pogo v4
December 15, 2016 11:24AM
Hi Bodhi,

When I interrupt netconsole, no commands seem to work. Typing printenv and hitting enter didn't print anything. Netconsole seems to only be interrupted by the enter key. Using other keys didn't stop the countdown.

Since you pointed out that netconsole stops at "Starting kernel" I tried to see if rolling back my kernel to 3.18.5 worked and it did. I then followed the steps for installing 4.8.3 (I noticed I had grabbed the 4.8.0 kernel before). Before I rebooted I got the printenv in case the boot failed.
root@pogo:/boot# fw_printenv
baudrate=115200
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtdids=nand0=orion_nand
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
ethaddr=00:25:31:05:26:e9
arcNumber=3960
machid=F78
usb_rootfstype=ext3
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
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
bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x800000 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset
serverip=192.168.1.22
ipaddr=192.168.1.20
load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
Re: Problem booting Pogo v4
December 15, 2016 07:50PM
Strix Wrote:
-------------------------------------------------------
> Hi Bodhi,
>
> When I interrupt netconsole, no commands seem to
> work. Typing printenv and hitting enter didn't
> print anything. Netconsole seems to only be
> interrupted by the enter key. Using other keys
> didn't stop the countdown.
>
> Since you pointed out that netconsole stops at
> "Starting kernel" I tried to see if rolling back
> my kernel to 3.18.5 worked and it did. I then
> followed the steps for installing 4.8.3 (I noticed
> I had grabbed the 4.8.0 kernel before). Before I
> rebooted I got the printenv in case the boot
> failed.
>
> root@pogo:/boot# fw_printenv
> baudrate=115200
> bootcmd_mmc=run mmc_init; run set_bootargs_mmc;
> run mmc_boot
> bootcmd_sata=run sata_init; run set_bootargs_sata;
> run sata_boot;
> bootcmd_usb=run usb_init; run set_bootargs_usb;
> run usb_boot;
> bootdelay=10
> console=ttyS0,115200
> device=0:1
> ethact=egiga0
> led_error=orange blinking
> led_exit=green off
> led_init=green blinking
> mainlineLinux=yes
> mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if
> run mmc_load_uinitrd; then bootm 0x800000
> 0x1100000; else bootm 0x800000; fi
> mmc_init=mmc rescan
> mmc_load_uimage=ext2load mmc $device 0x800000
> /boot/uImage
> mmc_load_uinitrd=ext2load mmc $device 0x1100000
> /boot/uInitrd
> mmc_root=/dev/mmcblk0p1
> mtdids=nand0=orion_nand
> partition=nand0,2
> preboot_nc=run if_netconsole start_netconsole
> rootdelay=10
> rootfstype=ext3
> sata_boot=mw 0x800000 0 1; run sata_load_uimage;
> if run sata_load_uinitrd; then bootm 0x800000
> 0x1100000; else bootm 0x800000; fi
> sata_init=ide reset
> sata_load_uimage=ext2load ide $device 0x800000
> /boot/uImage
> sata_load_uinitrd=ext2load ide $device 0x1100000
> /boot/uInitrd
> sata_root=/dev/sda1
> set_bootargs_mmc=setenv bootargs console=$console
> root=$mmc_root rootdelay=$rootdelay
> rootfstype=$rootfstype $mtdparts
> set_bootargs_sata=setenv bootargs console=$console
> root=$sata_root rootdelay=$rootdelay
> rootfstype=$rootfstype $mtdparts
> set_bootargs_usb=setenv bootargs console=$console
> root=$usb_root rootdelay=$rootdelay
> rootfstype=$rootfstype $mtdparts
> stderr=serial
> stdin=serial
> stdout=serial
> usb_init=usb start
> usb_load_uimage=ext2load usb $device 0x800000
> /boot/uImage
> usb_load_uinitrd=ext2load usb $device 0x1100000
> /boot/uInitrd
> usb_root=/dev/sda1
> ethaddr=00:25:31:05:26:e9
> arcNumber=3960
> machid=F78
> usb_rootfstype=ext3
> mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage)
> ,3M(uImage2),8M(failsafe),112M(root)
> 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
> bootcmd_pogo=if ubi part root 2048 && ubifsmount
> ubi:rootfs && ubifsload 0x800000
> uboot.mtd0.dockstar.original.kwb ; then go
> 0x800200; fi
> bootcmd=run bootcmd_mmc; run bootcmd_usb; run
> bootcmd_sata; run bootcmd_pogo; reset
> serverip=192.168.1.22
> ipaddr=192.168.1.20
> load_dtb=ext2load usb 0:1 0x1c00000
> /boot/dts/kirkwood-pogoplug_v4.dtb
> load_initrd=ext2load usb 0:1 0x1100000
> /boot/uInitrd
> load_uimage=ext2load usb 0:1 0x800000
> /boot/uImage
> usb_boot=run load_dtb; run load_uimage; if run
> load_initrd; then bootm 0x800000 0x1100000
> 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
>

While 3.18.5 was running live, when you installed kernel 4.8.3, did you append the DTB to uImage? You should not. Your uboot envs boots with separate DTB.

It not sure, mount this USB rootfs drive on another Linux box, and check:

ls -lart /media/sdb1/boot

(If the usb was mounted as sdb1, it not then adjust the above command to use that drive letter).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 09:34AM
I did not append the DTB, I followed step 4a and then step 5.

I'm using an SD card rootfs.

`--> ls -lart
total 51508
drwxr-xr-x 23 root root     4096 Dec 31  1969 ..
-rw-r--r--  1 root root   146396 Oct 21 01:38 config-4.8.3-kirkwood-tld-1
-rwxr-xr-x  1 root root  3232304 Oct 21 02:34 zImage-4.8.3-kirkwood-tld-1
-rw-------  1 root root  3232304 Oct 21 05:30 vmlinuz-4.8.3-kirkwood-tld-1
-rw-------  1 root root  2361548 Oct 21 05:30 System.map-4.8.3-kirkwood-tld-1
-rw-r--r--  1 root root 17941540 Oct 21 05:36 linux-image-4.8.3-kirkwood-tld-1_1.0_armel.deb
-rw-r--r--  1 root root  8006718 Oct 21 05:51 linux-headers-4.8.3-kirkwood-tld-1_1.0_armel.deb
drwxr-xr-x  2 root root     4096 Oct 23 04:51 dts
-rw-r--r--  1 root root  1249280 Oct 23 04:52 linux-dtb-4.8.3-kirkwood-tld-1.tar
-rw-r--r--  1 root root   144044 Oct 24 04:06 linux-4.8.3-kirkwood-tld-1.patch
-rw-r--r--  1 root root  6533634 Dec 15 10:52 initrd.img-4.8.3-kirkwood-tld-1
-rw-r--r--  1 root root  3232368 Dec 15 11:00 uImage
drwxr-xr-x  3 root root     4096 Dec 15 11:00 .
-rw-r--r--  1 root root  6533698 Dec 15 11:00 uInitrd

Here's my previous working /boot/
# ls -lart 2016-12-14_3.18.5/
total 54148
-rwxr-xr-x 1 root root  2865600 Feb  5  2015 zImage-3.18.5-kirkwood-tld-1
drwxr-xr-x 2 root root     4096 Feb  5  2015 dts
-rw-r--r-- 1 root root  2019506 Feb  6  2015 System.map-3.18.5-kirkwood-tld-1
-rw-r--r-- 1 root root   131204 Feb  6  2015 config-3.18.5-kirkwood-tld-1
-rwxr-xr-x 1 root root  2865600 Feb  6  2015 vmlinuz-3.18.5-kirkwood-tld-1
-rw-r--r-- 1 root root  9460784 Feb  6  2015 linux-headers-3.18.5-kirkwood-tld-1_1_armel.deb
-rw-r--r-- 1 root root 22657488 Feb  6  2015 linux-image-3.18.5-kirkwood-tld-1_1_armel.deb
-rw-r--r-- 1 root root    99452 Feb  7  2015 linux-3.18.5-kirkwood-tld-1.patch
-rw-r--r-- 1 root root  2875692 Aug  1  2015 uImage
-rw-r--r-- 1 root root  6170331 Aug  1  2015 uInitrd
-rw-r--r-- 1 root root  6170268 Aug  1  2015 initrd.img-3.18.5-kirkwood-tld-1
drwxr-xr-x 3 root root     4096 Dec 14 15:56 .
drwxr-xr-x 6 root root     4096 Dec 16 09:28 ..
Re: Problem booting Pogo v4
December 16, 2016 03:32PM
Strix,

I see. This is the problem: you did not flash the new default envs image (the new default envs have everything loaded automatically). So you envs are still old. And the set of old envs did not load the DTB.

bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset

Your USB envs looks OK.

bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset
load_dtb=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
usb_init=usb start
usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi

If you can't interrupt netconsole to fix the mmc-related envs, you can prepare the USB rootfs and boot with it. And then flash the default envs following the instruction in step 8:

Quote

8. Flashing default u-boot envs image:

As described in step 1, u-boot envs must be defined in etc/fw_env.config as

# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

A special section (B. Flashing default u-boot envs image) about flashing default u-boot envs is included at the end of this installation procedure. Please follow the instruction in this section B to perform this step before continuing with step 9.


However, netconsole input problem still need to be solved. Since you don't have serial console, this is crucial to have in case you ever have messed up the u-boot envs too much.

Netconsole is a little tricky. Here is the format of the nc command I usually run from another Kirkwood box (if you use Linux laptop/desktop with Ubuntu or other distro, its nc might have different syntax):
nc -lup 6666 192.168.1.20 6666

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 03:42PM
So I need to remove the mmc related envs?

I was running netconsole from a linux box from a cygwin terminal so maybe that's why the interrupt won't work, I'm going to try it again from a linux terminal instead.
Re: Problem booting Pogo v4
December 16, 2016 03:49PM
Strix,

> So I need to remove the mmc related envs?

No need to. They can still be set, but will not be executed. Remove the SD card. And plug in the USB rootfs.

>
> I was running netconsole from a linux box from a
> cygwin terminal so maybe that's why the interrupt
> won't work, I'm going to try it again from a linux
> terminal instead.

Yes. This would be best. If you want to do this and fix mmc envs on-the-fly then a few envs need to be added/modified temporarily at the prompt (it wont hurt if you do not run saveenv)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 04:14PM
I don't have a USB rootfs, my setup was with an SD card rootfs. Will this be configurable to boot using the SD card?

I think the nc issue is with my distro nc. Using the command above gives a "Cannot assign requested address error". I was using the other nc method by running:
nc -l -u -p 6666 &
nc -u 192.168.1.20 6666
Re: Problem booting Pogo v4
December 16, 2016 06:09PM
Strix Wrote:
-------------------------------------------------------
> I don't have a USB rootfs, my setup was with an SD
> card rootfs. Will this be configurable to boot
> using the SD card?

Of course it can be. But you need netconsole or serial console to do that. So without either, you need to create a USB rootfs to boot with and fix it after.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 06:42PM
bodhi Wrote:
-------------------------------------------------------
> Strix Wrote:
> --------------------------------------------------
> -----
> > I don't have a USB rootfs, my setup was with an
> SD
> > card rootfs. Will this be configurable to boot
> > using the SD card?
>
> Of course it can be. But you need netconsole or
> serial console to do that. So without either, you
> need to create a USB rootfs to boot with and fix
> it after.

On 2nd thought, there is a different way. Easier.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 06:59PM
Could I just rollback my kernel to boot into 3.18 and fix it as part of the upgrade to 4.8.3?
Re: Problem booting Pogo v4
December 16, 2016 07:48PM
Strix Wrote:
-------------------------------------------------------
> Could I just rollback my kernel to boot into 3.18
> and fix it as part of the upgrade to 4.8.3?

Of course. If you can boot 3.18.5 Debian rootfs, then in Debian, flash the default envs image that comes with u-boot-2016.05-tld-1 (and adjust the envs to your box using the instruction).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 16, 2016 10:07PM
I found the problem I was having with nc was it was the openbsd version which doesn't allow the use of the 'l' and 'p' flags together.

I think I messed up the mtdparts setting by accidentally setting it to:
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
instead of:
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)

Device won't boot at all now.

Here's the whole printenv before I rebooted
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
led_error=orange blinking
led_exit=green off
led_init=green blinking
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
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=3960
machid=f78
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
ethaddr=00:25:31:05:26:e9
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
serverip=192.168.1.22
ipaddr=192.168.1.20
Re: Problem booting Pogo v4
December 16, 2016 11:53PM
Strix Wrote:
-------------------------------------------------------
> I found the problem I was having with nc was it
> was the openbsd version which doesn't allow the
> use of the 'l' and 'p' flags together.
>
> I think I messed up the mtdparts setting by
> accidentally setting it to:
>
> mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImag
> e2),8M(failsafe),112M(root)
>
> instead of:
>
> mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage)
> ,3M(uImage2),8M(failsafe),112M(root)
>
>
> Device won't boot at all now.
>
> Here's the whole printenv before I rebooted
>
> 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
> led_error=orange blinking
> led_exit=green off
> led_init=green blinking
> 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
> 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=3960
> machid=f78
> mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImag
> e2),8M(failsafe),112M(root)
> ethaddr=00:25:31:05:26:e9
> dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
> serverip=192.168.1.22
> ipaddr=192.168.1.20
>

The mtdparts env will not affect booting at all. And your envs look fine.

Please post your netconsole log here.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 18, 2016 01:28PM
Netconsole isn't getting anything from the pogo. The light on the front of the device isn't lighting up at all either.
Re: Problem booting Pogo v4
December 18, 2016 04:18PM
Strix Wrote:
-------------------------------------------------------
> Netconsole isn't getting anything from the pogo.
> The light on the front of the device isn't
> lighting up at all either.

When you recycle the power, does the LED light flash and then went out? or no light at all the whole time?

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 18, 2016 05:05PM
None at all the whole time
Re: Problem booting Pogo v4
December 18, 2016 05:56PM
Strix,

Ok then, you will need to connect serial console to fix this. If the LED does not flash at all, it is a symptom of u-boot image on mtd0 was messed up. Do you have a log of what you did? pls post here.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 19, 2016 01:37PM
Hi Bodhi,

I thought you might say that. Ok, is there a serial cable I can order on amazon that I can use? Or a cable you recommend?
If you have a link to instructions for how to connect to the pogo serial that would be very helpful.

Here's the log of commands I did last.
Linux pogo 3.18.5-kirkwood-tld-1 #1 PREEMPT Thu Feb 5 17:58:07 PST 2015 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Dec 16 18:08:14 2016 from 192.168.1.22
root@pogo:~# flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 -- 100 % complete

root@pogo:~# wget "https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar#";
--2016-12-16 18:24:30--  https://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|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.dropboxusercontent.com/content_link/3ONi3bNB7SPOnKRvR3iMkffmFQ1kCbQAVvPcmOwivJP4PLuB8XG24PCxgKtBKPY9/file [following]
--2016-12-16 18:24:35--  https://dl.dropboxusercontent.com/content_link/3ONi3bNB7SPOnKRvR3iMkffmFQ1kCbQAVvPcmOwivJP4PLuB8XG24PCxgKtBKPY9/file
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 45.58.74.5
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|45.58.74.5|: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'

100%[========================================================>] 204,800     --.-K/s   in 0.08s

2016-12-16 18:24:41 (2.55 MB/s) - `uboot.2016.05-tld-1.environment.bodhi.tar' saved [204800/204800]

root@pogo:~# ls
1gb.swap                                  myip.get
git                                       original_DNS
kernel_backups                            pihole-installer.sh
linux-4.8.3-kirkwood-tld-1-bodhi.tar.bz2  uboot
linux-tools-installation-bodhi.tar.gz     uboot.2016.05-tld-1.environment.bodhi.tar
root@pogo:~# mv uboot.2016.05-tld-1.environment.bodhi.tar uboot
root@pogo:~# cd uboot/
root@pogo:~/uboot# ls
uboot.2016.05-tld-1.environment.bodhi.tar  uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
uboot.2016.05-tld-1.pogo_v4.bodhi.tar
root@pogo:~/uboot# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
root@pogo:~/uboot# ls -thor
total 1.5M
-rw-r--r-- 1 root 2.8K Jun 11  2016 uboot.2016.05-tld-1.environment
-rw-r----- 1 root 128K Jun 11  2016 uboot.2016.05-tld-1.environment.img
-rw-r----- 1 root  64K Jun 11  2016 uboot.2016.05-tld-1.environment.64K.img
-rw-r--r-- 1 root 512K Jun 12  2016 uboot.2016.05-tld-1.pogo_v4.mtd0.kwb
-rw-r--r-- 1 root 520K Dec 16 17:34 uboot.2016.05-tld-1.pogo_v4.bodhi.tar
-rw-r--r-- 1 root 200K Dec 16 18:24 uboot.2016.05-tld-1.environment.bodhi.tar
root@pogo:~/uboot# md5sum uboot.2016.05-tld-1.environment*tar
3823eef10011b864859d31a76470e0e3  uboot.2016.05-tld-1.environment.bodhi.tar
root@pogo:~/uboot# flash_erase /dev/mtd0 0xc0000 1
Erasing 128 Kibyte @ c0000 -- 100 % complete
root@pogo:~/uboot# nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
Writing data to block 6 at offset 0xc0000
root@pogo:~/uboot# fw_setenv arcNumber 3960
root@pogo:~/uboot# fw_setenv machid f78
root@pogo:~/uboot# cd ..
root@pogo:~# fw_setenv mtdparts 'orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)'
root@pogo:~# fw_setenv ethaddr '00:25:31:05:26:e9'
root@pogo:~# ls /boot/dts/kirkwood-pogoplug_v4.dtb
/boot/dts/kirkwood-pogoplug_v4.dtb
root@pogo:~# fw_setenv dtb_file '/boot/dts/kirkwood-pogoplug_v4.dtb'
root@pogo:~# 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
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=3960
machid=f78
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
ethaddr=00:25:31:05:26:e9
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
root@pogo:~# fw_setenv serverip '192.168.1.22'
root@pogo:~# fw_setenv ipaddr '192.168.1.20'
root@pogo:~# cd kernel_backups/
root@pogo:~/kernel_backups# ls new_kernel/
System.map-4.8.3-kirkwood-tld-1     linux-headers-4.8.3-kirkwood-tld-1_1.0_armel.deb
config-4.8.3-kirkwood-tld-1         linux-image-4.8.3-kirkwood-tld-1_1.0_armel.deb
dts                                 uImage
initrd.img-4.8.3-kirkwood-tld-1     uInitrd
linux-4.8.3-kirkwood-tld-1.patch    vmlinuz-4.8.3-kirkwood-tld-1
linux-dtb-4.8.3-kirkwood-tld-1.tar  zImage-4.8.3-kirkwood-tld-1
root@pogo:~/kernel_backups# rm -rf /boot/*
root@pogo:~/kernel_backups# ls /boot/
root@pogo:~/kernel_backups# ls *
2015-08-01_3.14.0:
System.map-3.14.0-kirkwood-tld-1  initrd.img-3.14.0-kirkwood-tld-1  uInitrd3.14
config-3.14.0-kirkwood-tld-1      uImage3.14                        vmlinuz-3.14.0-kirkwood-tld-1

2016-12-14_backup:
System.map-3.18.5-kirkwood-tld-1                 linux-image-3.18.5-kirkwood-tld-1_1_armel.deb
config-3.18.5-kirkwood-tld-1                     uImage
dts                                              uInitrd
initrd.img-3.18.5-kirkwood-tld-1                 vmlinuz-3.18.5-kirkwood-tld-1
linux-3.18.5-kirkwood-tld-1.patch                zImage-3.18.5-kirkwood-tld-1
linux-headers-3.18.5-kirkwood-tld-1_1_armel.deb

2016-12-15_3.18.5:
System.map-3.18.5-kirkwood-tld-1                 linux-image-3.18.5-kirkwood-tld-1_1_armel.deb
config-3.18.5-kirkwood-tld-1                     uImage
dts                                              uInitrd
initrd.img-3.18.5-kirkwood-tld-1                 vmlinuz-3.18.5-kirkwood-tld-1
linux-3.18.5-kirkwood-tld-1.patch                zImage-3.18.5-kirkwood-tld-1
linux-headers-3.18.5-kirkwood-tld-1_1_armel.deb

new_kernel:
System.map-4.8.3-kirkwood-tld-1     linux-headers-4.8.3-kirkwood-tld-1_1.0_armel.deb
config-4.8.3-kirkwood-tld-1         linux-image-4.8.3-kirkwood-tld-1_1.0_armel.deb
dts                                 uImage
initrd.img-4.8.3-kirkwood-tld-1     uInitrd
linux-4.8.3-kirkwood-tld-1.patch    vmlinuz-4.8.3-kirkwood-tld-1
linux-dtb-4.8.3-kirkwood-tld-1.tar  zImage-4.8.3-kirkwood-tld-1
root@pogo:~/kernel_backups# cp -r new_kernel/* /boot
root@pogo:~/kernel_backups# 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
led_error=orange blinking
led_exit=green off
led_init=green blinking
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
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=3960
machid=f78
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
ethaddr=00:25:31:05:26:e9
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
serverip=192.168.1.22
ipaddr=192.168.1.20
root@pogo:~/kernel_backups# reboot

Broadcast message from root@pogo (pts/0) (Fri Dec 16 18:48:24 2016):

The system is going down for reboot NOW!
Re: Problem booting Pogo v4
December 19, 2016 02:05PM
Strix,

It's in the Wiki thread
http://forum.doozan.com/read.php?2,23630


Quote

Serial Console & JTAG console

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

In the bold thread my post:
http://forum.doozan.com/read.php?8,13263,13264#msg-13264

The hook up is similar for all plugs. I'll post the serial pin-outs when you have the part.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
December 19, 2016 02:22PM
Re: Problem booting Pogo v4
December 19, 2016 02:28PM
http://www.ebay.com/itm/371046646242

I have extra ribbon cables similar to this: https://goo.gl/c4eZo8
Can I use them in place of getting the "Micro Mini.JST 2.0 PH 4-Pin Connector"?
Re: Problem booting Pogo v4
December 20, 2016 12:41AM
Strix Wrote:
-------------------------------------------------------
> http://www.ebay.com/itm/371046646242
>
> I have extra ribbon cables similar to this:
> https://goo.gl/c4eZo8
> Can I use them in place of getting the "Micro
> Mini.JST 2.0 PH 4-Pin Connector"?

You need to either:

1. solder the JST header into the board,

2. or use some sharp pins (such ones used in shirts box) to temporarily connect to the solder buttons on the board (they are soft enough that you can push the pins in).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
January 03, 2017 12:53PM
Hi bodhi,

USB serial part came.

What's next?
Re: Problem booting Pogo v4
January 03, 2017 02:26PM
Strix Wrote:
-------------------------------------------------------
> Hi bodhi,
>
> USB serial part came.
>
> What's next?


Get the latest Pogo V4 u-boot from this thread:
http://forum.doozan.com/read.php?3,12381

And set up UART booting using kwboot.


Quote

Important Note: If possible, try to test this boot image with UART booting before flashing to NAND. See davygravy's UART booting using kwboot instruction here in this thread. The latest u-boot image released here should be used for UART booting, if your box is the type that supports it (these do not: Dockstar, Pogo E02, iConnect).

To download ARM kwboot binary for UART booting at Dropbox

kwboot-2016.05.tar
md5:
76977c5a61544a5707dfa17ae832a3ad
sha256:
25ee4fa8a94372d2d398cac4704e9ee3ca87585c29e72e18323209b7f163209d

Once you can kwboot and run u-boot, you can boot into your current Debian rootfs on SD card. You will need to modify some u-boot envs at u-boot console before it will boot. But let's get that kwboot running and we'll go from there.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
January 04, 2017 05:56PM
Ok I got the system booted via kwboot.

Do you need any of the output?
Re: Problem booting Pogo v4
January 04, 2017 09:28PM
Strix Wrote:
-------------------------------------------------------
> Ok I got the system booted via kwboot.
>
> Do you need any of the output?

Of course, the best way for me to help is the log of what you have (without that, it will take time rereading many posts about where you are).

Boot with kwboot, interrupt at count down and get the listing of envs at the prompt.
printenv
And then please post the entire serial console log.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Problem booting Pogo v4
January 05, 2017 01:02PM
Envs listing
Pogov4> printenv
arcNumber=3960
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-pogoplug_v4.dtb
ethact=egiga0
ethaddr=00:25:31:05:26:e9
if_netconsole=ping $serverip
ipaddr=192.168.1.20
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
machid=f78
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
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.1.22
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=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: 2866/131068 bytes


Boot log
Pogov4> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: ide_preinit failed

MMC rescan: current device # 0 initialized OK

no USB devices available

no IDE devices available

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              31117842        00000000-01     83
loading envs from mmc 0 ...
** File not found /boot/uEnv.txt **
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

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device size - ide 0 **
device ide 1:1
** Bad device size - ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc

MMC rescan: current device # 0 initialized OK
device mmc 0:1
1 bytes read in 1117 ms (0 Bytes/s)
Found bootable drive on mmc 0
loading uImage ...
3232368 bytes read in 1508 ms (2 MiB/s)
loading uInitrd ...
6533698 bytes read in 1884 ms (3.3 MiB/s)
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
10266 bytes read in 1819 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      2016-12-15  16:00:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3232304 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      2016-12-15  16:00:53 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6533634 Bytes = 6.2 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 074d3000, end 07b0e202 ... OK
   Loading Device Tree to 074cd000, end 074d2819 ... OK
Using machid 0xf78 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.3-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Pogoplug v4
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 114176K/131072K available (6149K kernel code, 614K rwdata, 1664K rodata, 308K init, 318K bss, 16896K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0609718   (6150 kB)
[    0.000000]       .init : 0xc07dd000 - 0xc082a000   ( 308 kB)
[    0.000000]       .data : 0xc082a000 - 0xc08c391c   ( 615 kB)
[    0.000000]        .bss : 0xc08c391c - 0xc0913170   ( 319 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000015] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000808] Console: colour dummy device 80x30
[    0.000860] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.090139] pid_max: default: 32768 minimum: 301
[    0.090454] Security Framework initialized
[    0.090689] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090723] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092426] CPU: Testing write buffer coherency: ok
[    0.093096] Setting up static identity map for 0x8200 - 0x8258
[    0.093492] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.099767] devtmpfs: initialized
[    0.107975] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.108396] prandom: seed boundary self test passed
[    0.114087] prandom: 100 self tests passed
[    0.114114] pinctrl core: initialized pinctrl subsystem
[    0.116076] NET: Registered protocol family 16
[    0.116848] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140170] cpuidle: using governor ladder
[    0.170167] cpuidle: using governor menu
[    0.170852] Feroceon L2: Enabling L2
[    0.170920] Feroceon L2: Cache support initialised.
[    0.171557] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.179014] No ATAGs?
[    0.212330] vgaarb: loaded
[    0.212860] usbcore: registered new interface driver usbfs
[    0.213006] usbcore: registered new interface driver hub
[    0.213127] usbcore: registered new device driver usb
[    0.214812] clocksource: Switched to clocksource orion_clocksource
[    0.283549] VFS: Disk quotas dquot_6.6.0
[    0.283670] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.300896] NET: Registered protocol family 2
[    0.302166] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.302209] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.302240] TCP: Hash tables configured (established 1024 bind 1024)
[    0.302340] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.302374] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.302637] NET: Registered protocol family 1
[    0.303398] RPC: Registered named UNIX socket transport module.
[    0.303415] RPC: Registered udp transport module.
[    0.303426] RPC: Registered tcp transport module.
[    0.303438] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.303807] Unpacking initramfs...
[    1.165978] Freeing initrd memory: 6384K (c74d3000 - c7b0f000)
[    1.166224] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.167719] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.167787] audit: initializing netlink subsys (disabled)
[    1.167861] audit: type=2000 audit(1.160:1): initialized
[    1.168338] Initialise system trusted keyrings
[    1.168670] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.168771] zbud: loaded
[    1.170126] NFS: Registering the id_resolver key type
[    1.170172] Key type id_resolver registered
[    1.170185] Key type id_legacy registered
[    1.170210] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.170225] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.170616] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.171026] orangefs_init: called with debug mask: :none: :0:
[    1.171613] orangefs: module version upstream loaded
[    1.171993] Key type big_key registered
[    2.554822] random: fast init done
[    7.314332] Key type asymmetric registered
[    7.314357] Asymmetric key parser 'x509' registered
[    7.314483] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    7.314501] io scheduler noop registered
[    7.314513] io scheduler deadline registered
[    7.314563] io scheduler cfq registered (default)
[    7.316069] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 47
[    7.316096] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 49
[    7.316584] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.317966] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    7.318931] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    7.320137] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    7.320166] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    7.320186] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.320207] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.320769] PCI: bus0: Fast back to back transfers disabled
[    7.320804] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.344905] PCI: bus1: Fast back to back transfers disabled
[    7.345128] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.345159] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[    7.345194] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0010000-0xe0010fff 64bit]
[    7.345226] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0011000-0xe0011fff 64bit]
[    7.345254] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.345278] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.345400] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.345537] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.345967] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.405907] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.406245] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.465890] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.466636] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.468686] console [ttyS0] disabled
[    7.468781] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A
[    8.167275] console [ttyS0] enabled
[    8.172513] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    8.178898] nand: Hynix H27U1G8F2BTR-BC
[    8.182720] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.190301] Scanning device for bad blocks
[    8.279242] 5 ofpart partitions found on MTD device orion_nand
[    8.285075] Creating 5 MTD partitions on "orion_nand":
[    8.290198] 0x000000000000-0x000000200000 : "u-boot"
[    8.297305] 0x000000200000-0x000000500000 : "uImage"
[    8.304270] 0x000000500000-0x000000800000 : "uImage2"
[    8.311363] 0x000000800000-0x000001000000 : "failsafe"
[    8.318598] 0x000001000000-0x000008000000 : "root"
[    8.328734] libphy: Fixed MDIO Bus: probed
[    8.333019] libphy: mdio_driver_register: mv88e6085
[    8.338495] libphy: orion_mdio_bus: probed
[    8.351744] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.452959] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:26:e9
[    9.461879] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.468472] ehci-pci: EHCI PCI platform driver
[    9.472994] ehci-orion: EHCI orion driver
[    9.477271] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.482774] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.490705] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    9.524858] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.531158] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.537958] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.545179] usb usb1: Product: EHCI Host Controller
[    9.550044] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd
[    9.556666] usb usb1: SerialNumber: f1050000.ehci
[    9.562431] hub 1-0:1.0: USB hub found
[    9.566310] hub 1-0:1.0: 1 port detected
[    9.571148] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.576479] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    9.585374] xhci_hcd 0000:01:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x00080010
[    9.594097] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    9.600904] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.608130] usb usb2: Product: xHCI Host Controller
[    9.612995] usb usb2: Manufacturer: Linux 4.8.3-kirkwood-tld-1 xhci-hcd
[    9.619612] usb usb2: SerialNumber: 0000:01:00.0
[    9.625376] hub 2-0:1.0: USB hub found
[    9.629164] hub 2-0:1.0: 2 ports detected
[    9.633960] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.639275] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    9.646811] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.655092] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    9.661856] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.669082] usb usb3: Product: xHCI Host Controller
[    9.673941] usb usb3: Manufacturer: Linux 4.8.3-kirkwood-tld-1 xhci-hcd
[    9.681571] usb usb3: SerialNumber: 0000:01:00.0
[    9.687252] hub 3-0:1.0: USB hub found
[    9.691039] hub 3-0:1.0: 2 ports detected
[    9.696615] mousedev: PS/2 mouse device common for all mice
[   10.724859] rtc-mv f1010300.rtc: internal RTC not ticking
[   10.730495] i2c /dev entries driver
[   10.735803] hidraw: raw HID events driver (C) Jiri Kosina
[   10.741852] drop_monitor: Initializing network drop monitor service
[   10.748493] NET: Registered protocol family 17
[   10.753251] Key type dns_resolver registered
[   10.758779] registered taskstats version 1
[   10.762866] Loading compiled-in X.509 certificates
[   10.767757] zswap: loaded using pool lzo/zbud
[   10.806823] Key type encrypted registered
[   10.811660] hctosys: unable to open rtc device (rtc0)
[   10.820243] Freeing unused kernel memory: 308K (c07dd000 - c082a000)
[   10.826750] This architecture does not have kernel memory protection.
Loading, please wait...
[   10.936239] udevd[91]: starting version 175
[   11.522092] SCSI subsystem initialized
[   11.541580] mvsdio f1090000.mvsdio: Got CD GPIO
[   11.641167] mmc0: host does not support reading read-only switch, assuming write-enable
[   11.656828] mmc0: new high speed SDHC card at address 59b4
[   11.666408] sata_mv f1080000.sata: slots 32 ports 1
[   11.704662] scsi host0: sata_mv
[   11.715406] ata1: SATA max UDMA/133 irq 32
[   11.805636] mmcblk0: mmc0:59b4 SL16G 14.8 GiB
[   11.813570]  mmcblk0: p1
[   12.046693] ata1: SATA link down (SStatus 0 SControl F300)
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
[   22.216952] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 subsystem
[   22.237760] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
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[   23.814289] udevd[295]: starting version 175
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] [   24.398389] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Waiting for /dev to be fully populated...[   25.049073] orion_wdt: Initial timeout 25 sec
[   25.155284] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
[   26.624116] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.20.1
rootfs: clean, 63932/972944 files, 1021418/3889730 blocks (check after next mount)
done.
[   27.149096] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp /lib/init/rw.
[....] Activating lvm and md swap...[   33.772532] Adding 1048572k swap on /root/1gb.swap.  Priority:-1 extents:295 across:1238048k SSFS
done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...[   36.343723] NET: Registered protocol family 10
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   37.658001] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Listening on LPF/eth0/00:25:31:05:26:e9
Sending on   LPF/eth0/00:25:31:05:26:e9
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   40.779374] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   40.789248] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.20 -- renewal in 42386 seconds.
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Cannot find device "wlan0"
Failed to bring up wlan0.
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...
1789 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[ ok ] Starting system message bus: dbus.
[FAIL] Not running dhcpcd because /etc/network/interfaces ... failed!
[FAIL] defines some interfaces that will use a DHCP client ... failed!
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting DNS forwarder and DHCP server: dnsmasq.
1792 (klogd)
. ok
No apache MPM package installed
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting web server: lighttpd.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting NTP server: ntpd.
[....] Starting PostgreSQL 9.1 database server: main[   74.591474] postgres (2157): /proc/2157/oom_adj is deprecated, please use /proc/2157/oom_score_adj instead.
. ok
[ ok ] Starting rpcbind daemon...[....] Already running..
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[warn] startpar: service(s) skipped, program is not configured: dhcpcd ... (warning).

Debian GNU/Linux 7 mnemosyne ttyS0

mnemosyne login: [   85.987924] random: crng init done

Re: Problem booting Pogo v4
January 05, 2017 04:11PM
Cool!

Everything is working. So is it kwboot booting (you did not post the entire serial console log)? or have you flashed u-boot and the u-boot envs?

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

Your Email:


Subject:


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