Page 1 of 1

I2c enable in U-Boot for Neo2

Posted: Wed Nov 14, 2018 9:05 am
by rlu
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

Re: I2c enable in U-Boot for Neo2

Posted: Wed Oct 16, 2019 4:48 pm
by BrianL
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