From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 13 Jan 2004 21:02:27 +0100 Subject: [U-Boot-Users] Statically assigned IP addresses In-Reply-To: Your message of "Tue, 13 Jan 2004 11:27:35 MST." Message-ID: <20040113200232.C9AA5C10AF@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear John, in message you wrote: > > 1. On my Chameleon 405EP board, it appears the Ethernet > interface is off by default. While the board is No, it is not off. It get's enabled when used. > running Linux, the Ethernet interface is *not* > brought up by default -- rather, I must type > 'ifconfig eth0 up'. This seems strange, but I can Did you enable IP autoconfiguration in the kernel, and did you pass appropriate "ip=" comand line arguments to Linux? > 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 Ethernet get's enabled when used. > IP address set in environment variables, so what else > do I need to do to get the board to answer a ping??? U-Boot can be configured to send ping ICMP messages and show the reply, but it does not answer incoming ICMP requests. > 2. Probably the same as the first question -- assigning > a static IP address. In our lab, we do not use DHCP; > addresses are statically assigned. Is setenv ipaddr > {n.n.n.n} sufficient? If not, what else do I need > to do? For U-Boot this is sufficient. For Linux you must pass this information to the Linux kernel using an "ip=" command line argument. Ummm... what exactly is unclear in the description in http://www.denx.de/twiki/bin/view/DULG/LinuxBootArgs that you need to ask all these questions? > 3. Is this standard U-boot behavior, or is it peculiar > to the Chameleon board? On the boards we manufacture > (and in our firmware), Ethernet comes up by default. This is standard U-Boot behaviour. I don't understand what you mean by "comes up". U-Boot imnitializes the network interface(s) only when you try to use them. Best regards, Wolfgang Denk -- See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440 Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke