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.
Hi,
I am using am3352 processor and have one carypto authentication chip connected on i2c2. Purpose of the communication with this chip is to authenticate the software at boot time and communicate at SPL level is to authenticate u-boot before handing over the command of boot process to u-boot.
I cloned the u-boot for ti 2018 and understood that common/spl/ participate in creating MLO and board/ti/am335x participate in generating u-boot.img while compiling the u-boot. is this correct? How to enable & use I2C2 at SPL & u-boot level?
Regards,
Rohit
CONFIG_SPL_BOARD_INIT
Hi Rohit,
Please, refer to linked below E2E thread which describing I2C2 u-boot configuration for Sitara am335x:
e2e.ti.com/.../508057
BR
Tsvetolin Shulev
Hi Tsvetolin,
Thanks for your quick reply.
I followed the steps mentioned in your suggested thread to enable I2C2 in u-boot and found that I2C2 is still not working. I verified it using performing read & write after I2C init, where I am able to perform read & write for I2C0 but not for I2C2. I performed read/write from board_late_init() function of board/ti/am335x/board.c file.
I want to use I2C2 from SPL also. In SPL also I2C0 is working but I have no idea about configuring I2C2. here I performed read/write after spl_board_init() call from board_init_r() function of common/spl/spl.c file.
Please let me know how to enable I2C2 from SPL and U-boot.
Regards,
Rohit