Skip to contentSkip to conversation

mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE

PATCH New Fabio Estevam 6 participants 24 messages Mar 2, 2015 – Mar 13, 2015 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/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.

---
 include/configs/mx6sxsabresd.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx6sxsabresd.h +0 -2
index a290129..a29d62f 100644
@@ -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
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/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.

---
 include/configs/mx6slevk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx6slevk.h +0 -2
index 1221418..21c654b 100644
@@ -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
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/14 mx6slevk: Use the default CONFIG_SYS_PBSIZE

Quoted 28 lines

-----Original Message-----
From: Fabio Estevam [mailto:fabio.estevam at freescale.com]
Sent: Tuesday, March 03, 2015 1:14 AM
To: sbabic at denx.de
Cc: u-boot at 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.

---
 include/configs/mx6slevk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx6slevk.h +0 -0
index 1221418..21c654b 100644

include/configs/mx6slevk.h line 174

Quoted 8 lines
include/configs/mx6slevk.h +1 -2
@@ -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
Quoted 3 lines
include/configs/mx6slevk.h +0 -1
--

1.9.1

#3 lore raw

PATCH 3/14 mx6qarm2: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx6qarm2.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx6qarm2.h +0 -2
index 76cfef1..5412dd3 100644
@@ -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
 
Signature · 1 line
1.9.1
#4 lore raw

PATCH 3/14 mx6qarm2: Use the default CONFIG_SYS_PBSIZE

Quoted 28 lines

-----Original Message-----
From: Fabio Estevam [mailto:fabio.estevam at freescale.com]
Sent: Tuesday, March 03, 2015 1:14 AM
To: sbabic at denx.de
Cc: u-boot at 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.

---
 include/configs/mx6qarm2.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx6qarm2.h +0 -0
index 76cfef1..5412dd3 100644

include/configs/mx6qarm2.h line 158

Quoted 8 lines
include/configs/mx6qarm2.h +1 -2
@@ -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
Quoted 3 lines
include/configs/mx6qarm2.h +0 -1
--

1.9.1

#5 lore raw

PATCH 4/14 mx53loco: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx53loco.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx53loco.h +0 -2
index 42bc3c8..3551e02 100644
@@ -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 */
 
Signature · 1 line
1.9.1
#6 lore raw

PATCH 4/14 mx53loco: Use the default CONFIG_SYS_PBSIZE

Quoted 36 lines

-----Original Message-----
From: Fabio Estevam [mailto:fabio.estevam at freescale.com]
Sent: Tuesday, March 03, 2015 1:14 AM
To: sbabic at denx.de
Cc: u-boot at 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.

---
 include/configs/mx53loco.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx53loco.h +1 -2
index 42bc3c8..3551e02 100644
@@ -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
Quoted 1 line

Size */

Quoted 3 lines

--
1.9.1

#7 lore raw

PATCH 5/14 mx51evk: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx51evk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx51evk.h +0 -2
index d6e8ec4..b0c9717 100644
@@ -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 */
 
Signature · 1 line
1.9.1
#8 lore raw

PATCH 5/14 mx51evk: Use the default CONFIG_SYS_PBSIZE

Quoted 20 lines · Fabio Estevam

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.

---
 include/configs/mx51evk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx51evk.h +0 -0
index d6e8ec4..b0c9717 100644

include/configs/mx51evk.h line 227

Quoted 8 lines
include/configs/mx51evk.h +0 -2
@@ -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 */
 

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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 at denx.de
=====================================================================
#9 lore raw

PATCH 6/14 mx35pdk: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx35pdk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx35pdk.h +0 -2
index a145f08..ae021a6 100644
@@ -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 */
 
Signature · 1 line
1.9.1
#10 lore raw

PATCH 6/14 mx35pdk: Use the default CONFIG_SYS_PBSIZE

Quoted 20 lines · Fabio Estevam

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.

---
 include/configs/mx35pdk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx35pdk.h +0 -0
index a145f08..ae021a6 100644

include/configs/mx35pdk.h line 143

Quoted 8 lines
include/configs/mx35pdk.h +0 -2
@@ -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 */
 

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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 at denx.de
=====================================================================
#11 lore raw

PATCH 7/14 mx31pdk: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx31pdk.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mx31pdk.h +0 -3
index 2a3e53c..1282a6e 100644
@@ -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 */
Signature · 1 line
1.9.1
#12 lore raw

PATCH 7/14 mx31pdk: Use the default CONFIG_SYS_PBSIZE

Hi

Quoted 20 lines · Fabio Estevam

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.

---
 include/configs/mx31pdk.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mx31pdk.h +0 -0
index 2a3e53c..1282a6e 100644

include/configs/mx31pdk.h

Quoted 10 lines
include/configs/mx31pdk.h +0 -4
@@ -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.

/Magnus

#13 lore raw

PATCH 8/14 mx25pdk: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mx25pdk.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/mx25pdk.h +0 -2
index c02e29b..bfbfc68 100644
@@ -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
 
Signature · 1 line
1.9.1
#14 lore raw

PATCH 9/14 mxs: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/mxs.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/mxs.h +0 -3
index dea8227..38b1e93 100644
@@ -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 */
Signature · 1 line
1.9.1
#15 lore raw

PATCH 9/14 mxs: Use the default CONFIG_SYS_PBSIZE

Quoted 11 lines · Fabio Estevam

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.

Best regards,
Marek Vasut

#16 lore raw

PATCH 10/14 wandboard: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/wandboard.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/wandboard.h +0 -3
index 117d1f7..b586803 100644
@@ -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
 
Signature · 1 line
1.9.1
#17 lore raw

PATCH 11/14 hummingboard: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/hummingboard.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/hummingboard.h +0 -3
index 34dbdce..973f2c5 100644
@@ -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
 
Signature · 1 line
1.9.1
#18 lore raw

PATCH 12/14 nitrogen6x: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/nitrogen6x.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/nitrogen6x.h +0 -3
index 6d379ed..8ef4b73 100644
@@ -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
 
Signature · 1 line
1.9.1
#19 lore raw

PATCH 13/14 warp: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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 <[email protected]>
---
 include/configs/warp.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/warp.h +0 -3
index babcda5..e851da0 100644
@@ -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
 
Signature · 1 line
1.9.1
#20 lore raw

PATCH 13/14 warp: Use the default CONFIG_SYS_PBSIZE

Quoted 11 lines · Fabio Estevam

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 <[email protected]>
Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#21 lore raw

PATCH 14/14 novena: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

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.

---
 include/configs/novena.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/novena.h +0 -3
index 074110c..3809c6c 100644
@@ -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 */
Signature · 1 line
1.9.1
#22 lore raw

PATCH 14/14 novena: Use the default CONFIG_SYS_PBSIZE

Quoted 11 lines · Fabio Estevam

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.

Best regards,
Marek Vasut

#23 lore raw

PATCH 1/14 mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE

In reply to Fabio Estevam

Hi Fabio,

Quoted 11 lines · Fabio Estevam

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.

---

Whole series applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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 at denx.de
=====================================================================