Welcome! Log In Create A New Profile

Advanced

Pogoplug v4 restore

Posted by Mark 
Mark
Pogoplug v4 restore
May 09, 2015 06:37PM
Hi,

I am trying to restore a pogoplug v4 device. Managed to get uboot working with UART but no Linux.

Am not sure what I am missing. Tried everything on the forums but I could not find a page where it gives the steps for going from uboot prompt to Linux.

Can you let me know the next steps please.


Thanks.
Re: Pogoplug v4 restore
May 09, 2015 06:52PM
Mark,

1. Create a Debian rootfs on a single Ext3 USB thumb drive using another Linux box. See the latest rootfs here:
http://forum.doozan.com/read.php?2,12096

You can use either rootfs 3.16 or 3.18.5, does not matter. But 3.16 is simpler to create.

2. Plug in the USB drive and boot at u-boot prompt
> boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 restore
May 09, 2015 07:09PM
Bodhi,

You are awesome !! I have been going through all your posts.

I followed the steps. Created USB drive but I get the following messages during boot -

USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
** No partition table - usb 0 **
** No partition table - usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...

------------

The env -

Pogov4> printenv
arcNumber=3960
baudrate=115200
bootcmd=run bootcmd_usb; reset
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
fileaddr=800000
filesize=80000
ipaddr=192.168.1.132
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=f78
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
partition=nand0,2
rootdelay=10
rootfstype=ext2
serverip=192.168.1.104
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdpart
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x8
usb_init=usb start
usb_load_uimage=ext4load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext4load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1

Environment size: 1050/131068 bytes


Thanks !!
Re: Pogoplug v4 restore
May 10, 2015 12:39AM
markra,

> I followed the steps. Created USB drive but I get
> the following messages during boot -
>
> USB0: USB EHCI 1.00
> scanning bus 0 for devices... 2 USB Device(s)
> found
> scanning usb for storage devices... 1
> Storage Device(s) found
> ** No partition table - usb 0 **
> ** No partition table - usb 0 **
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> resetting ...

This error indicates that your UBS drive does not have the correct partition format for booting. Which u-boot is on your Pogo V4? which u-boot did you use for UART booting? I'm guessing you're trying to boot with Ext4 rootfs, and this is possible with the new u-boot, but not with any other u-boot that you might have before, including stock.

Please post the entire serial boot log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug v4 restore
May 10, 2015 03:33PM
Bodhi,

You are correct. I did manage to fix the issue. I did not have a Linux machine so I was using a windows utility for the USB. Setting up a Linux machine and setting up USB stick as ext2 fs from there fixed the problem.

Thanks again for your help.

Sudhir
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: