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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef __configs_chromeos_developer_h__ 7 #ifndef __configs_chromeos_developer_h__
8 #define __configs_chromeos_developer_h__ 8 #define __configs_chromeos_developer_h__
9 9
10 #include <configs/chromeos/common.h> 10 #include <configs/chromeos/common.h>
(...skipping 26 matching lines...) Expand all
37 37
38 /* 38 /*
39 * The following make using the console nicer. 39 * The following make using the console nicer.
40 */ 40 */
41 #define CONFIG_DISPLAY_CPUINFO 1 41 #define CONFIG_DISPLAY_CPUINFO 1
42 42
43 #define CONFIG_SYS_LONGHELP 1 43 #define CONFIG_SYS_LONGHELP 1
44 #define CONFIG_CMDLINE_EDITING 1 44 #define CONFIG_CMDLINE_EDITING 1
45 #define CONFIG_COMMAND_HISTORY 1 45 #define CONFIG_COMMAND_HISTORY 1
46 #define CONFIG_AUTOCOMPLETE 1 46 #define CONFIG_AUTOCOMPLETE 1
47 #define CONFIG_SYS_HUSH_PARSER 1
48 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
47 49
48 /* 50 /*
49 * Recovery, normal and stub configs define CONFIG_ENV_IS_NOWHERE, but this 51 * Recovery, normal and stub configs define CONFIG_ENV_IS_NOWHERE, but this
50 * developer config requires a saved environment. The developer header file 52 * developer config requires a saved environment. The developer header file
51 * in include/config/chromeos/<arch>/developer.h should define where the 53 * in include/config/chromeos/<arch>/developer.h should define where the
52 * environment is, for example CONFIG_ENV_IS_IN_SPI_FLASH for SPI flash. 54 * environment is, for example CONFIG_ENV_IS_IN_SPI_FLASH for SPI flash.
53 * If a saved environment is not available for a particular architecture or 55 * If a saved environment is not available for a particular architecture or
54 * board, you can define CONFIG_ENV_IS_NOWHERE in that header file instead. 56 * board, you can define CONFIG_ENV_IS_NOWHERE in that header file instead.
55 */ 57 */
56 #define CONFIG_CMD_SAVEENV 58 #define CONFIG_CMD_SAVEENV
(...skipping 11 matching lines...) Expand all
68 #define CONFIG_CMD_DHCP 70 #define CONFIG_CMD_DHCP
69 71
70 /* 72 /*
71 * BOOTP options 73 * BOOTP options
72 */ 74 */
73 #define CONFIG_BOOTP_SUBNETMASK 75 #define CONFIG_BOOTP_SUBNETMASK
74 #define CONFIG_BOOTP_GATEWAY 76 #define CONFIG_BOOTP_GATEWAY
75 #define CONFIG_BOOTP_HOSTNAME 77 #define CONFIG_BOOTP_HOSTNAME
76 #define CONFIG_BOOTP_BOOTPATH 78 #define CONFIG_BOOTP_BOOTPATH
77 79
80 #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
81 #define CONFIG_SERVERIP 10.0.0.1
82 #define CONFIG_BOOTFILE uImage
83
84 /*
85 * We decorate the nfsroot name so that multiple users / boards can easily
86 * share an NFS server:
87 * user - username, e.g. 'frank'
88 * board - board, e.g. 'seaboard'
89 * serial - serial number, e.g. '1234'
90 */
91 #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
92
93
94
78 #endif //__configs_chromeos_developer_h__ 95 #endif //__configs_chromeos_developer_h__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698