Welcome! Log In Create A New Profile

Advanced

Pogo E02 issue after Debian install

Posted by vibskk 
Pogo E02 issue after Debian install
June 26, 2016 11:55AM
Hi guys,
I need your help on recovering my Pogoplug v4 device.

History of issue: Last year I followed the instructions on link(http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html) and converted the device for Samba. I had used mmc card for running Debian 3.14, It worked flawlessly until last month when mmc couldn't boot and it booted with default pogoplug OS.

I took a new mmc card and redid the complete install. The only change was to make mmc as the first boot option (by changing the statement to /tmp/fw_setenv bootcmd 'run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset')

Now the status is that with mmc inserted, the device boots up with blinking green light for a while then a yellow light for 2-3 secs and then the green light stablizes. However, it wasn't connected to the router(Debian was set for DHCP and i didn't find it in the list of devices connected to router, checked through router as well as fing). WITHOUT mmc or any other USB hdd, the lights order is green blinks for 14-15 seconds then around 10-12 red blinks and it restarts the sequence.

Could you guide on how to debug and resolve it?
Re: Pogo E02 issue after Debian install
June 27, 2016 03:00AM
first thing you will need to do - after checkng your new card is post the output of your envs
also

which debian version are you attempting to use?
which version of uboot do you have currently?



Edited 1 time(s). Last edit at 06/27/2016 03:03AM by Gravelrash.
Re: Pogo E02 issue after Debian install
June 27, 2016 03:20AM
vibskk,
>
> Now the status is that with mmc inserted, the
> device boots up with blinking green light for a
> while then a yellow light for 2-3 secs and then
> the green light stablizes.

This indicated that the kernel has been loaded and running. The problem is with mounting rootfs.

1. You are running u-boot-2014.07, but I'm not sure what your u-boot envs looks like. If you could, post the entire listing of u-boot envs. Did you save it before making this change:

Quote

I took a new mmc card and redid the complete install. The only change was to make mmc as the first boot option (by changing the statement to /tmp/fw_setenv bootcmd 'run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; reset')

2. The "complete install" meaning you installed the latest rootfs here: Latest Kernel and Rootfs. Or which rootfs? Were you "root" user the whole time while you were doing that?

3. You could try to create a new USB rootfs following instruction in the Latest Kernel and Rootfs and try booting with it. It is easier to troubleshoot the MMC drive booting while you are in Debian.

4. Do you have serial console connected? or did you set up netconsole when installing u-boot?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo E02 issue after Debian install
June 27, 2016 07:05AM
1. The env listing I took is pasted below.

/tmp # /tmp/fw_printenv
ipaddr=192.168.0.231
serverip=192.168.0.220
baudrate=115200
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
if_netconsole=ping $serverip
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then boo tm 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=$root delay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$ro otdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$root delay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se tenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then boo tm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1
ethaddr=00:25:31:05:29:50
arcNumber=3960
machid=F78
usb_rootfstype=ext3
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M (root)
/tmp #


2. uboot was : uboot.2014.07-tld-1.pogo_v4.bodhi.tar and as root.

3. Debian-3.14 was put in rootfs while preparing the mmc. Will try with usb tonight.

4. I do not have serial connectors/cable.

What should I try next?
Re: Pogo E02 issue after Debian install
June 27, 2016 09:46PM
An Update:

Debian-3.14 rootfs in USB option didn't work, but using Debian-3.18 rootfs worked to some extent in mmc card. Now I could ssh into it(used putty). The led sequence remains the same (the device boots up with blinking green light for a while then a yellow/orange light for 4-5 secs followed by stable green light.

How should I proceed from here?
Re: Pogo E02 issue after Debian install
June 27, 2016 10:32PM
vibskk Wrote:
-------------------------------------------------------
> An Update:
>
> Debian-3.14 rootfs in USB option didn't work, but
> using Debian-3.18 rootfs worked to some extent in
> mmc card. Now I could ssh into it(used putty).

Then you are back to normal, if you can ssh into it.

> The
> led sequence remains the same (the device boots up
> with blinking green light for a while then a
> yellow/orange light for 4-5 secs followed by
> stable green light.

That how LED should behave.

So what is the remaining issue when you said "rootfs worked to some extent in mmc card"?

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

Your Email:


Subject:


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