summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-02-21 16:12:22 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-02-22 14:20:08 +0100
commit3129dfc0d5756047838f9ace400a3fcefb81e089 (patch)
tree0e3d2940b2b09c0a80de30297d219482b65d12ba /recipes-kernel
parent1c74c7eb6e078b5bdf9b81f05a9e19652915a7b7 (diff)
linux-toradex-ti: set cma size to 128m
Our 1GB RAM size doesn't allow 512MB of CMA. Without CMA graphics is not started. Related-to: ELB-5041 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-toradex-ti/am62_defconfig.patch3
-rw-r--r--recipes-kernel/linux/linux-toradex-ti/defconfig2
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-toradex-ti/am62_defconfig.patch b/recipes-kernel/linux/linux-toradex-ti/am62_defconfig.patch
index bf462ee..d9a7190 100644
--- a/recipes-kernel/linux/linux-toradex-ti/am62_defconfig.patch
+++ b/recipes-kernel/linux/linux-toradex-ti/am62_defconfig.patch
@@ -415,7 +415,8 @@ Add addionally the PMIC used
CONFIG_CRYPTO_DEV_SA2UL=m
+CONFIG_CORDIC=m
CONFIG_DMA_CMA=y
- CONFIG_CMA_SIZE_MBYTES=512
+-CONFIG_CMA_SIZE_MBYTES=512
++CONFIG_CMA_SIZE_MBYTES=128
CONFIG_PRINTK_TIME=y
+CONFIG_DYNAMIC_DEBUG=y
CONFIG_DEBUG_INFO=y
diff --git a/recipes-kernel/linux/linux-toradex-ti/defconfig b/recipes-kernel/linux/linux-toradex-ti/defconfig
index 21bc20b..ad02159 100644
--- a/recipes-kernel/linux/linux-toradex-ti/defconfig
+++ b/recipes-kernel/linux/linux-toradex-ti/defconfig
@@ -916,7 +916,7 @@ CONFIG_CRYPTO_DEV_CCREE=m
CONFIG_CRYPTO_DEV_SA2UL=m
CONFIG_CORDIC=m
CONFIG_DMA_CMA=y
-CONFIG_CMA_SIZE_MBYTES=512
+CONFIG_CMA_SIZE_MBYTES=128
CONFIG_PRINTK_TIME=y
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DEBUG_INFO=y