Skip to contentSkip to conversation

EEPROM content and multiple NIC

U-Boot-Users Frank 2 participants 2 messages Apr 20, 2005

lore
Share & tools
lore

Frank

author
#0 lore raw
Quoted 5 lines · --- Daniel Ann
Quoted 4 lines · Mark Rakes

d008 == 1101000000001000
100b == 0001000000001011

It's been a long, long time since I touched/looked at this

Quoted 9 lines

code (or the

Quoted 1 line

docs!), so don't ask me why this is like it is, but, there

you have

Quoted 1 line

it...

Hahahaha... This is so funny. Its amazing how simple one can get if
you just know why.

Looks like an endian issue to me. Just do a byte swap...

Quoted 19 lines

Thanks mark.

Signature · 15 lines
Daniel


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time
involved in
creating, integrating, and deploying reporting solutions. Free
runtime info,
new features, or free trial, at:
http://www.businessobjects.com/devxi/728
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines
Quoted 3 lines

d008 == 1101000000001000
100b == 0001000000001011

...

Quoted 1 line

Looks like an endian issue to me. Just do a byte swap...

No, not at all. Endianess affects the BYTE order, i. e. the sequence of bytes, but not the positions of the bits in a byte.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What the gods would destroy they first submit to  an  IEEE  standards
committee.