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.

AM62A7: Bypass Board ID EEPROM

Part Number: AM62A7

Tool/software:

Hi, 

Yocto SDK: 09_01_00

EVM: AM62A SK EVM

We are using above mention EVK and SDK for our product evaluation. In our final custom board design, we have removed board ID EEPROM. We want to bypass the EEPROM. So, It won't stop u-boot from booting. Is below change will work for our device?

In "u-boot/board/ti/common/board_detect.c", add "return 1;" at the start of the function board_ti_k3_is(). 

Regards,

Jay

  • Hello Jay,

    I am sending your thread to a member of our team who is more familiar with u-boot. They are in India, so they have already logged off for the day on Friday. Please ping the thread if you do not get a response within a couple of business days.

    Regards,

    Nick

  • Hi,

    Update here.

    I have tried to return "false" from board_ti_k3_is() in order to stop the u-boot. But I found that board_ti_k3_is() is not getting called at all in am62a7 EVK. I have added the print like "pr_err("In %s\n", __func__);" this and I am not getting this print. And returning the false from board_ti_k3_is() is not stopping board from boot. 

    So, Is eeprom not checked for board id in am62a7 board? If eeprom is checked, where should we do the changes to bypass it?

    Regards,

    Jay 

  • Hi, 

    Any update on this thread. We will be receiving the custom board by tomorrow. Please can we have clarity on this? So, we don't get stuck in board bring-up. 

    Regards,

    Jay

  • Hi Jay,

    Looks like EEPROM is already disabled for AM62A. Please try the following fix:

    ~/src/ti/uboot$ gd
    diff --git a/board/ti/am62ax/Kconfig b/board/ti/am62ax/Kconfig
    index 61f289faccd9b..42f5f8c42f3a5 100644
    --- a/board/ti/am62ax/Kconfig
    +++ b/board/ti/am62ax/Kconfig
    @@ -13,7 +13,6 @@ config TARGET_AM62A7_A53_EVM
            select BINMAN
            imply BOARD
            imply SPL_BOARD
    -       imply TI_I2C_BOARD_DETECT
    
     config TARGET_AM62A7_R5_EVM
            bool "TI K3 based AM62A7 EVM running on R5"
    @@ -25,7 +24,6 @@ config TARGET_AM62A7_R5_EVM
            select K3_DDRSS
            select BINMAN
            imply SYS_K3_SPL_ATF
    -       imply TI_I2C_BOARD_DETECT
    
     endchoice
     

    Regards,
    Aparna