How to reflash pogoplug pro

This forum is for all other ARMv5 devices

How to reflash pogoplug pro

Postby ahmao » Sun Oct 23, 2011 6:03 pm

Hi guys,

I got a pogoplug pro from ebay,
It is not working out of box, it has no ethernet interface.
I have my serial port setup.
and get the image from
http://www.pogoplugged.com/forum/thread ... 9341401162

the thing is how to reflash pogoplug pro,
what is nand erase offset like this in pogoplug pink?

nand erase 0x100000 0x400000
tftp 0x800000 ce_kernel_v1.1.img
(note transfer-size -- Should be 1973968)
nand write.e 0x800000 0x100000 0x1e1ed0

tftp 0x1000000 ce_ramdisk_v1.1.img
(note transfer-size -- Should be 9976735)
setenv bootargs $(console) root=/dev/mtdblock2 initrd=0x1000000,0x983b9f
bootm 0x800000

Is there any instruction to flash pogopro online?
thanks
ahmao
 
Posts: 10
Joined: Sun Oct 23, 2011 5:47 pm

Re: How to reflash pogoplug pro

Postby WarheadsSE » Sun Oct 23, 2011 7:18 pm

DO NOT DO THIS GODDAMMIT

THAT WILL BRICK YOUR PRO BEYOND REPAIR.

I told you this on the pogoplugged.com forums.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reflash pogoplug pro

Postby ahmao » Sun Oct 23, 2011 7:28 pm

thanks for reply.
I didnot flash it yet.

how to restore the pogo pro to factory set?
I can uboot it now.

but does not have network and usb mounted.

mount: mounting none on /proc/bus/usb failed: No such file or directory
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
route: SIOCADDRT: Network is unreachable
Tweaking default linux memory parameters...
modprobe: 'kernel/fs/fat/vfat.ko': invalid module format

/ # cat /proc/mtd
dev: size erasesize name
mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"
mtd1: 00e00000 00020000 "boot"
mtd2: 07200000 00020000 "rootfs"

Can some one share original /etc/init.d/rcS, that may fix my problem.
also if could share printenv is better.
ahmao
 
Posts: 10
Joined: Sun Oct 23, 2011 5:47 pm

Re: How to reflash pogoplug pro

Postby WarheadsSE » Sun Oct 23, 2011 7:31 pm

Are you looking to restore the factory fresh image? Is that your goal?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reflash pogoplug pro

Postby ahmao » Sun Oct 23, 2011 7:31 pm

I have the pogopro images downloaded from here:

The images for the kernel and firmware are located here:

http://download.pogoplug.com/prod/ce_pogopro_kernel_r5
http://download.pogoplug.com/prod/ce_pogopro_ramdisk_r5

I think if I know the nand write offset, it can be reflashed.

$this->bbcode_second_pass_quote('WarheadsSE', '[')size=200]DO NOT DO THIS GODDAMMIT[/size]

THAT WILL BRICK YOUR PRO BEYOND REPAIR.

I told you this on the pogoplugged.com forums.
ahmao
 
Posts: 10
Joined: Sun Oct 23, 2011 5:47 pm

Re: How to reflash pogoplug pro

Postby ahmao » Sun Oct 23, 2011 7:45 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'A')re you looking to restore the factory fresh image? Is that your goal?


if it can function well by change configuration, then there is no need to refresh the factory image.
but I cannot bring up eth0 right now.
I think network card is working since I can ping and tftp in uboot prompt.
ahmao
 
Posts: 10
Joined: Sun Oct 23, 2011 5:47 pm

Re: How to reflash pogoplug pro

Postby WarheadsSE » Sun Oct 23, 2011 7:46 pm

Alright,

I was understanding that you were trying to load the wrong images, now that you've come up with the appropriate links, you might be able to do this after all.

The location of the kernel, from stock is given by the 2 locations in the nboot commands.

Key parts:
$this->bbcode_second_pass_code('', 'load_nand=nboot 60500000 0 200000
load_nand2=nboot 60500000 0 800000
boot=bootm 60500000
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reflash pogoplug pro

Postby ahmao » Sun Oct 23, 2011 7:53 pm

so what are the correct
nand erase address
tftp address
and nand write.e address
for pogoplug pro?

when reloading the box, I saw the message,


Loading from device 0: 128MiB 3,3V 8-bit (offset 0x200000)
-- Using 1bit ECC style encoding
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2259824 Bytes = 2.2 MB
Load Address: 60008000
Entry Point: 60008000
## Booting image at 60500000 ...
Image Name: Linux-2.6.31.6_SMP_820
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2259824 Bytes = 2.2 MB
Load Address: 60008000
Entry Point: 60008000
Verifying Checksum ... OK

BTW: do you have original /etc/init.d/rcS ?
ahmao
 
Posts: 10
Joined: Sun Oct 23, 2011 5:47 pm

Re: How to reflash pogoplug pro

Postby WarheadsSE » Sun Oct 23, 2011 8:09 pm

I have copied an original rcS from my stock image (in NAND) to http://my.pogoplug.com/share/vArHUudFPhMW8MZGCEDcIA/
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to reflash pogoplug pro

Postby WarheadsSE » Sun Oct 23, 2011 11:15 pm

For point of record:

The problem here was a corrupt rootfs. Corrupt in that 90% of the kernel modules were 0 bytes, and the rcS was killed.

I worked with ahmao to boot from tftp to our kernel, and then replace the rootfs in nand from there. His kernel in NAND was fine :)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests