[U-Boot] [PATCH] colibri_vf: Increase console IO buffer size to 1024

Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com --- include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */

Hello,
Ping.
- Sanchayan.
On 15-06-08 12:40:41, Sanchayan Maity wrote:
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
2.4.2

Hello,
Another ping?
- Sanchayan.
On 15-06-08 12:40:41, Sanchayan Maity wrote:
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
2.4.2

Hi Sanchayan,
I merge it.
On 02/07/2015 07:56, maitysanchayan@gmail.com wrote:
Hello,
Another ping?
- Sanchayan.
On 15-06-08 12:40:41, Sanchayan Maity wrote:
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
2.4.2
Regards, Stefano

On 15-07-02 09:26:04, Stefano Babic wrote:
Hi Sanchayan,
I merge it.
Thanks Stefano.
- Sanchayan.
On 02/07/2015 07:56, maitysanchayan@gmail.com wrote:
Hello,
Another ping?
- Sanchayan.
On 15-06-08 12:40:41, Sanchayan Maity wrote:
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
2.4.2
Regards, Stefano
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================

On 08/06/2015 09:10, Sanchayan Maity wrote:
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot from the console.
Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index ace31a5..17418c6 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -183,7 +183,7 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_PROMPT "Colibri VFxx # " #undef CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
Applied to u-boot-imx, thanks !
Best regards, Stefano Babic
participants (3)
-
maitysanchayan@gmail.com
-
Sanchayan Maity
-
Stefano Babic