New IT forum
02 September 2015, 02:47:39 pm *
Welcome, %1$s. Please login or register.
Did you miss your activation email?

: PiHub now in stock.
 
Pages: [1]

Author Topic: Initial environment variables for Guruplug  (Read 7817 times)

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Initial environment variables for Guruplug
« on: 24 May 2010, 11:41:25 pm »

Code: [Select]
U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21)
Marvell-Plug2L

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
Marvell>> printenv

Code: [Select]
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000
x_bootargs=console=ttyS0,115200
x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
ethact=egiga0
ethaddr=00:50:43:01:xx:xx
eth1addr=00:50:43:01:xx:yy
stdin=serial
stdout=serial
stderr=serial
« Last Edit: 22 September 2010, 07:54:25 pm by NewIT_Marcus »
Logged

ericd

  • Newbie
  • *
  • Posts: 5
Re: Initial environment variables for Guruplug
« Reply #1 on: 18 August 2010, 04:12:24 pm »

Hello,

If possible, I'd like to have some clarification on the following 2 points:

When I boot my GuruPlug, I always get these error messages on the console:

   Hit any key to stop autoboot:  0
   *** ERROR: `ipaddr' not set
   ping failed; host 192.168.2.1 is not alive
   No link on egiga1
   *** ERROR: `ipaddr' not set
   ping failed; host 192.168.2.1 is not alive
   (Re)start USB...
   USB:   Register 10011 NbrPorts 1
   USB EHCI 1.00

-1- As far as I've understood the uboot concept, the ping error comes from the environment variable:
  => x_bootcmd_ethernet=ping 192.168.2.1
  My questions are : What's the purpose of this ping command ?
                            Should I change the IP to something else ? (like my default gateway or something else)

-2- The second error "`ipaddr' not set"
     My questions are : What's the purpose of this (other) IP ?
                            Should I change it to the guruplug's IP  ?

Thanks in advance for your help.
Eric

Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: Initial environment variables for Guruplug
« Reply #2 on: 18 August 2010, 05:15:09 pm »

They're probably related to network booting in the factory. If your plug boots fine with those settings, leave them that way.
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!