[U-Boot] [PATCH 2/4] microblaze: Enable netconsole
Michal Simek
michal.simek at xilinx.com
Mon Apr 22 16:41:01 CEST 2013
From: Michal Simek <monstr at monstr.eu>
Setup environment and enable netconsole.
Signed-off-by: Michal Simek <monstr at monstr.eu>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
include/configs/microblaze-generic.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index d172e56..2b7ccf4 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -414,10 +414,17 @@
"nor0=flash-0\0"\
"mtdparts=mtdparts=flash-0:"\
"256k(u-boot),256k(env),3m(kernel),"\
- "1m(romfs),1m(cramfs),-(jffs2)\0"
+ "1m(romfs),1m(cramfs),-(jffs2)\0"\
+ "nc=setenv stdout nc\;"\
+ "setenv stdin nc\0" \
+ "serial=setenv stdout serial;"\
+ "setenv stdin serial\0"
#define CONFIG_CMDLINE_EDITING
+#define CONFIG_NETCONSOLE 1
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
+
/* Use the HUSH parser */
#define CONFIG_SYS_HUSH_PARSER
--
1.8.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130422/3849fbf8/attachment.pgp>
More information about the U-Boot
mailing list