浏览代码

README: Document CONFIG_SYS parameters for vxworks

Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
Niklaus Giger 16 年之前
父节点
当前提交
0b2f4ecad4
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      README

+ 18 - 0
README

@@ -381,6 +381,24 @@ The following options need to be configured:
 		This define fills in the correct boot CPU in the boot
 		This define fills in the correct boot CPU in the boot
 		param header, the default value is zero if undefined.
 		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:
 - Serial Ports:
 		CONFIG_PL010_SERIAL
 		CONFIG_PL010_SERIAL