v2: Document CONFIG_SYS parameters for vxworks
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
--- README | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
README +18 -0
@@ -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
PATCH 1/4 v2: Document CONFIG_SYS parameters for vxworks
Dear Niklaus Giger,
Quoted 17 lines · In message <[email protected]> you wrote:
The following improvements are made and tested on my HCUx boards:
README
- document bootvx andCONFIG_SYS_VXWORKSparameters
vxworks.h
- add newvxworks.hwith 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
Quoted 7 lines
netstal-common.h
use newCONFIG_SYS_VXWORKSparametersSigned-off-by Niklaus Giger <[email protected]>--- 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
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Never face facts; if you do, you'll never get up in the morning." - Marlo Thomas