[U-Boot] [PATCH] ARM: rpi: increase CONFIG_SYS_MAXARGS

This allows all the hush tests implemented in test/py to pass, under qemu at least.
Signed-off-by: Stephen Warren swarren@wwwdotorg.org --- Note, RPi U-Boot only fully works under a downstream U-Boot at present: https://github.com/0xabu/qemu. Upstreaming is in progress. --- include/configs/rpi-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h index 927bae78eb5a..063a624a7400 100644 --- a/include/configs/rpi-common.h +++ b/include/configs/rpi-common.h @@ -117,7 +117,7 @@ #define CONFIG_PREBOOT "usb start"
/* Shell */ -#define CONFIG_SYS_MAXARGS 8 +#define CONFIG_SYS_MAXARGS 16 #define CONFIG_COMMAND_HISTORY
/* Commands */

On Mon, Feb 15, 2016 at 05:38:02PM -0700, Stephen Warren wrote:
This allows all the hush tests implemented in test/py to pass, under qemu at least.
Signed-off-by: Stephen Warren swarren@wwwdotorg.org
For this release: Reviewed-by: Tom Rini trini@konsulko.com
For longer term, I really need to (and put on my TODO list) to see about Kconfig'ing this and defaulting 64 which is set as the default on TI platforms iirc due to some hush quirks about how setenv? works with very long arguments and escape sequences.

On Mon, Feb 15, 2016 at 05:38:02PM -0700, Stephen Warren wrote:
This allows all the hush tests implemented in test/py to pass, under qemu at least.
Signed-off-by: Stephen Warren swarren@wwwdotorg.org Reviewed-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!
participants (2)
-
Stephen Warren
-
Tom Rini