[Pogoplug E02] /HowTo?/Reflashing to stock w. serial cable

Guides written by the community, for the community, and only guides!

[Pogoplug E02] /HowTo?/Reflashing to stock w. serial cable

Postby maxtox » Mon Dec 19, 2016 1:30 pm

Hello Guys,

is there an HowTo unbrick Pogoplug E02? If no, i would create one, if you give me right directions!
tryed to install Archlinux or debian on my pogo e02 2 days ago and now since then it is briked !!!

tried to read EVERYTHING on this forum to unbrick my pogo e02.

but everythig failed:

1. flashing over tftp of ce_kernel_redstone_v63.img etc.. just took me, that my pogplug shows

Code: Select all
U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar

SoC:   Kirkwood 88F6281_A0



i canT reed of that :-(

2. now it does not start kernel :-(, and shows:

Code: Select all
SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Unknown command 'nd' - try 'help'
## Booting kernel from Legacy Image at 00800000 ...
Bad Header Checksum
ERROR: can't get kernel image!
u-boot>>



printenv shows:
Code: Select all
arcNumber=3542
baudrate=115200
bootargs=$(console) $(bootargs_root)
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nd read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
bootdelay=3
console=console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:04:8B:0A
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
ipaddr=192.168.111.123
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
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
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
serverip=192.168.111.40
stderr=serial
stdin=serial
stdout=serial
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
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
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
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
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_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_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2450/131068 bytes


can you please give me directions how to DEBRICK e02 over Serial with help of USB /Tftp/ etc..

Thank you in advance!
maxtox
 
Posts: 4
Joined: Mon Dec 19, 2016 1:25 pm

Re: [Pogoplug E02] /HowTo?/Reflashing to stock w. serial cab

Postby moonman » Mon Dec 19, 2016 9:53 pm

It is not bricked if you have uboot still and your uboot environment is intact as well it seems. Just reinstall archlinuxarm on a flash drive/hard drive and you will be up and running.
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3089
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: [Pogoplug E02] /HowTo?/Reflashing to stock w. serial cab

Postby maxtox » Mon Dec 19, 2016 10:05 pm

Hi,

@moonman: thank you for the reply...

Do you have a link to the right version?

I allredy tried 2 versions, but it did not pick up the usb...

Do you know how to change/update environment wit a file?

Thank you in Advance!
maxtox
 
Posts: 4
Joined: Mon Dec 19, 2016 1:25 pm

Re: [Pogoplug E02] /HowTo?/Reflashing to stock w. serial cab

Postby maxtox » Mon Dec 19, 2016 10:34 pm

HI tried now to do 3, 4,5,6 from this thread with a usb:

https://archlinuxarm.org/platforms/armv ... 2-pinkgray

when i stick this usb into my pogo e02, nothing happened

printenv shows now:

Code: Select all
PogoE02> printenv
arcNumber=3542
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=run bootcmd_usb
bootdelay=3
console=console=ttyS0,115200
ethact=egiga0
ethaddr=00:12:34:56:45:56
fdt=/boot/pogo_e02.dtb
fileaddr=800000
filesize=80000
ipaddr=192.168.111.123
kernel=/boot/zImage
machid=0xdd6
mtddevname=uboot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,0
serverip=192.168.111.40
stderr=serial
stdin=serial
stdout=serial
maxtox
 
Posts: 4
Joined: Mon Dec 19, 2016 1:25 pm

Re: [Pogoplug E02] /HowTo?/Reflashing to stock w. serial cab

Postby maxtox » Tue Dec 20, 2016 12:04 am

ok...

now i updated my enviroment with this file:

https://github.com/doozan/uBoot/blob/master/environment/uboot.environment.txt

but because of the error "...max 16 arg" i had to split long lines in 2-3 commands..

like this one
Code: Select all
setenv 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'


in this one:
Code: Select all
setenv load_uImage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uInitrd 'ext2load usb 0:1 0x1100000 /boot/uInitrd
setenv boot_debian 'bootm 0x800000 0x1100000'
setenv usb_boot 'mw 0x800000 0 1; run load_uImage; run load_uInitrd; run boot_debian'


don't forget to change

Code: Select all
setenv arcNumber 3542


so now it is trying to boot from usb... but NO luck yet

Now i am preparing the usb with a wheezy:

http://projects.doozan.com/debian/

have to do it wit a different device, because pogo stil does not ssh :-(

it does install about 30 min now... so we will see ;-)
maxtox
 
Posts: 4
Joined: Mon Dec 19, 2016 1:25 pm


Return to Community Guides

Who is online

Users browsing this forum: No registered users and 1 guest