[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updating Sheevaplug and Openrd patches for u-boot v2014.07



Out Of Topic;

What do you think about addind Hush Shell [1] to sheevaplugs ?
Enabling Sheevaplug with script command line parser.

[1] http://www.denx.de/wiki/view/DULG/CommandLineParsing

Enjoy,
Gérald
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index cdb4b45..b0671ae 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -64,6 +64,14 @@
 #define CONFIG_ENV_OFFSET		0x80000	/* env starts here */
 
 /*
+ * Enable scripting function
+ */
+#undef CONFIG_SYS_MAXARGS
+#define CONFIG_SYS_MAXARGS	64	/* max number of command args */
+#define CONFIG_SYS_HUSH_PARSER		/* Enable the "hush" shell */
+#define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
+
+/*
  * Default environment variables
  */
 #define CONFIG_BOOTCOMMAND		"${x_bootcmd_kernel}; "	\

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: