• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: did a resetenv, now how to restore various args so it boots from internal memory  (Read 2564 times)
jdkullmann
Newbie
*

Karma: 0
Posts: 9


View Profile
« on: May 08, 2009, 01:49:01 PM »

I tried installing debian as per http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html but upon booting it ran fsck which bus errored and now i can't boot.  i resetenv but now need to know what setenv parameters to set to stop it from trying to tftpboot from sheeva's internal servers and to stop trying to NFS root.  I just want it to boot from internal flash or whatever it was doing when I received it.

Can someone post a 'printenv' from the boot interface here from a non modified plug so I can figure out what I need to change?

Thanks
Logged

semery
Newbie
*

Karma: 0
Posts: 13


View Profile
« Reply #1 on: May 09, 2009, 12:44:02 PM »

See the wiki http://plugcomputer.org/plugwiki/index.php/Factory_Default_u-Boot_Environment. I ran into the same problem. The wiki could probably use some better structure but all the info is there  Wink In short, after doing a resetenv, you'll need to do at least:

Code:
setenv bootcmd 'nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
setenv bootargs 'console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none'
setenv ethaddr 00:50:43:4c:02:26
setenv run_diag no
saveenv

Be sure to set the ethernet address to the one on the sticker on the back of the plug. Don't just copy/paste above.
Logged

nicenguy
Global Moderator
Newbie
*****

Karma: 0
Posts: 4


View Profile
« Reply #2 on: May 11, 2009, 04:31:41 PM »

The quick to restore everything back to normal is to use USB Recovery tool.  You can find it here. Grin

http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp



Logged

jaebird
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #3 on: May 17, 2009, 03:48:22 PM »

I'm pretty sure you have to use the mac address with periods not colons or the env won't take.

ie

00.50.43.4c.02.26

instead of:

00:50:43:4c:02:26
Logged

Pages: [1]
Print
Jump to: