• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Boot GuruPlug rootfs from MicroSD card Questions  (Read 738 times)
TitanFan
Newbie
*

Karma: 0
Posts: 27


View Profile
« on: August 16, 2010, 07:52:29 PM »

I have successfully booted my GuruPlug using a MicroSD card following the instructions here:

http://plugcomputer.org/plugforum/index.php?topic=1642.msg10489#msg10489

I have a couple of questions:

1. I noticed that my MAC address for eth0 is reported as 00:00:00:00:00:00.
That certainly isn't correct. The MAC address should be 00:50:43:01:5c:6c.
How can I get my system to report the correct MAC address?

2. If I decide to update the uboot parameters so my Plug will always boot
from the MicroSD card, how can I set the parameters back so it will boot
from internal flash?

Thanks!
Logged

TitanFan
Newbie
*

Karma: 0
Posts: 27


View Profile
« Reply #1 on: August 16, 2010, 10:48:24 PM »

I just found the answer to my question #1.  Apparently the version of uboot that ships with the GuruPlug has a bug, so you need to ping the interfaces to "wake them up".  Here's the command to do it:

Marvell>> setenv ethact egiga0; ping 192.168.2.1; setenv ethact egiga1; ping 192.168.2.1;

I found this info in another thread on this forum:  http://plugcomputer.org/plugforum/index.php?action=printpage;topic=1769.0

To paraphrase from that thread:

You don't need to do these ping commands if you are using the latest uboot: http://www.mail-archive.com/u-boot@lists.denx.de/msg30448.html

Get the latest uboot from here:
http://openplug.org/index.php/us/resources/downloads?func=select&id=14
http://www.openplug.org/plugwiki/index.php/Reflashing_images_on_the_GuruPlug
Logged

TitanFan
Newbie
*

Karma: 0
Posts: 27


View Profile
« Reply #2 on: August 16, 2010, 10:52:23 PM »

So, now that question #1 is answered, can someone help me with my second question?

2. If I decide to update and save the uboot parameters so my Plug will always use the rootfs
from the MicroSD card, how can I set the parameters back so it will go back to using
internal flash?

Logged

TitanFan
Newbie
*

Karma: 0
Posts: 27


View Profile
« Reply #3 on: August 17, 2010, 01:14:32 PM »

I received a private message with the answer to question #2:

If you want to return to nand boot

>> editenv x_bootargs_root
edit: ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x40000 -- 100% complete.
Writing to Nand... done
Marvell>> reset


Warning:  I haven't tried this yet!
Logged

Pages: [1]
Print
Jump to: