summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-08-30 19:01:45 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-09-04 13:35:52 +0000
commit2e378b64235957e1c75cd0482049f9e2547ccb12 (patch)
tree0a876476feb1b82227d55e05dbccfab19f43a9e8
parentbcd7b635ba26974cdf9632f214078d8079cc9a3c (diff)
agl_raspberrypi3.inc: Set CMA for SOTA
Add CMA to the kernel arguments in uEnv.txt for U-Boot in images with enabled feature agl-sota for software-over-the-air (SOTA) updates for Raspberry Pi 3 B/B+. Bug-AGL: SPEC-2729 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Id6914de6a41ebfd3fc28ca2948a15d891c9a30b3 (cherry picked from commit 86f76e0578b4cbb1a3b286b6e959e317866f9c31)
-rw-r--r--meta-agl-bsp/conf/include/agl_raspberrypi3.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
index 298cacd56..cc3074858 100644
--- a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
+++ b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
@@ -2,6 +2,8 @@
GPU_MEM = "128"
ENABLE_CMA = "1"
+# Add CMA to the kernel arguments for SOTA
+OSTREE_KERNEL_ARGS_sota_append = " cma=256M"
CMA_LWM = "16"
CMA_HWM = "32"