• uboot引导vxworks--t4080调试记录


    开发环境: 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

    1. => tftp 0x2000000 uVxWorks; tftp 0xf000000 t2080rdb.dtb; bootm 0x2000000 - 0xf000000
    2. Using FM1@DTSEC4 device
    3. TFTP from server 10.0.14.213; our IP address is 10.0.14.15
    4. Filename 'uVxWorks'.
    5. Load address: 0x2000000
    6. Loading: #################################################################
    7. #################################################################
    8. #################################################################
    9. #################################################################
    10. #################################################################
    11. #################################################################
    12. #################################################################
    13. #################################################################
    14. ###########
    15. 4.5 MiB/s
    16. done
    17. Bytes transferred = 7784528 (76c850 hex)
    18. Using FM1@DTSEC4 device
    19. TFTP from server 10.0.14.213; our IP address is 10.0.14.15
    20. Filename 't2080rdb.dtb'.
    21. Load address: 0xf000000
    22. Loading: ##
    23. 1.4 MiB/s
    24. done
    25. Bytes transferred = 17504 (4460 hex)
    26. WARNING: adjusting available memory to 30000000
    27. ## Booting kernel from Legacy Image at 02000000 ...
    28. Image Name: vxworks
    29. Image Type: PowerPC VxWorks Kernel Image (uncompressed)
    30. Data Size: 7784464 Bytes = 7.4 MiB
    31. Load Address: 00100000
    32. Entry Point: 00100000
    33. Verifying Checksum ... OK
    34. ## Flattened Device Tree blob at 0f000000
    35. Booting using the fdt blob at 0xf000000
    36. Loading Kernel Image ... OK
    37. Loading Device Tree to 03fe8000, end 03fff45f ... OK
    38. ## Starting vxWorks at 0x00100000, device tree at 0x03fe8000 ...
    39. Hello, VxWorks!
    40. check system clock frequency
    41. system clock frequency: 66666667
    42. The (spin-table) method is found for CPU0
    43. CPU 0 will be released from 0x7fef4100
    44. The (spin-table) method is found for CPU2
    45. CPU 2 will be released from 0x7fef4140
    46. The (spin-table) method is found for CPU4
    47. CPU 4 will be released from 0x7fef4180
    48. The (spin-table) method is found for CPU6
    49. CPU 6 will be released from 0x7fef41c0
    50. reserved memory block for QMan/BMan memory at 0xfe800000 with length 0x1800000
    51. initialize CPU
    52. start CPU
    53. initialize MMU
    54. initialize base virtual memory support
    55. initialize virtual memory support module
    56. initialize inverse translation library
    57. initialize address space library
    58. initialize global mapping
    59. initialize board
    60. initialize debug console
    61. initialize VxBus
    62. install bus types:
    63. vxbMiiBus(MII bus type)
    64. vxbFdtBus(Flattened Device Tree bus type)
    65. vxbNexusBus(Nexus bus type)
    66. probe and attach devices
    67. kick kernel and enable secondary CPU 2
    68. The (fsl,spin-table) method is found for CPU2
    69. CPU 2 will be released from 0x001e2dc0
    70. kick kernel and enable secondary CPU 4
    71. The (fsl,spin-table) method is found for CPU4
    72. CPU 4 will be released from 0x001e2e00
    73. kick kernel and enable secondary CPU 6
    74. The (fsl,spin-table) method is found for CPU6
    75. CPU 6 will be released from 0x001e2e40
    76. drive is out of range (0--1).
    77. Target Name: vxTarget
    78. _________ _________
    79. \77777777\ /77777777/
    80. \77777777\ /77777777/
    81. \77777777\ /77777777/
    82. \77777777\ /77777777/
    83. \77777777\ \7777777/
    84. \77777777\ \77777/ VxWorks 7 SMP 64-bit
    85. \77777777\ \777/
    86. \77777777\ \7/ Core Kernel version: 3.1.0.0
    87. \77777777\ - Build date: Jul 4 2022 14:18:28
    88. \77777777\
    89. \7777777/ Copyright Wind River Systems, Inc.
    90. \77777/ - 1984-2022
    91. \777/ /7\
    92. \7/ /777\
    93. - -------
    94. Board: Freescale T2080RDB
    95. CPU Count: 8
    96. OS Memory Size: 4072MB
    97. ED&R Policy Mode: Deployed
    98. Debug Agent: Not started
    99. Stop Mode Agent: Not started
    100. Instantiating /ram as rawFs, device = 0x1
    101. Formatting /ram for DOSFS
    102. Instantiating /ram as rawFs, device = 0x1
    103. Formatting...Retrieved old volume params with %38 confidence:
    104. Volume Parameters: FAT type: FAT32, sectors per cluster 0
    105. 0 FAT copies, 0 clusters, 0 sectors per FAT
    106. Sectors reserved 0, hidden 0, FAT sectors 0
    107. Root dir entries 0, sysId (null) , serial number c0000
    108. Label:" " ...
    109. Disk with 64 sectors of 512 bytes will be formatted with:
    110. Volume Parameters: FAT type: FAT12, sectors per cluster 1
    111. 2 FAT copies, 54 clusters, 1 sectors per FAT
    112. Sectors reserved 1, hidden 0, FAT sectors 2
    113. Root dir entries 112, sysId VXDOS12 , serial number c0000
    114. Label:" " ...
    115. OK.
    116. Adding 11522 symbols for standalone.
    117. -> ls
    118. _user_objs.cdf
    119. _user_objs.nm
    120. build_vars_list
    121. ctdt.c
    122. ctdt.d
    123. ctdt.o
    124. dataSegPad.d
    125. dataSegPad.o
    126. linkSyms.d
    127. linkSyms.o
    128. partialImage.o
    129. prjConfig.d
    130. prjConfig.o
    131. romfs_image_prj.d
    132. romfs_image_prj.o
    133. romfs_image_prj.s
    134. symTbl.c
    135. symTbl.d
    136. symTbl.o
    137. sysALib.d
    138. sysALib.o
    139. sysLib.d
    140. sysLib.o
    141. t2080qds.dtb
    142. t2080qds.dts.s
    143. t2080rdb.dtb
    144. t2080rdb.dts.s
    145. t4240qds.dtb
    146. t4240qds.dts.s
    147. uVxWorks
    148. usrAppInit.d
    149. usrAppInit.o
    150. usrEntry.d
    151. usrEntry.o
    152. usrRtpAppInit.d
    153. usrRtpAppInit.o
    154. version.d
    155. version.o
    156. vxWorks
    157. vxWorks.bin
    158. value = 0 = 0x0
    159. ->

  • 相关阅读:
    抢先看!阿里发布2023最新版分布式核心小册,GitHub标星破已千万
    gitLab更新11.11.3->16.1.5
    德鲁伊(Druid)后台监控配置详细操作,别再怕找不到疑难杂症
    logback 将日志保存CSV文件
    中国大模型语料数据联盟迎来9家新成员,开源第二批语料数据
    【ubuntu】本地访问ubuntu服务器的jupyter文件,.ipynb误删除找回、恢复
    单独用HTML javascript CSS 写三版99乘法表,我就是班里最靓的仔
    算法训练 第四周
    CentOS(2)——rpm和yum区别与联系
    【LeetCode力扣】86. 分隔链表
  • 原文地址:https://blog.csdn.net/muaxi8/article/details/125600310