开发环境: t2080rdb, uboot2015, vxworks7.0
还是vx7.0的更容易开发,有需要的可以找我
1. 《VxWorks_7_fsl_t2t4_BSP_Supplement_Guide__SR0620.pdf》描述:

实际上默认创建的vip,profile选项为none时,vip内核配置中是包含了INCLUDE_END选项的。所以在创建vip的时候最好就添加上PROFILE_DEVELOPMENT。

2. 内核参数
bootargs是一些网络参数设置
=> pri bootargs
bootargs=memac(1,0)b109304:vxworks h=10.0.14.213 e=10.0.14.116:ffffff00 g=10.0.14.1 u=vxworks pw=vxworks f=0x04

设置好ip地址,下载代码运行
=> pri ipaddr
ipaddr=10.0.14.15
=> pri serverip
serverip=10.0.14.213
tftp 0x2000000 uVxWorks; tftp 0xf000000 t2080rdb.dtb; bootm 0x2000000 - 0xf000000
- => tftp 0x2000000 uVxWorks; tftp 0xf000000 t2080rdb.dtb; bootm 0x2000000 - 0xf000000
- Using FM1@DTSEC4 device
- TFTP from server 10.0.14.213; our IP address is 10.0.14.15
- Filename 'uVxWorks'.
- Load address: 0x2000000
- Loading: #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- #################################################################
- ###########
- 4.5 MiB/s
- done
- Bytes transferred = 7784528 (76c850 hex)
- Using FM1@DTSEC4 device
- TFTP from server 10.0.14.213; our IP address is 10.0.14.15
- Filename 't2080rdb.dtb'.
- Load address: 0xf000000
- Loading: ##
- 1.4 MiB/s
- done
- Bytes transferred = 17504 (4460 hex)
- WARNING: adjusting available memory to 30000000
- ## Booting kernel from Legacy Image at 02000000 ...
- Image Name: vxworks
- Image Type: PowerPC VxWorks Kernel Image (uncompressed)
- Data Size: 7784464 Bytes = 7.4 MiB
- Load Address: 00100000
- Entry Point: 00100000
- Verifying Checksum ... OK
- ## Flattened Device Tree blob at 0f000000
- Booting using the fdt blob at 0xf000000
- Loading Kernel Image ... OK
- Loading Device Tree to 03fe8000, end 03fff45f ... OK
- ## Starting vxWorks at 0x00100000, device tree at 0x03fe8000 ...
- Hello, VxWorks!
- check system clock frequency
- system clock frequency: 66666667
- The (spin-table) method is found for CPU0
- CPU 0 will be released from 0x7fef4100
- The (spin-table) method is found for CPU2
- CPU 2 will be released from 0x7fef4140
- The (spin-table) method is found for CPU4
- CPU 4 will be released from 0x7fef4180
- The (spin-table) method is found for CPU6
- CPU 6 will be released from 0x7fef41c0
- reserved memory block for QMan/BMan memory at 0xfe800000 with length 0x1800000
- initialize CPU
- start CPU
- initialize MMU
- initialize base virtual memory support
- initialize virtual memory support module
- initialize inverse translation library
- initialize address space library
- initialize global mapping
- initialize board
- initialize debug console
- initialize VxBus
- install bus types:
- vxbMiiBus(MII bus type)
- vxbFdtBus(Flattened Device Tree bus type)
- vxbNexusBus(Nexus bus type)
- probe and attach devices
- kick kernel and enable secondary CPU 2
- The (fsl,spin-table) method is found for CPU2
- CPU 2 will be released from 0x001e2dc0
- kick kernel and enable secondary CPU 4
- The (fsl,spin-table) method is found for CPU4
- CPU 4 will be released from 0x001e2e00
- kick kernel and enable secondary CPU 6
- The (fsl,spin-table) method is found for CPU6
- CPU 6 will be released from 0x001e2e40
- drive is out of range (0--1).
- Target Name: vxTarget
- _________ _________
- \77777777\ /77777777/
- \77777777\ /77777777/
- \77777777\ /77777777/
- \77777777\ /77777777/
- \77777777\ \7777777/
- \77777777\ \77777/ VxWorks 7 SMP 64-bit
- \77777777\ \777/
- \77777777\ \7/ Core Kernel version: 3.1.0.0
- \77777777\ - Build date: Jul 4 2022 14:18:28
- \77777777\
- \7777777/ Copyright Wind River Systems, Inc.
- \77777/ - 1984-2022
- \777/ /7\
- \7/ /777\
- - -------
- Board: Freescale T2080RDB
- CPU Count: 8
- OS Memory Size: 4072MB
- ED&R Policy Mode: Deployed
- Debug Agent: Not started
- Stop Mode Agent: Not started
- Instantiating /ram as rawFs, device = 0x1
- Formatting /ram for DOSFS
- Instantiating /ram as rawFs, device = 0x1
- Formatting...Retrieved old volume params with %38 confidence:
- Volume Parameters: FAT type: FAT32, sectors per cluster 0
- 0 FAT copies, 0 clusters, 0 sectors per FAT
- Sectors reserved 0, hidden 0, FAT sectors 0
- Root dir entries 0, sysId (null) , serial number c0000
- Label:" " ...
- Disk with 64 sectors of 512 bytes will be formatted with:
- Volume Parameters: FAT type: FAT12, sectors per cluster 1
- 2 FAT copies, 54 clusters, 1 sectors per FAT
- Sectors reserved 1, hidden 0, FAT sectors 2
- Root dir entries 112, sysId VXDOS12 , serial number c0000
- Label:" " ...
- OK.
- Adding 11522 symbols for standalone.
- -> ls
- _user_objs.cdf
- _user_objs.nm
- build_vars_list
- ctdt.c
- ctdt.d
- ctdt.o
- dataSegPad.d
- dataSegPad.o
- linkSyms.d
- linkSyms.o
- partialImage.o
- prjConfig.d
- prjConfig.o
- romfs_image_prj.d
- romfs_image_prj.o
- romfs_image_prj.s
- symTbl.c
- symTbl.d
- symTbl.o
- sysALib.d
- sysALib.o
- sysLib.d
- sysLib.o
- t2080qds.dtb
- t2080qds.dts.s
- t2080rdb.dtb
- t2080rdb.dts.s
- t4240qds.dtb
- t4240qds.dts.s
- uVxWorks
- usrAppInit.d
- usrAppInit.o
- usrEntry.d
- usrEntry.o
- usrRtpAppInit.d
- usrRtpAppInit.o
- version.d
- version.o
- vxWorks
- vxWorks.bin
- value = 0 = 0x0
- ->