[U-Boot] [PATCH 1/4]v2: Document CONFIG_SYS parameters for vxworks

Niklaus Giger niklaus.giger at member.fsf.org
Mon Nov 3 22:13:47 CET 2008


The following improvements are made and tested on my HCUx boards:

README
- document bootvx and CONFIG_SYS_VXWORKS parameters

vxworks.h
- add new vxworks.h with some default definitions

cmd_elf.c
- fix size too small by one in sprintf
- changed old (pre 2004) device name ibmEmac to emac
- boot device may be overriden in board config
- servername may be defined in board config
- additional parameters may be defined in board config
- fixed some line wrappings
- replaced  redundant MAX define by max

netstal-common.h
use new  CONFIG_SYS_VXWORKS parameters

Signed-off-by: Niklaus Giger <niklaus.giger at member.fsf.org>
---
 README |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/README b/README
index ebee20f..10c2cec 100644
--- a/README
+++ b/README
@@ -379,6 +379,24 @@ The following options need to be configured:
 		This define fills in the correct boot CPU in the boot
 		param header, the default value is zero if undefined.

+- vxWorks boot parameters:
+
+		bootvx constructs a valid bootline using the following
+		environments variables: bootfile, ipaddr, serverip, hostname.
+		It loads the vxWorks image pointed bootfile.
+
+		CONFIG_SYS_VXWORKS_BOOT_DEVICE - The vxworks device name
+		CONFIG_SYS_VXWORKS_MAC_PTR - Ethernet 6 byte MA -address
+		CONFIG_SYS_VXWORKS_SERVERNAME - Name of the server
+		CONFIG_SYS_VXWORKS_BOOT_ADDR - Address of boot parameters
+
+		CONFIG_SYS_VXWORKS_ADD_PARAMS
+
+		Add it at the end of the bootline. E.g "u=username pw=secret"
+
+		Note: If a "bootargs" environment is defined, it will overwride
+		the defaults discussed just above.
+
 - Serial Ports:
 		CONFIG_PL010_SERIAL

--
1.6.0.2




More information about the U-Boot mailing list