Hi again, > Ah, this is interesting. I was about to tell you to use the "standard" > i2c commands to transfer data from the chip into memory and then use the > hush shell and the standard "itest *addr = 1" facility. Unfortunately, > the "i2c" subsystem does not implement such functionality. So currently > I would advise to implement such "read" and "write" operations to > transfer to/from memory. > > With this addition, you could even propose a patch to remove crc32 > subcommand from i2c as this can then be done in two steps. So maybe you > can even get away with this addition without adding anything to the > binary size of U-Boot ;) In the meantime I found the "eeprom" command, which should allow you to transfer the data into memory. Still I believe the proposed additions/removals to the "i2c" subsystem to be worthwhile.
Cheers Detlev -- Microsoft gives you windows, Linux gives you the whole house. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot