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

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@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

Dear Niklaus Giger,
In message 200811032213.48223.niklaus.giger@member.fsf.org you wrote:
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@member.fsf.org
README | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
Applied (with edits).
Please note:
1) the "v2:" part in the Subject line belongs *within* the [PATCH...] brackets, otherwise it becomes part of the commit message which makes no sense.
2) The comments above belon into the commit messages of the respective patches *or* below the '---' line.
Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Niklaus Giger
-
Wolfgang Denk