New IT forum
01 November 2014, 08:44:22 am *
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: Initial environment variables for Guruplug  (Read 7203 times)
NewIT_Marcus
Hero Member
*****
Posts: 960


« on: 24 May 2010, 11:41:25 pm »

Code:
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:
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


« 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


« 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]
  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!