[U-Boot] [PATCH 01/14] mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx6sxsabresd.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index a290129..a29d62f 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -134,8 +134,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 256 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx6slevk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 1221418..21c654b 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -169,8 +169,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

-----Original Message----- From: Fabio Estevam [mailto:fabio.estevam@freescale.com] Sent: Tuesday, March 03, 2015 1:14 AM To: sbabic@denx.de Cc: u-boot@lists.denx.de; Estevam Fabio-R49496; Liu Hui-R64343 Subject: [PATCH 02/14] mx6slevk: Use the default CONFIG_SYS_PBSIZE
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx6slevk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 1221418..21c654b 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -169,8 +169,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT)
#define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
Acked-by: Jason Liu r64343@freescale.com
-- 1.9.1

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx6qarm2.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 76cfef1..5412dd3 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -153,8 +153,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

-----Original Message----- From: Fabio Estevam [mailto:fabio.estevam@freescale.com] Sent: Tuesday, March 03, 2015 1:14 AM To: sbabic@denx.de Cc: u-boot@lists.denx.de; Estevam Fabio-R49496; Liu Hui-R64343 Subject: [PATCH 03/14] mx6qarm2: Use the default CONFIG_SYS_PBSIZE
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx6qarm2.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 76cfef1..5412dd3 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -153,8 +153,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT)
#define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
Acked-by: Jason Liu r64343@freescale.com
-- 1.9.1

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx53loco.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 42bc3c8..3551e02 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -182,8 +182,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */

-----Original Message----- From: Fabio Estevam [mailto:fabio.estevam@freescale.com] Sent: Tuesday, March 03, 2015 1:14 AM To: sbabic@denx.de Cc: u-boot@lists.denx.de; Estevam Fabio-R49496; Liu Hui-R64343 Subject: [PATCH 04/14] mx53loco: Use the default CONFIG_SYS_PBSIZE
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Jason Liu r64343@freescale.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx53loco.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 42bc3c8..3551e02 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -182,8 +182,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT)
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
Acked-by: Jason Liu r64343@freescale.com
-- 1.9.1

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx51evk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index d6e8ec4..b0c9717 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -222,8 +222,6 @@ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */

On 02/03/2015 18:14, Fabio Estevam wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx51evk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index d6e8ec4..b0c9717 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -222,8 +222,6 @@ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
Acked-by: Stefano Babic sbabic@denx.de
Best regards, Stefano Babic

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx35pdk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index a145f08..ae021a6 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -138,8 +138,6 @@
#define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */

On 02/03/2015 18:14, Fabio Estevam wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx35pdk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index a145f08..ae021a6 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -138,8 +138,6 @@
#define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
Acked-by: Stefano Babic sbabic@denx.de
Best regards, Stefano Babic

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Magnus Lilja lilja.magnus@gmail.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx31pdk.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 2a3e53c..1282a6e 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -121,9 +121,6 @@ */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ - sizeof(CONFIG_SYS_PROMPT)+16) /* max number of command args */ #define CONFIG_SYS_MAXARGS 16 /* Boot Argument Buffer Size */

Hi
On 2 March 2015 at 18:14, Fabio Estevam fabio.estevam@freescale.com wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Magnus Lilja lilja.magnus@gmail.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
include/configs/mx31pdk.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 2a3e53c..1282a6e 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -121,9 +121,6 @@ */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
sizeof(CONFIG_SYS_PROMPT)+16)
/* max number of command args */ #define CONFIG_SYS_MAXARGS 16 /* Boot Argument Buffer Size */ --
Looks ok to me.
Acked-by: Magnus Lilja lilja.magnus@gmail.com
/Magnus

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mx25pdk.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index c02e29b..bfbfc68 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -229,8 +229,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE
-/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Marek Vasut marex@denx.de Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/mxs.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/mxs.h b/include/configs/mxs.h index dea8227..38b1e93 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -94,9 +94,6 @@ /* U-Boot general configuration */ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */ -#define CONFIG_SYS_PBSIZE \ - (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) - /* Print buffer size */ #define CONFIG_SYS_MAXARGS 32 /* Max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot argument buffer size */

On Monday, March 02, 2015 at 06:14:33 PM, Fabio Estevam wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Marek Vasut marex@denx.de Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
Acked-by: Marek Vasut marex@denx.de
Best regards, Marek Vasut

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/wandboard.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index 117d1f7..b586803 100644 --- a/include/configs/wandboard.h +++ b/include/configs/wandboard.h @@ -249,9 +249,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/hummingboard.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/hummingboard.h b/include/configs/hummingboard.h index 34dbdce..973f2c5 100644 --- a/include/configs/hummingboard.h +++ b/include/configs/hummingboard.h @@ -185,9 +185,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Eric Nelson eric.nelson@boundarydevices.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/nitrogen6x.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 6d379ed..8ef4b73 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -325,9 +325,6 @@ #define CONFIG_SYS_PROMPT "U-Boot > " #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 48 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Otavio Salvador otavio@ossystems.com.br Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/warp.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/warp.h b/include/configs/warp.h index babcda5..e851da0 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -81,9 +81,6 @@ #define CONFIG_HW_WATCHDOG #define CONFIG_IMX_WATCHDOG #define CONFIG_WATCHDOG_TIMEOUT_MSECS 30000 /* 30s */ - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE

On Mon, Mar 2, 2015 at 2:14 PM, Fabio Estevam fabio.estevam@freescale.com wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Otavio Salvador otavio@ossystems.com.br Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
Acked-by: Otavio Salvador otavio@ossystems.com.br

Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Marek Vasut marex@denx.de Signed-off-by: Fabio Estevam fabio.estevam@freescale.com --- include/configs/novena.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/include/configs/novena.h b/include/configs/novena.h index 074110c..3809c6c 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -58,9 +58,6 @@ /* U-Boot general configurations */ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */ -#define CONFIG_SYS_PBSIZE \ - (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) - /* Print buffer size */ #define CONFIG_SYS_MAXARGS 32 /* Max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot argument buffer size */

On Monday, March 02, 2015 at 06:14:38 PM, Fabio Estevam wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Cc: Marek Vasut marex@denx.de Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
Acked-by: Marek Vasut marex@denx.de
Best regards, Marek Vasut

Hi Fabio,
On 02/03/2015 18:14, Fabio Estevam wrote:
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'".
Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem.
Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
Whole series applied to u-boot-imx, thanks !
Best regards, Stefano Babic
participants (6)
-
Fabio Estevam
-
Hui.Liu@freescale.com
-
Magnus Lilja
-
Marek Vasut
-
Otavio Salvador
-
Stefano Babic