[U-Boot-Users] U-Boot Configuration and Endianess

Folks, I am currently porting u-boot 1.1.1 to an ARM920T core with the ELDK 2.1 tools.
Other than the readme file and sample board configuration files, is there a comprehensive list of the CONFIG_ CFG_ settings?
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 using environment variables at this time, but have filled the bdinfo structure with IP address and MAC address.
The NetCopy macros/functions don't seem to use the ntohX and htonX macros, so I'm wondering at what point the conversion occurs in the internal data structures?
Cheers, T.mike
Tools Made Tough Open Source Ambassador (c) 760.415.8792 www.recipes4linux.com

In message GEEKLLHMFHLAJOBEEELHGEBNCLAA.tmike@recipes4linux.com 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
participants (2)
-
T Michael Turney
-
Wolfgang Denk