* [U-Boot] [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number
@ 2019-10-21 15:31 Anatolij Gustschin
2019-10-22 2:44 ` Peng Fan
0 siblings, 1 reply; 2+ messages in thread
From: Anatolij Gustschin @ 2019-10-21 15:31 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
include/configs/imx8qxp_mek.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
index 872805cae6..a4f1fa4e6f 100644
--- a/include/configs/imx8qxp_mek.h
+++ b/include/configs/imx8qxp_mek.h
@@ -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 */
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number
2019-10-21 15:31 [U-Boot] [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number Anatolij Gustschin
@ 2019-10-22 2:44 ` Peng Fan
0 siblings, 0 replies; 2+ messages in thread
From: Peng Fan @ 2019-10-22 2:44 UTC (permalink / raw)
To: u-boot
> 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.
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> include/configs/imx8qxp_mek.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
> index 872805cae6..a4f1fa4e6f 100644
> --- a/include/configs/imx8qxp_mek.h
> +++ b/include/configs/imx8qxp_mek.h
> @@ -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 */
> --
Reviewed-by: Peng Fan <peng.fan@nxp.com>
> 2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-22 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 15:31 [U-Boot] [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number Anatolij Gustschin
2019-10-22 2:44 ` Peng Fan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.