From 94ef30d4bcf41b341db511d158ea35d74d5eedca Mon Sep 17 00:00:00 2001 From: amazingfate Date: Fri, 19 Jul 2024 11:50:27 +0800 Subject: [PATCH] bootenv: add rk356x.txt for larger cma size --- config/bootenv/rk356x.txt | 4 ++++ config/sources/families/include/rockchip64_common.inc | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 config/bootenv/rk356x.txt diff --git a/config/bootenv/rk356x.txt b/config/bootenv/rk356x.txt new file mode 100644 index 000000000000..472418799e60 --- /dev/null +++ b/config/bootenv/rk356x.txt @@ -0,0 +1,4 @@ +verbosity=1 +bootlogo=false +console=both +extraargs=cma=256M diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index 4c2143c6984b..da6fd8dd0f35 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -126,6 +126,7 @@ case "$BOOT_SOC" in # ROCKUSB_BLOB is used to flash a board with rkdeveloptool (Linux, can use 'rkdevflash' extension) or RKDevTool (Windows) in MASKROM mode ROCKUSB_BLOB="rk35/rk356x_spl_loader_v1.21.113.bin" BOOT_SOC_MKIMAGE="rk3568" # mkimage does not know about rk3566, and rk3568 works. + BOOTENV_FILE='rk356x.txt' ;; rk3568) @@ -135,6 +136,7 @@ case "$BOOT_SOC" in BL31_BLOB="${BL31_BLOB:-"rk35/rk3568_bl31_v1.44.elf"}" # ROCKUSB_BLOB is used to flash a board with rkdeveloptool (Linux, can use 'rkdevflash' extension) or RKDevTool (Windows) in MASKROM mode ROCKUSB_BLOB="rk35/rk356x_spl_loader_v1.21.113.bin" + BOOTENV_FILE='rk356x.txt' ;; rk3576)