This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x starter_kit eeprom access

i have am335x_starter kit. Default Android SDK has eeprom driver. Kernel uses on board eeprom for reading board configuration data and mac address in am335x_board_evm.c file. So far so good. i want to access eeprom content from console. how can i make this?
  • Hi,

    You can use the eeprom command in u-boot:

    U-Boot# eeprom                                                                                                                                      

    eeprom - EEPROM sub-system                                                                                                                          

    Usage:                                                                                                                                              

    eeprom read  devaddr addr off cnt                                                                                                                  

    eeprom write devaddr addr off cnt                                                                                                                  

          - read/write `cnt' bytes from `devaddr` EEPROM at offset `off'                                                

    You can also use the i2c commands to read the board ID memory (eeprom). 

    Best Regards,

    Yordan