Skip to contentSkip to conversation

ARM: rpi: increase CONFIG_SYS_MAXARGS

PATCH In review Stephen Warren 2 participants 3 messages Feb 16, 2016 – Feb 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: rpi: increase CONFIG_SYS_MAXARGS

This allows all the hush tests implemented in test/py to pass, under qemu at least.

---
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(-)
include/configs/rpi-common.h +1 -1
index 927bae78eb5a..063a624a7400 100644
@@ -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 */
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: rpi: increase CONFIG_SYS_MAXARGS

Quoted 4 lines · Stephen Warren

This allows all the hush tests implemented in test/py to pass, under qemu at least.

For this release:

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160215/d31123c6/attachment.sig>
#2 lore raw
In reply to Stephen Warren
Quoted 5 lines · Stephen Warren

This allows all the hush tests implemented in test/py to pass, under qemu at least.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160226/97fdc209/attachment.sig>