Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: include/configs/chromeos/developer.h

Issue 6480056: Add four main boot methods to developer build (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Fixed # on end of serial Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/configs/chromeos/developer.h
diff --git a/include/configs/chromeos/developer.h b/include/configs/chromeos/developer.h
index f6cfa2d97dbc27c3b87057d05c97d6dc4e3ee93a..0c07e04ade8fb90eda4e814f332cb3ed3ff1e3d9 100644
--- a/include/configs/chromeos/developer.h
+++ b/include/configs/chromeos/developer.h
@@ -44,6 +44,8 @@
#define CONFIG_CMDLINE_EDITING 1
#define CONFIG_COMMAND_HISTORY 1
#define CONFIG_AUTOCOMPLETE 1
+#define CONFIG_SYS_HUSH_PARSER 1
+#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
/*
* Recovery, normal and stub configs define CONFIG_ENV_IS_NOWHERE, but this
@@ -75,4 +77,19 @@
#define CONFIG_BOOTP_HOSTNAME
#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_IPADDR 10.0.0.2
vb 2011/02/17 18:00:20 why is this default setting required? You mention
sjg 2011/02/17 18:55:47 The problem is not DHCP server support, but access
vb 2011/02/17 19:07:24 I am almost splitting hairs here, but it could be
sjg 2011/02/17 19:35:51 Sadly it doesn't work here. It is pretty common f
+#define CONFIG_SERVERIP 10.0.0.1
+#define CONFIG_BOOTFILE uImage
+
+/*
+ * We decorate the nfsroot name so that multiple users / boards can easily
+ * share an NFS server:
+ * user - username, e.g. 'frank'
+ * board - board, e.g. 'seaboard'
+ * serial - serial number, e.g. '1234'
+ */
+#define CONFIG_ROOTPATH "/export/nfsroot-${user}-${board}-${serial#}"
vb 2011/02/17 18:00:20 how about pulling these from build environment?
sjg 2011/02/17 18:55:47 Can you explain that, please? Not sure what you me
vb 2011/02/17 19:07:24 What I mean to say is that ${user} could be ${USER
sjg 2011/02/17 19:35:51 OK I see. I think this is a good idea. However U-B
+
+
+
#endif //__configs_chromeos_developer_h__

Powered by Google App Engine
This is Rietveld 408576698