New IT forum
23 July 2014, 08:06:01 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: CubieBoard 2 and Cubietruck both now in stock.
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Factory defaults  (Read 4572 times)
jas39
Newbie
*
Posts: 2


« on: 31 May 2010, 08:42:12 pm »

Short question:
Where can i find the images and settings in order to get the guruplug back to virgin state?

Background:
My guruplug rebooted, probably due to heat, in the middle of apt-get dist-upgrade and left system in limbo

What I've tried:
Downloaded kernel image from here:
http://code.google.com/p/guruplug/downloads/list

and rootfs from here:
http://openplug.org/index.php/us/resources/downloads?func=fileinfo&id=78

and started a tftp server on my pc followed by these commands on the guru:
Code:
setenv serverip <IP of TFTP server>
 setenv ipaddr <IP on the same subnet as the TFTP server>

 tftp 0x6400000 <kernel image name>
 nand erase 0x100000 0x400000
 nand write.e 0x6400000 0x100000 0x400000

 tftp 0x6400000 <rootfs image name>
 nand erase 0x500000 0x1fb00000
 nand write.e 0x6400000 0x500000 0x<number-of-hex-bytes-tftp-ed>
 reset

Which boots but doesn't give wireless config etc

What else should I do?
Logged
darek
Jr. Member
**
Posts: 58


« Reply #1 on: 01 June 2010, 08:37:54 pm »

http://plugcomputer.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug
Logged
jas39
Newbie
*
Posts: 2


« Reply #2 on: 01 June 2010, 08:47:24 pm »

I didn't get that combination working and the setenv's are not the same as on a virgin from NewIT....

I did take the rootfs from there and kernel from here (uImage-plug2):
http://code.google.com/p/guruplug/downloads/list

which gives a working plug but without somw og the preconfigured stuff, among others the webpages are missing.

Is there a way to dump flash from one guruplug and load it on another?



Logged
penny2524
Newbie
*
Posts: 28


« Reply #3 on: 01 March 2011, 08:21:01 pm »

Hi ,

I'm trying to factory reset my Guruplug as well .

But i'm stuck at the process of the rootfs_ubi.img bytes hex thing .
Which i don't understand on how to get and input the value to it ..

I see the procedure saying like this


 nand write.e 0x6400000 0x500000 0x<number-of-hex-bytes-tftp-ed>


but what's "0x<number-of-hex-bytes-tftp-ed>" ?
Can anyone tell me ?

I see that the bytes in tftpd is 194248704 bytes ...

Please help so that i can move on to the next step .

Thank you very much in advance.
Logged
NewITMalcolm
Administrator
Sr. Member
*****
Posts: 394


« Reply #4 on: 01 March 2011, 09:09:19 pm »

Hi Penny2524,

I have been doing some Guru restoring myself and here are my notes.
The versions are slightly newer than on the Standard Guruplug but these seem to be the official version if you follow the Download link from the Globalscales site.


uboot

Replacement  uboot - http://www.plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=71
U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)

 fatload usb 1:1 0x6400000 /uboot.guruplug.bin
 nand erase 0x0 0x0a0000
 nand write 0x6400000 0x0 0xa0000
 saveenv
 reset

kernel

Replacement  Kernel - http://openplug.org/index.php/us/resources/downloads?func=startdown&id=66
2.6.33.2-00003-g4b82fc0 #1 PREEMPT Thu Apr 22 03:29:35 PDT 2010 armv5tel GNU/Linux

 fatload usb 1:1 0x6400000 /uimage-guruplug
 nand erase 0x100000 0x400000
 nand write.e 0x6400000 0x100000 0x400000

RootFS

Replacement RootFs - http://openplug.org/index.php/us/resources/downloads?func=fileinfo&id=78

 fatload usb 1:1 0x6400000 /rootfs.ubi.img
 nand erase 0x500000 0x1fb00000
 nand write.e 0x6400000 0x500000 0xb940000
Logged

NewITJames
penny2524
Newbie
*
Posts: 28


« Reply #5 on: 01 March 2011, 09:59:44 pm »

Hi Penny2524,

I have been doing some Guru restoring myself and here are my notes.
The versions are slightly newer than on the Standard Guruplug but these seem to be the official version if you follow the Download link from the Globalscales site.


uboot

Replacement  uboot - http://www.plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=71
U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)

 fatload usb 1:1 0x6400000 /uboot.guruplug.bin
 nand erase 0x0 0x0a0000
 nand write 0x6400000 0x0 0xa0000
 saveenv
 reset

kernel

Replacement  Kernel - http://openplug.org/index.php/us/resources/downloads?func=startdown&id=66
2.6.33.2-00003-g4b82fc0 #1 PREEMPT Thu Apr 22 03:29:35 PDT 2010 armv5tel GNU/Linux

 fatload usb 1:1 0x6400000 /uimage-guruplug
 nand erase 0x100000 0x400000
 nand write.e 0x6400000 0x100000 0x400000

RootFS

Replacement RootFs - http://openplug.org/index.php/us/resources/downloads?func=fileinfo&id=78

 fatload usb 1:1 0x6400000 /rootfs.ubi.img
 nand erase 0x500000 0x1fb00000
 nand write.e 0x6400000 0x500000 0xb940000

Hi James ,

It works very well for me , thank you very much for your advise .

For other who might not know , at least for me , before running each command ;
you have to run "usb start" first ... if it doesn't setenv to auto start.

Cheers,
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!