ARM: tegra: increase buffer size and sys args num
PATCH 1/1 ARM: tegra: increase buffer size and sys args num
From: Bryan Wu <[email protected]>
Tegra kernel booting needs a long bootargs command line.
Default value of CONFIG_SYS_CBSIZE is too small to printf out the long command line and will cause system panic.
Default value of CONFIG_SYS_MAXARGS is too small to setenv bootargs as the long command line, then kernel won't boot without the complete bootargs.
Increase this 2 config options solve this problem.
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by Michael Scott <[email protected]>
Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Bryan Wu <[email protected]>
--- include/configs/tegra-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/tegra-common.h +2 -2
@@ -107,11 +107,11 @@* Increasing the size of the IO buffer as default nfsargs size is more * than 256 and so it is not possible to edit it */ -#define CONFIG_SYS_CBSIZE (256 * 2)/* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE (1024 * 2)/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ sizeof(CONFIG_SYS_PROMPT) + 16) -#define CONFIG_SYS_MAXARGS 16/* max number of command args */ +#define CONFIG_SYS_MAXARGS 64/* max number of command args */ /* Boot Argument Buffer Size */ #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
Signature · 1 line
1.9.1