[U-Boot-Users] I2C eeprom utilities

Wolfgang Denk wd at denx.de
Wed Mar 8 18:09:11 CET 2006

In message <20060308163943.21311.qmail at web30513.mail.mud.yahoo.com> you wrote:
> I ported and enabled the eeprom commands to u-boot.
> From the readme file, it expects a bin file to be
> loaded into ram and then using the "eeprom write"
> command we should be able to program the eeprom. 
> => tftp 100000 eeprom.bin  
> => md 100000
> => eeprom write 100000 0 100
> => eeprom read 150000 0 100
> => md 150000
> However, when I try the above and check the eeprom
> content only the last few bytes are programmed. Any
> idea? How to generate this bin file? Also, the "imd"
> command is not working properly on my set up.

Then you misconfigured your EEPROM interface  (address  length,  page
size, ...)

> I am using u-boot version 1.1.2 on a custom board with
> mpc8541 cpu.

I wonder why everybody seems so eager to use old code...

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Landru! Guide us!
	-- A Beta 3-oid, "The Return of the Archons", stardate 3157.4

More information about the U-Boot mailing list