Power & Source of Big Ideas

I2c enable in U-Boot for Neo2

Moderators: chensy, FATechsupport

Hi I want to enable I2C in U-Boot to send boot messages to an Oled, which will later used to select the Linux of my Dualboot.
So after I enabled the I2C and see boot messages, I will try to get Dual Boot working.

I tried:
CONFIG_CMD_I2C=y
CONFIG_SYS_I2C=y
CONFIG_I2C0_ENABLE=y
CONFIG_SYS_I2C_SOFT=y
CONFIG_SOFT_I2C=y
CONFIG_SYS_I2C_BUS=0
CONFIG_SYS_I2C_SLAVE 0

and this:
CONFIG_VIDEO_LCD_PANEL_I2C=y
CONFIG_VIDEO_LCD_PANEL_I2C_SDA=PA12
CONFIG_VIDEO_LCD_PANEL_I2C_SCL=PA11

but only in the first I can see the i2c bus via the U-Boot promt, but cant access it
rlu wrote:
Hi I want to enable I2C in U-Boot to send boot messages to an Oled, which will later used to select the Linux of my Dualboot.
So after I enabled the I2C and see boot messages, I will try to get Dual Boot working.

I tried:
CONFIG_CMD_I2C=y
CONFIG_SYS_I2C=y
CONFIG_I2C0_ENABLE=y
CONFIG_SYS_I2C_SOFT=y
CONFIG_SOFT_I2C=y
gimp freejobalert notepad++
CONFIG_SYS_I2C_BUS=0
CONFIG_SYS_I2C_SLAVE 0

and this:
CONFIG_VIDEO_LCD_PANEL_I2C=y
CONFIG_VIDEO_LCD_PANEL_I2C_SDA=PA12
CONFIG_VIDEO_LCD_PANEL_I2C_SCL=PA11

but only in the first I can see the i2c bus via the U-Boot promt, but cant access it

Facing the same issue. Some help is appreciated,

Thanks in advance
Regards,
Shane

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 0 guests