rvv_application.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. {
  2. "run_config": {
  3. "target" : "hardware",
  4. "hardware" : {
  5. "baudrate": 115200,
  6. "timeout": 60
  7. },
  8. "qemu": {
  9. "qemu32": "qemu-system-riscv32",
  10. "qemu64": "qemu-system-riscv64",
  11. "timeout": 60
  12. }
  13. },
  14. "build_target": "clean all",
  15. "build_config": {
  16. },
  17. "checks": {
  18. "PASS": [],
  19. "FAIL": ["MEPC"]
  20. },
  21. "appdirs": [
  22. "application/baremetal/demo_dsp",
  23. "application/baremetal/demo_vnice"
  24. ],
  25. "appdirs_ignore": [
  26. "application/baremetal/smphello",
  27. "application/baremetal/demo_cidu",
  28. "application/baremetal/dsp_examples",
  29. "application/baremetal/Internal"
  30. ],
  31. "appconfig": {
  32. "application/baremetal/benchmark/dhrystone": {
  33. "build_config" : {},
  34. "checks": {
  35. "PASS": ["CSV, Dhrystone"]
  36. }
  37. },
  38. "application/baremetal/benchmark/whetstone": {
  39. "build_config" : {},
  40. "checks": {
  41. "PASS": ["CSV, Whetstone"]
  42. }
  43. },
  44. "application/baremetal/benchmark/coremark": {
  45. "build_config" : {},
  46. "checks": {
  47. "PASS": ["CSV, CoreMark"]
  48. }
  49. },
  50. "application/baremetal/demo_timer": {
  51. "build_config" : {},
  52. "checks": {
  53. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  54. }
  55. },
  56. "application/baremetal/helloworld": {
  57. "build_config" : {},
  58. "checks": {
  59. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  60. }
  61. },
  62. "application/baremetal/cpuinfo": {
  63. "build_config" : {},
  64. "checks": {
  65. "PASS": ["End of Nuclei CPU INFO"]
  66. }
  67. },
  68. "application/baremetal/demo_eclic": {
  69. "build_config" : {},
  70. "checks": {
  71. "PASS": ["software interrupt hit 5 times"]
  72. }
  73. },
  74. "application/baremetal/demo_smode_eclic": {
  75. "build_config" : {},
  76. "checks": {
  77. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT"]
  78. }
  79. },
  80. "application/baremetal/demo_stack_check": {
  81. "build_config" : {},
  82. "checks": {
  83. "PASS": ["Stack check demo over"]
  84. }
  85. },
  86. "application/baremetal/demo_spmp": {
  87. "build_config" : {},
  88. "checks": {
  89. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  90. }
  91. },
  92. "application/baremetal/demo_smpu": {
  93. "build_config" : {},
  94. "checks": {
  95. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  96. }
  97. },
  98. "application/baremetal/demo_cache": {
  99. "build_config" : {},
  100. "checks": {
  101. "PASS": ["[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  102. }
  103. },
  104. "application/baremetal/demo_cidu": {
  105. "build_config" : {},
  106. "checks": {
  107. "PASS": ["[ERROR]__CIDU_PRESENT must be defined as 1 in <Device>.h!", "Core 1 has received interrupt from core 0", "[WARN] SMP & CIDU not present"]
  108. }
  109. },
  110. "application/baremetal/demo_pmp": {
  111. "build_config" : {},
  112. "checks": {
  113. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  114. }
  115. },
  116. "application/baremetal/demo_nice": {
  117. "build_config" : {},
  118. "checks": {
  119. "PASS": ["PASS"],
  120. "FAIL": ["FAIL", "MEPC"]
  121. }
  122. },
  123. "application/baremetal/demo_vnice": {
  124. "build_config" : {},
  125. "checks": {
  126. "PASS": ["PASS"],
  127. "FAIL": ["FAIL", "MEPC"]
  128. }
  129. },
  130. "application/baremetal/smphello": {
  131. "build_config" : {},
  132. "checks": {
  133. "PASS": ["All harts boot successfully!"]
  134. }
  135. },
  136. "application/baremetal/lowpower": {
  137. "build_config" : {},
  138. "checks": {
  139. "PASS": ["CSV, WFI Cost,"]
  140. }
  141. },
  142. "application/baremetal/demo_dsp": {
  143. "build_config" : {},
  144. "checks": {
  145. "PASS": ["all test are passed"],
  146. "FAIL": ["test error apprears", "MEPC"]
  147. }
  148. },
  149. "application/freertos/demo": {
  150. "build_config" : {},
  151. "checks": {
  152. "PASS": ["timers Callback 3"]
  153. }
  154. },
  155. "application/rtthread/demo": {
  156. "build_config" : {},
  157. "checks": {
  158. "PASS": ["Main thread count: 3"]
  159. }
  160. },
  161. "application/rtthread/msh": {
  162. "build_config" : {},
  163. "checks": {
  164. "PASS": ["msh >", "Hello RT-Thread!"]
  165. }
  166. },
  167. "application/ucosii/demo": {
  168. "build_config" : {},
  169. "checks": {
  170. "PASS": ["task3 is running... 3"]
  171. }
  172. },
  173. "application/threadx/demo": {
  174. "build_config" : {},
  175. "checks": {
  176. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  177. }
  178. },
  179. "test/core": {
  180. "build_config" : {},
  181. "checks": {
  182. "PASS": [", 0 failed"],
  183. "FAIL": ["[FAIL]", "MEPC"]
  184. }
  185. }
  186. },
  187. "expected": {
  188. "application/baremetal/demo_vnice" : {
  189. "run": true,
  190. "build": true
  191. }
  192. }
  193. }