summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBryan Wu <pengw@nvidia.com>2016-09-01 23:49:57 +0000
committerTom Warren <twarren@nvidia.com>2016-09-27 09:11:01 -0700
commit64a4fe74014b31df767e23ee67ae61eba807f6ca (patch)
tree002e95caf295b816e256729297e66201e22e305c /include/configs
parentcbe7706ab8aab06c18edaa9b120371f9c8012728 (diff)
ARM: tegra: increase console buffer size and sys args num
The Linux-for-Tegra kernel uses a very long command line. The default value of CONFIG_SYS_CBSIZE is too small to printf out the long command line and causes a message like: bootarg overflow 602+0+0+1 > 512 on the console, and the board refuses to boot. The default value of CONFIG_SYS_MAXARGS is too small to add a long long command line, and the kernel won't boot without the complete bootargs. Increasing these two config options solves this problem. Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Peter Chubb <Peter.Chubb@data61.csiro.au> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tegra-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 29614e0f9e..1385d316d3 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -76,11 +76,12 @@
* 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 32 /* 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)