i2c question of i.MX8MPlus EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2c question of i.MX8MPlus EVK

Jump to solution
1,111 Views
yumi_wang
Contributor II

Hi

I can’t see any i2c bus after booting using android11 on the i.MX8MPlus EVK board (lunch evk_8mp-user)

so i add manully

CONFIG_I2C_IMX=y

CONFIG_I2C_CHARDEV=y

but when i reboot the system occur error,has anyone ever met ? (Normal in Android 10)

2.569140] i2c_imx: disagrees about version of symbol i2c_add_numbered_adapter
[ 2.576495] i2c_imx: Unknown symbol i2c_add_numbered_adapter (err -22)
[ 2.583042] i2c_imx: disagrees about version of symbol i2c_del_adapter
[ 2.589579] i2c_imx: Unknown symbol i2c_del_adapter (err -22)
[ 2.595350] i2c_imx: disagrees about version of symbol i2c_recover_bus
[ 2.601885] i2c_imx: Unknown symbol i2c_recover_bus (err -22)
[ 2.607789] i2c_imx: disagrees about version of symbol i2c_generic_scl_recovery
[ 2.615107] i2c_imx: Unknown symbol i2c_generic_scl_recovery (err -22)
[ 2.652426] cfg80211: failed to load regulatory.db
[ 2.657277] reboot: Restarting system with command 'bootloader'

 

 

0 Kudos
1 Solution
1,059 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Pls patch as below in /device/nxp

diff --git a/imx8m/evk_8mp/android_gki_defconfig b/imx8m/evk_8mp/android_gki_defconfig
index 9c1adcd9..65147571 100644
--- a/imx8m/evk_8mp/android_gki_defconfig
+++ b/imx8m/evk_8mp/android_gki_defconfig
@@ -11,6 +11,7 @@ CONFIG_PINCTRL_IMX8MP=m
 CONFIG_SERIAL_IMX=m
 CONFIG_SERIAL_IMX_CONSOLE=m
 CONFIG_IMX2_WDT=m
+CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_IMX=m
 CONFIG_MFD_PCA9450=m
 CONFIG_REGULATOR_PCA9450=m

View solution in original post

1 Reply
1,060 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Pls patch as below in /device/nxp

diff --git a/imx8m/evk_8mp/android_gki_defconfig b/imx8m/evk_8mp/android_gki_defconfig
index 9c1adcd9..65147571 100644
--- a/imx8m/evk_8mp/android_gki_defconfig
+++ b/imx8m/evk_8mp/android_gki_defconfig
@@ -11,6 +11,7 @@ CONFIG_PINCTRL_IMX8MP=m
 CONFIG_SERIAL_IMX=m
 CONFIG_SERIAL_IMX_CONSOLE=m
 CONFIG_IMX2_WDT=m
+CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_IMX=m
 CONFIG_MFD_PCA9450=m
 CONFIG_REGULATOR_PCA9450=m