Gerald, do you know a faster way to write on the eeprom than that : U-Boot# i2c mw 0x50 00.2 0xaa 0x1 U-Boot# i2c mw 0x50 01.2 0x55 0x1 U-Boot# i2c mw 0x50 02.2 0x33 0x1
the last argument is the length to write, but how can I pass a string ? or an array of bytes ? Le vendredi 6 septembre 2013 18:16:49 UTC+2, Gerald a écrit : > > Yes, we use Uboot to write to the EEPROM on the board. However, you need > to use the expanded address format in your command. > > > i2c md 50 00.2 200 > > > Gerald > > > On Fri, Sep 6, 2013 at 11:07 AM, Víctor MV <[email protected] > <javascript:>> wrote: > >> I'm trying to write the "BeagleBone clone" EEPROM using u-boot through >> instructions such as: >> *U-Boot# i2c mw 0x50 0 0x10 0x11* >> (while TP2 is grounded) >> >> however it doesn't seem to change anything: >> *U-Boot# i2c md 0x50 0 0x10* >> *0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> ................* >> >> I also checked the values of the EEPROM of my original BB and the >> behaviour most of the time is: >> *U-Boot# i2c md 0x50 0 0x10* >> *0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> ................* >> After pressing *CTRL+C*, i manage to read the first line but just the >> first one: >> >> *U-Boot# <INTERRUPT>* >> *U-Boot# i2c md 0x50 0 0x10 >> * >> *0000: aa 55 33 ee 41 33 33 35 42 4f 4e 45 30 30 41 36 >> .U3.A335BONE00A6 * >> *U-Boot# >> * >> *0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> ................ * >> *U-Boot# >> * >> *0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> ................ * >> *U-Boot# >> * >> *0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >> ................ * >> >> I've seen that some other users went through this problem and were able >> to write the EEPROM from the userspace but no chance for me to do it since >> it doesn't even boot. As my understanding goes i see only one option: >> modify u-boot to hardcode these values. >> Any sugestions? >> >> Gerald, i believe you use u-boot to initialize EEPROM, right? >> >> Regards, >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
