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 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests