OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 1104790.0
April 22, 2010 04:13 PM

Categories: PogoPlug Development

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Pogoskins

Member
Joined: 03/15/2010

Disclaimer:  I am not responsible if following these instructions makes anything bad happen, do so at your own risk.

I was originally hoping that there was a factory reset button you could push to restore this device to it's original settings.   I've been experimenting with PlugApps and OpenPogo and I'm not experienced enough to know exactly what the guides are instructing me to do.

The only thing i could find on restoing the device to its original state was a quick overview posted by Brad:

http://www.pogoplugged.com/forum/thread/11515/How-To-Find-mkfs-jffs2-and-other-tools-on-Pogoplug/

This was helpful and I managed to complete the restore with one caveat:

I can't reactivate the device now ( i have sent a note to support about this and am waiting to hear back)

I would like to elaborate on Brad's instructions because i think it will help a lot of people who want to start over.

I used a Windows XP machine and a V1 brick.

I dont know if this will work on a V2

Heres what you need.

3.3v serial adapter connected to the serial pins inside.

A crossover cable connecting the pogo to your PC

Pumpkin tftp server.

These 2 image files:


http://pogoplug.com/downloads/ce_kernel_v1.1.img
http://pogoplug.com/downloads/ce_ramdisk_v1.1.img

Start by setting a static IP on your PC.

Start Pumpkin

Go to Options, Set to Give all Files.

Point the TFTP filesystem root to where you downloaded the .img files to.

Next Start a hyperterminal session

Make sure you are using the right com port for your adapter.

Set the Bit rate to 115200.

Plug the pogoplug into the wall.

When you see "Hit any Key to stop Autoboot"... hit a key

Then paste in Brad's commands line by line....

This is the output i used, but you will need to adjust for the static IP you use and your pogo's MAC address.

I have no idea what cesvcid is supposed to be, but i used the value below and it worked.

Note that some of these lines will wrap when displayed here...you want to input the whole line. 

setenv serverip 192.168.75.50
setenv ipaddr 192.168.75.51
setenv ethaddr 00:25:31:00:XX:XX
setenv cesvcid ULULULULULULPPULULULULULDA
setenv ceboardver PP_GTI:3.0
setenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'
saveenv

setenv serverip 192.168.75.55
setenv ipaddr 192.168.75.220

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

Hopefully this helps anyone who wanted to do this. 
Again i lost my.pogoplug.com functionality, but i expect that can somehow be restored easily. 

Discussion:    Add a Comment | Comments 1-20 of 20 | Latest Comment

April 22, 2010 6:12 PM

Are you sure the right svcid is in u-Boot? It should be the same one as your Pogoplug's ID.

April 23, 2010 7:59 AM

No im not sure. That might be why i've lost my.pogoplug.com functionality.

August 1, 2010 4:08 PM updated: August 2, 2010 8:18 PM

Are there updated links for the kernel and ramdisk files? The current ones are broken.


http://www22.pogoplugged.com/download/file/11600-13

http://www.pogoplugged.com/download/file/11601-14

August 3, 2010 8:55 PM updated: August 3, 2010 9:33 PM

I got the files now I am just trying to use them on the dockstar :)

