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.

Linux/PROCESSOR-SDK-AM437X: AM437X-SK accidentally erased EEPROM

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Linux

Hi,

I accidentally erased the EEPROM on my AM437x Start kit board and now it won't boot into U-Boot: 

CCCCCCCC

U-Boot SPL 2014.07-gfb6ab76 (Jul 06 2015 - 16:10:49)
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.
 Board '\' not supported

What's the best way for me to restore the EEPROM contents?

Thanks,

Andy

  • Hello Andy,

    You probably erased the first bit of your EEPROM content. To fix this.

    Download and install the latest AM437x Processor SDK.

    Apply this patch to hardcode the board name to AM43__SK.

    cd <Processor SDK>/board-support/u-boot-<version>/
    git apply 0001-AM437x-Hardcode-EEPROM-board-name-to-AM43__SK.patch

    Go to the top Processor SDK directory and type make u-boot_clean && make u-boot to rebuild the U-Boot.

    cd ../../
    make u-boot_clean && make u-boot

    Copy the new MLO and u-boot.img to SD card's boot partition and power on your board.

    Stop the booting in U-Boot console and reprogram the EEPROM by these commands in U-Boot or by these in Linux.

    You can find the AM437x SK EEPROM I2C ID Memory layout in the AM437x StarterKit EVM Hardware User's Guide here in Table 5.

    Best regards,
    Kemal

  • Thanks very much. I can now boot my board. The only suggestion I have is to correct the Board Name in Table 5 in the User's Guide. It should be "AM43__SK', not "XXXXXXX".
  • Thank you for the suggestion. I've submitted documentation feedback based on your comment.