i2c question of i.MX8MPlus EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i2c question of i.MX8MPlus EVK

ソリューションへジャンプ
1,409件の閲覧回数
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,357件の閲覧回数
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,358件の閲覧回数
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