From: Wolfgang Denk Date: Wed, 08 Mar 2006 18:09:11 +0100 Subject: [U-Boot-Users] I2C eeprom utilities In-Reply-To: Your message of "Wed, 08 Mar 2006 08:39:43 PST." <20060308163943.21311.qmail@web30513.mail.mud.yahoo.com> Message-ID: <20060308170911.49063353632@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 <20060308163943.21311.qmail@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