From: Rahmat M Date: Wed, 8 Mar 2006 16:40:53 -0800 (PST) Subject: [U-Boot-Users] I2C eeprom utilities In-Reply-To: <20060308171046.5A856353632@atlas.denx.de> Message-ID: <20060309004053.45200.qmail@web30511.mail.mud.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, Thank you for your response!! Everything is working as expected now. You were correct as I found some issues with my configuration parameters. To start with atmel at24c64a eeprom expects a 2-byte offset and so forth. So for the record here are the needed configuration to get the eeprom utilities working. #define CFG_I2C_EEPROM_ADDR_LEN 2 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 #define CFG_EEPROM_PAGE_WRITE_BITS 4 Regards, Rahmat --- Wolfgang Denk wrote: > In message <440F0C1C.20907@sbcglobal.net> you wrote: > > > > > I ported and enabled the eeprom commands to > u-boot. > ... > > > idea? How to generate this bin file? Also, the > "imd" > > > command is not working properly on my set up. > ... > > > Only last few bytes are written in flash after a > sequential write block? > > No, not flash, but an EEPROM on the I2C bus. > > > Usually indicates that the flash bus has a SMALLER > bus width support > > (i.e., 8 or 16-bit) and software operation is > performing 32-bit > > operations instead. > > No. > > 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 > Q: Why do mountain climbers rope themselves > together? > A: To prevent the sensible ones from going home. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com