Skip to contentSkip to conversation

sunxi: Increase command line buffer size (CONFIG_SYS_CBSIZE)

PATCH New Ian Campbell 1 participant 1 message Oct 7, 2014 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Increase command line buffer size (CONFIG_SYS_CBSIZE)

From: Ian Campbell <[email protected]>

I was running into this limit with a not overly long PXE append line.

Since the PXE code wants to print the resulting command line increase CONFIG_SYS_PBSIZE too.

---
 include/configs/sunxi-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/sunxi-common.h +2 -2
index 1d947d7..d4419a2 100644
@@ -92,8 +92,8 @@
  * Miscellaneous configurable options
  */
 #define CONFIG_CMD_ECHO
-#define CONFIG_SYS_CBSIZE	256	/* Console I/O Buffer Size */
-#define CONFIG_SYS_PBSIZE	384	/* Print Buffer Size */
+#define CONFIG_SYS_CBSIZE	1024	/* Console I/O Buffer Size */
+#define CONFIG_SYS_PBSIZE	1024	/* Print Buffer Size */
 #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
 #define CONFIG_SYS_GENERIC_BOARD
 
Signature · 1 line
2.1.0