diff mbox

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

Message ID e284a2aed7b9810961df1fa196787d8683f8e787.1433747174.git.maitysanchayan@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Sanchayan Maity June 8, 2015, 7:10 a.m. UTC
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(-)

Comments

Sanchayan Maity June 17, 2015, 10:34 a.m. UTC | #1
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
>
Sanchayan Maity July 2, 2015, 5:56 a.m. UTC | #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
>
Stefano Babic July 2, 2015, 7:26 a.m. UTC | #3
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
Sanchayan Maity July 2, 2015, 7:40 a.m. UTC | #4
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
> =====================================================================
Stefano Babic July 3, 2015, 7:38 a.m. UTC | #5
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
diff mbox

Patch

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 */