[U-Boot-Users] Statically assigned IP addresses

Demke, Torsten Torsten.Demke at fci.com
Tue Jan 13 20:06:27 CET 2004


Hello
> 
> 1.	On my Chameleon 405EP board, it appears the Ethernet
> 	interface is off by default.  While the board is
> 	running Linux, the Ethernet interface is *not*
> 	brought up by default -- rather, I must type
> 	'ifconfig eth0 up'.  This seems strange, but I can
> 	live with it.  While the board is running U-boot,
> 	on the other hand, there does not appear to be a
> 	'bring up Ethernet' command.  I have MAC address and
> 	IP address set in environment variables, so what else
> 	do I need to do to get the board to answer a ping???

U-boot will not answer to a remote ping (no interrupt etc).
But you can send a ping from U-boot to a remote target 
if you have CFG_CMD_PING enabled in your configuration.

Did you enable "IP: kernel level autoconfiguration" in your 
Linux kernel? I use the "bootargs" to give the Linux kernel 
the appropriate parameters for the eth interfaces.
( setenv bootargs
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off )

Regards,
Torsten




More information about the U-Boot mailing list