mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
G12/GXL boards with memory of 1GB or lower are unable to boot because the CMA memory pool is set to high. Leaving CMA at the default and providing an overlay for those who need or want the CMA higher, makes more sense than not supporting all possible memory options provided by said SoC(s).
57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
From 4b6096bb3fd5bdc139a45e022e4a2380ea919dea Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Sat, 13 Apr 2019 05:41:51 +0000
|
|
Subject: [PATCH 01/90] HACK: set meson-gx cma pool to 896MB
|
|
|
|
This change sets the CMA pool to a larger 896MB! value for vdec use
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
index aa14ea017a61..99b8916e0c5d 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
@@ -58,7 +58,7 @@ secmon_reserved_bl32: secmon@5300000 {
|
|
linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
- size = <0x0 0x10000000>;
|
|
+ size = <0x0 0x38000000>;
|
|
alignment = <0x0 0x400000>;
|
|
linux,cma-default;
|
|
};
|
|
--
|
|
2.35.1
|
|
|
|
From 18586e3d94827f63903c4cd596a0a06134261c00 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Wed, 14 Aug 2019 19:58:14 +0000
|
|
Subject: [PATCH 02/90] HACK: set meson-g12 cma pool to 896MB
|
|
|
|
This change sets the CMA pool to a larger 896MB! value for vdec use
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
|
|
index f84d4b489e0b..04da23119ff1 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
|
|
@@ -116,7 +116,7 @@ secmon_reserved_bl32: secmon@5300000 {
|
|
linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
- size = <0x0 0x10000000>;
|
|
+ size = <0x0 0x38000000>;
|
|
alignment = <0x0 0x400000>;
|
|
linux,cma-default;
|
|
};
|
|
--
|
|
2.35.1
|
|
|