From c06efb29861d3ed4dabc52904f1475ee5aa3f637 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Mon, 26 Feb 2024 08:47:53 +0100 Subject: [PATCH] tizen: rpi: enable 'memory' cgroup by default The 'memory' cgroup is required for Tizen, but since kernel's commit "cgroup: Disable cgroup "memory" by default" it is disabled in RPi vendor kernels. Enable it directly from command line to avoid the need of patching vendor kernels. Signed-off-by: Marek Szyprowski Change-Id: I381e3cbdaaf409649b37a685536cc3fe52044a48 --- tizen/bootscript/tizen-boot-rpi4.scr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/bootscript/tizen-boot-rpi4.scr b/tizen/bootscript/tizen-boot-rpi4.scr index bc34f03bc9..eb9d000411 100644 --- a/tizen/bootscript/tizen-boot-rpi4.scr +++ b/tizen/bootscript/tizen-boot-rpi4.scr @@ -93,7 +93,7 @@ echo "console: ${console}" setenv boot_prefixes \"/\" # To use cmdline for using serial console. /* Normal mode */ -setenv bootargs \"${tizen_bootarg} root=/dev/${rootdev} rw bootmode=${bootmode} partition_ab=${partition_ab} rootwait ${console} ${opts} ${ip_opt}\" +setenv bootargs \"${tizen_bootarg} cgroup_enable=memory root=/dev/${rootdev} rw bootmode=${bootmode} partition_ab=${partition_ab} rootwait ${console} ${opts} ${ip_opt}\" # Find the ramdisk offset and block count part start $bootdev $mmcrootdev $ramdiskpart ramdisk_start -- 2.34.1