SDK默认不可使用IO命令,和使用pin_debug_tool工具报错或无法读取设备配置
Index: rk3568_sdk_11/kernel/configs/r/android-4.19/android-base-conditional.xml
===================================================================
--- rk3568_sdk_11/kernel/configs/r/android-4.19/android-base-conditional.xml (revision 397)
+++ rk3568_sdk_11/kernel/configs/r/android-4.19/android-base-conditional.xml (revision 398)
@@ -17,10 +17,10 @@
<key>CONFIG_CPU_SW_DOMAIN_PAN</key>
<value type="bool">y</value>
</config>
- <config>
+ <!--<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
- </config>
+ </config> -->
<config>
<key>CONFIG_OABI_COMPAT</key>
<value type="bool">n</value>
@@ -77,10 +77,10 @@
<value type="bool">y</value>
</config>
</conditions>
- <config>
+ <!--<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
- </config>
+ </config> -->
<config>
<key>CONFIG_PAGE_TABLE_ISOLATION</key>
<value type="bool">y</value>
Index: rk3568_sdk_11/kernel/configs/r/android-4.19/android-base.config
===================================================================
--- rk3568_sdk_11/kernel/configs/r/android-4.19/android-base.config (revision 397)
+++ rk3568_sdk_11/kernel/configs/r/android-4.19/android-base.config (revision 398)
@@ -2,7 +2,6 @@
# CONFIG_ANDROID_LOW_MEMORY_KILLER is not set
# CONFIG_BPFILTER is not set
# CONFIG_CRYPTO_MD4 is not set
-# CONFIG_DEVMEM is not set
# CONFIG_FHANDLE is not set
# CONFIG_FW_CACHE is not set
# CONFIG_IP6_NF_NAT is not set
Index: rk3568_sdk_11/kernel/configs/rockchip/android-11.config
===================================================================
--- rk3568_sdk_11/kernel/configs/rockchip/android-11.config (revision 397)
+++ rk3568_sdk_11/kernel/configs/rockchip/android-11.config (revision 398)
@@ -18,6 +18,9 @@
# CONFIG_SYSVIPC is not set
# CONFIG_USELIB is not set
# CONFIG_VHOST is not set
+CONFIG_DEVMEM=y
+CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=Y
+CONFIG_STRICT_DEVMEM=Y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_AIO=y
CONFIG_ANDROID=y