From: Wolfgang Denk Date: Fri, 27 Aug 2004 21:09:42 +0200 Subject: [U-Boot-Users] U-Boot Configuration and Endianess In-Reply-To: Your message of "Fri, 27 Aug 2004 11:39:39 PDT." Message-ID: <20040827190947.C8554C109F@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 In message you wrote: > > Other than the readme file and sample board configuration > files, is there a comprehensive list of the > CONFIG_ > CFG_ > settings? No. > We are testing the ping command prior to attempting > downloads and the IP header fields appear to be in > Little Endian rather than Big Endian. I am not Works fine here on some ARM920T systems (and other big endian [like PowerPC] and little endian [like MIPS] systems). > using environment variables at this time, but > have filled the bdinfo structure with IP address > and MAC address. This is probably your problem. bd->bi_ip_addr is already in network byte order. > The NetCopy macros/functions don't seem to use the > ntohX and htonX macros, so I'm wondering at what point No, because all relevant data to be copied is already in network byte order. > the conversion occurs in the internal data structures? THe IP address is already stored in NWBO. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Man did not weave the web of life; he is merely a strand in it. Whatever he does to the web, he does to himself. - Seattle [1854]