From mboxrd@z Thu Jan 1 00:00:00 1970 From: S. Egbert Date: Wed, 08 Mar 2006 08:53:48 -0800 Subject: [U-Boot-Users] I2C eeprom utilities In-Reply-To: <20060308163943.21311.qmail@web30513.mail.mud.yahoo.com> References: <20060308163943.21311.qmail@web30513.mail.mud.yahoo.com> Message-ID: <440F0C1C.20907@sbcglobal.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > 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. > > I am using u-boot version 1.1.2 on a custom board with > mpc8541 cpu. > > Only last few bytes are written in flash after a sequential write block? 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. S. Egbert