summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-04-25 10:49:31 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-04-29 14:12:42 (GMT)
commit9b46061689bb185673c6452d2b966e5506670cc1 (patch)
treee1bf7c5851eed43b088f8c6688fba6902e74d28c
parent8ecb49ac10bd3d446c18f58076b6aec8131c821b (diff)
downloadmeta-phytec-9b46061689bb185673c6452d2b966e5506670cc1.zip
meta-phytec-9b46061689bb185673c6452d2b966e5506670cc1.tar.bz2
barebox: imx6ul: Reduce CMA size for low cost Segin
The default CMA size of 128 MB is too big for the small 256 MB RAM of the low cost phyCORE-i.MX 6ULL. So reduce the CMA size for that board to 64 MB. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox_2019.01.0-phy2.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
index b70db94..35e67e6 100644
--- a/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
+++ b/recipes-bsp/barebox/barebox_2019.01.0-phy2.bb
@@ -318,6 +318,10 @@ python do_env_append_phyboard-segin-imx6ul-3() {
env_rm(d, "nv/bootchooser.state_prefix")
env_rm(d, "bin/rauc_flash_nand_from_mmc")
env_rm(d, "bin/rauc_flash_nand_from_tftp")
+
+ #Default CMA size (128 MB) is too big for the 256 MB RAM so it has to be
+ #reduced to 64 MB.
+ env_add(d, "nv/linux.bootargs.cma", "cma=64M\n")
}
python do_env_append_phyboard-segin-imx6ul-5() {