[RESOLVED] How to boot from original software

This forum is for all other ARMv5 devices

Re: [RESOLVED] How to boot from original software

Postby vfulco » Sat Jul 21, 2012 2:06 pm

How is one able to even launch the 'revert' script if one can't get access to the device? I re-started the pogo pro after quite a while to revert the device to original and get it ready for sale. The blinking green light has been running for about 5 minutes and checking my dhcp table on my router shows no new IP assigned.

TIA, Vince
vfulco
 
Posts: 8
Joined: Sat Mar 17, 2012 9:30 pm

Re: [RESOLVED] How to boot from original software

Postby vfulco » Sat Jul 21, 2012 2:31 pm

Think I found the problem with the blinking green. Had external drive running prior to starting up PP. Now off and DHCP assigns IP address to device but it blinks and shuts off before I can make the connection to run revert script.

TIA, V.
vfulco
 
Posts: 8
Joined: Sat Mar 17, 2012 9:30 pm

Re: [RESOLVED] How to boot from original software

Postby WarheadsSE » Sat Jul 21, 2012 8:37 pm

Check your /etc/rc.local on that stick, might have a halt in it if you were ever debugging something
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [RESOLVED] How to boot from original software

Postby vfulco » Tue Oct 09, 2012 1:14 am

Sorry to be returning to this so late. Reviewed rc.local and nothing strange of note. Is there are other way to revert to the original software easily? I'm kinda stuck here with a non-booting unit so I can't run the revert script.

TIA, V.
vfulco
 
Posts: 8
Joined: Sat Mar 17, 2012 9:30 pm

Re: [RESOLVED] How to boot from original software

Postby WarheadsSE » Tue Oct 09, 2012 3:16 am

Get a serial cable, and I can get you the default values to set by hand.

3.3V RS232/TTL. NOT STANDARD 12/5V!
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [RESOLVED] How to boot from original software

Postby vfulco » Tue Oct 09, 2012 10:08 pm

ok, will do an check back when i have it in hand. much appreciated.
vfulco
 
Posts: 8
Joined: Sat Mar 17, 2012 9:30 pm

Re: [RESOLVED] How to boot from original software

Postby LeZerb » Wed Oct 24, 2012 5:35 pm

I thought I'd just post how to "factory reset" a Pogoplug Pro.

First you will need to download http://archlinuxarm.org/mirror/ce/ce_pogopro_ramdisk_r9

The next steps need to be run in a Linux terminal. If you don't understand some of the commands please do not continue.

- rename the downloaded file

$ mv ce_pogopro_ramdisk_r9 ce_pogopro_ramdisk_r9.gz

- decompress the file

$ gzip -d ce_pogopro_ramdisk_r9.gz

- extract cpio image

$ mkdir pogoroot
$ cd pogoroot
$ cpio -i < ../ce_pogopro_ramdisk_r9

You may get some errors about not being allowed to create device nodes. Just ignore the errors - we don't need the device nodes.

You may now have a look at the file init ($ cat init) from which some of the next steps are taken.

- transfer necessary files to a USB thumb drive

$ cp uImage pproot.ubi /your/usb/mountpoint

- connect the device to your pogoplug and run ALARM (SATA boot (see http://archlinuxarm.org/forum/viewtopic.php?f=29&t=2146#p11512) or USB boot) and mount the drive - the following steps obviously need to be run on your Pogoplug device

- now flash the root filesystem and uImage (this will delete your old kernel and rootfs - so don't blame me if you loose any data you might need - you could always backup your kernel and mtd2 content)

$ cd /your/usb/mountpoint/on/pogoplug
$ flash_eraseall /dev/mtd2
$ nandwrite /dev/mtd2 pproot.ubi

!!! the next steps will delete the factory kernels and also ALARM kernels in NAND - if you don't want to delete the ALARM Kernels modify the block count of flash_erase commands accordingly !!!

$ flash_erase /dev/mtd1 0x200000 48
$ nandwrite -p -s 0x200000 /dev/mtd1 uImage
$ flash_erase /dev/mtd1 0x800000 48
$ nandwrite -p -s 0x800000 /dev/mtd1 uImage


That's it.

$ sync
$ reboot
LeZerb
 
Posts: 7
Joined: Fri Oct 19, 2012 2:28 pm

Re: [RESOLVED] How to boot from original software

Postby WarheadsSE » Wed Oct 24, 2012 5:50 pm

lmao, erase block size of 48? Sheesh 21-24 should be safe, and less hungry.

Otherwise, very much thanks for this leZerb
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [RESOLVED] How to boot from original software

Postby Dexye » Sun Dec 16, 2012 1:38 pm

will i be able to reinstall archlinux after running the revert script?
some comments from WarheadsSE imply that its not possible.
Dexye
 
Posts: 4
Joined: Sat Dec 15, 2012 11:42 pm

Re: [RESOLVED] How to boot from original software

Postby ldi9999 » Mon Dec 17, 2012 6:50 pm

$this->bbcode_second_pass_quote('Dexye', 'w')ill i be able to reinstall archlinux after running the revert script?
some comments from WarheadsSE imply that its not possible.


Sure you can. I did multiple times.
ldi9999
 
Posts: 59
Joined: Mon Mar 05, 2012 10:31 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 4 guests