basically, it cant load the kernel (hangs when it says 'Uncompressing Linux':

The part that I am most unsure about is the memory sizes/offsets. Are they the same for the dockstar as for the pogos? These steps were adapted from the pogo docs.

----
CE>> nand erase 0x100000 0x400000

NAND erase: device 0 offset 0x100000, size 0x400000
Erasing at 0x4e0000 -- 100% complete.
OK
CE>> tftp 0x800000 ce_kernel_redstone_v63.img
Using egiga0 device
TFTP from server 192.168.1.196; our IP address is 192.168.1.101
Filename 'ce_kernel_redstone_v63.img'.
Load address: 0x800000
Loading: #T ###T ###T ##############T #########T ##T ##T #####T ################
#################################################################
... ##############################################################
done
Bytes transferred = 1978608 (1e30f0 hex)
CE>> nand write.e 0x800000 0x100000 0x1e30f0

NAND write: device 0 offset 0x100000, size 0x1e30f0

Writing data at 0x2e3000 -- 100% complete.
1978608 bytes written: OK
CE>> tftp 0x1000000 ce_ramdisk_v2.0a.img
Using egiga0 device
TFTP from server 192.168.1.196; our IP address is 192.168.1.101
Filename 'ce_ramdisk_v2.0a.img'.
Load address: 0x1000000
Loading: #################################################################
...
#################################################################
########################
done
Bytes transferred = 11770380 (b39a0c hex)
CE>> setenv bootargs $(console) root=/dev/mtdblock2 initrd=0x1000000,0xb39a0c
CE>> bootm 0x800000
## Booting image at 00800000 ...
Image Name: Linux-2.6.22.18
Created: 2009-10-14 20:23:19 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1978544 Bytes = 1.9 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................

August 15, 2010 8:13 AM updated: August 15, 2010 8:22 AM

Hi
Instructions look correct but there are 2 lines missing:
1. setenv arcNumber # removes this parameter
2. setenv mainlineLinux=no # must be no for original kernel etc
2.5. use REDSTONE:1.0 in place of PP.... for Dockstar
3. saveenv
Having those params wrong can cause similar hangs when installing non-CE images so it would affect things going the other way as well.

cesvcid is on the bottom of your unit, at least on the Dockstars. It looks like a software licence key.

I have a Dockstar that I want to put back to original (working on adding Dockstar to OpenWRT) for some testing on /dev/xce.

My question is: is the ce_ramdisk provided by CE also used on Dockstar/Redstone? Or is that only for Pogoplugs?

Gerrit

August 22, 2010 2:59 PM updated: August 22, 2010 3:01 PM

z80, here is a mirror of all the ramdisks for devices. There is a Redstone one. http://plugapps.com/os/pogoplug/ce_mirror

Edit: Just a kernel for the redstones. The ramdisk is the same. DockStar-only things are enabled by the hbwd daemon reading the uBoot CE ID which is something like redstone 1.0 or something...

August 22, 2010 5:02 PM

Thank you, I will be testing a restore soon (2 more Dockstars on the way!)

March 24, 2011 10:53 PM

> setenv cesvcid ULULULULULULPPULULULULULDA

I'm assuming that ULULULULULULPPULULULULULDA is the ID on the bottom of your pogoplug-- probably why you couldn't re-activate your device.

May 13, 2011 5:15 PM updated: May 13, 2011 5:15 PM

Hi all
Those two files ar missing:
http://www22.pogoplugged.com/download/file/11600-13
http://www.pogoplugged.com/download/file/11601-14

My Pogoplug V2 is broken!

I found the two files for Dockstar but I am not sure if they are same and can be used for Pogo.

If anyboday has those two files (Kenel and ramdisk) can you please email to me at:
zhaozh@yahoo.com

Thank you very much.

October 13, 2011 5:22 PM

Hi zhaozh,

Where did you find the files for Dockstar. I need them to restore my Dockstar. Could you please post the links for Dockstar kernel and ramdisk images?

Thank You
Ranganadh

October 24, 2011 3:06 PM updated: October 24, 2011 3:07 PM

Quick question: I messed up the /etc/passwd file on my PogoPlug Pro (brilliant, I know). If I craft a serial cable and boot to console can I get at it to repair it?

I should add that the device works fine but for the fact that I cannot login via ssh. Yes, I tried resetting the password on my.pogoplug.com.

Thanks in advance!

October 27, 2011 3:54 PM

Can this procedure be followed to restore Pogoplug Pro?

November 2, 2011 2:41 PM

No, this procedure is for the Dockstar and Pink V2 Pogoplug

November 2, 2011 3:54 PM

WarheadsSE said: No, this procedure is for the Dockstar and Pink V2 Pogoplug
Thanks Warheadse I cannot seem to find one for the Pogoplug Pro do you know of a link to how to restore Pro Pogoplug

November 2, 2011 3:56 PM

Zoom,

Is it outright bad? Had you tried modifying it and now it is bad? Do you have a serial cable?

Basically, what is it about it that needs restored? I can help from that point onward, but there is not necessarily a single, simple, one-step method.

November 2, 2011 4:09 PM

It is outright bad I tried to put openpogo on it and it did not work I cannot SSH to it and the Power light on the front does not come on however the Ethernet light and the internal blue light is on. I am waiting on a Nokia CA-42 cable from Ebay and hoping to be able to connect to it using Putty Terminal but not sure what needs to be done any help would be greatful.

November 2, 2011 4:13 PM

Ouch. You tried to use the wrong installer huh?

That's black magic territory right there, but it is fixable.

We have an entire thread over at Arch Linux ARM (which is what it is called now, hasn't been OpenPogo in a long time) (see here)

It will involve having a serial cable and an eSATA enclosure with a spare SATA hard drive.

November 2, 2011 4:22 PM

Oh right I was very eager when I got it :( and I have not done anymore with it for over 6 months but I need to use it now and was hoping to put back to orginal state I can get a sata drive no problem do I follow the Arch Linux Forum thread that you just gave me the link for? Thanks man for pointing me in wright direction.

November 2, 2011 4:53 PM

We'll help you over at Arch Linux ARM, but that thread is the starting point

November 2, 2011 5:01 PM

WarheadsSE said: We'll help you over at Arch Linux ARM, but that thread is the starting point
Cool Man I will need to wait for the cable first and I will see how bad it is one I terminal into it will be in touch Thanks again.

Discussion:    Add a Comment | Back to Top | Comments 1-20 of 20 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window