i2c question of i.MX8MPlus EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i2c question of i.MX8MPlus EVK

跳至解决方案
1,356 次查看
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 项奖励
回复
1 解答
1,304 次查看
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

在原帖中查看解决方案

1 回复
1,305 次查看
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