Skip to contentSkip to conversation

imx: imx8qxp_mek: increase buffer sizes and args number

PATCH New Anatolij Gustschin 2 participants 2 messages Oct 21, 2019 – Oct 22, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: imx8qxp_mek: increase buffer sizes and args number

The default value of CONFIG_SYS_CBSIZE is too small when we need to input long commands or when using long kernel command line.

The default value of CONFIG_SYS_MAXARGS is too small to add a long command line, and the kernel might not boot as intended without the complete bootargs. Increase argument buffer sizes and the number of arguments.

---
 include/configs/imx8qxp_mek.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/imx8qxp_mek.h +5 -0
index 872805cae6..a4f1fa4e6f 100644
@@ -164,4 +164,9 @@
 #define CONFIG_FEC_XCV_TYPE		RGMII
 #define FEC_QUIRK_ENET_MAC
 
+/* Misc configuration */
+#define CONFIG_SYS_CBSIZE	2048
+#define CONFIG_SYS_MAXARGS	64
+#define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
+
 #endif /* __IMX8QXP_MEK_H */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 imx: imx8qxp_mek: increase buffer sizes and args number

Quoted 20 lines

Subject: [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number

The default value of CONFIG_SYS_CBSIZE is too small when we need to input long commands or when using long kernel command line.

The default value of CONFIG_SYS_MAXARGS is too small to add a long command line, and the kernel might not boot as intended without the complete bootargs. Increase argument buffer sizes and the number of arguments.

---
 include/configs/imx8qxp_mek.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/imx8qxp_mek.h +0 -0
index 872805cae6..a4f1fa4e6f 100644

include/configs/imx8qxp_mek.h

Quoted 10 lines
include/configs/imx8qxp_mek.h +5 -1
@@ -164,4 +164,9 @@
 #define CONFIG_FEC_XCV_TYPE		RGMII
 #define FEC_QUIRK_ENET_MAC
 
+/* Misc configuration */
+#define CONFIG_SYS_CBSIZE	2048
+#define CONFIG_SYS_MAXARGS	64
+#define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
+
 #endif /* __IMX8QXP_MEK_H */
--
Quoted 1 line

2.17.1