rvv_application.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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_pma": {
  87. "build_config" : {},
  88. "checks": {
  89. "PASS": ["array_read_by_row_dcache_miss_cacheable", "DCache not present in CPU", "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  90. }
  91. },
  92. "application/baremetal/demo_spmp": {
  93. "build_config" : {},
  94. "checks": {
  95. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  96. }
  97. },
  98. "application/baremetal/demo_smpu": {
  99. "build_config" : {},
  100. "checks": {
  101. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  102. }
  103. },
  104. "application/baremetal/demo_cache": {
  105. "build_config" : {},
  106. "checks": {
  107. "PASS": [
  108. "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!",
  109. "DCache not present in CPU!",
  110. "dcachemiss_readonebyte",
  111. "when mapped value in memory has changed"
  112. ]
  113. }
  114. },
  115. "application/baremetal/demo_cidu": {
  116. "build_config" : {},
  117. "checks": {
  118. "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"]
  119. }
  120. },
  121. "application/baremetal/demo_pmp": {
  122. "build_config" : {},
  123. "checks": {
  124. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  125. }
  126. },
  127. "application/baremetal/demo_nice": {
  128. "build_config" : {},
  129. "checks": {
  130. "PASS": ["PASS"],
  131. "FAIL": ["FAIL", "MEPC"]
  132. }
  133. },
  134. "application/baremetal/demo_vnice": {
  135. "build_config" : {},
  136. "checks": {
  137. "PASS": ["PASS"],
  138. "FAIL": ["FAIL", "MEPC"]
  139. }
  140. },
  141. "application/baremetal/smphello": {
  142. "build_config" : {},
  143. "checks": {
  144. "PASS": ["All harts boot successfully!"]
  145. }
  146. },
  147. "application/baremetal/lowpower": {
  148. "build_config" : {},
  149. "checks": {
  150. "PASS": ["CSV, WFI Cost,"]
  151. }
  152. },
  153. "application/baremetal/demo_dsp": {
  154. "build_config" : {},
  155. "checks": {
  156. "PASS": ["all test are passed"],
  157. "FAIL": ["test error apprears", "MEPC"]
  158. }
  159. },
  160. "application/freertos/demo": {
  161. "build_config" : {},
  162. "checks": {
  163. "PASS": ["timers Callback 3"]
  164. }
  165. },
  166. "application/rtthread/demo": {
  167. "build_config" : {},
  168. "checks": {
  169. "PASS": ["Main thread count: 3"]
  170. }
  171. },
  172. "application/rtthread/msh": {
  173. "build_config" : {},
  174. "checks": {
  175. "PASS": ["msh >", "Hello RT-Thread!"]
  176. }
  177. },
  178. "application/ucosii/demo": {
  179. "build_config" : {},
  180. "checks": {
  181. "PASS": ["task3 is running... 3"]
  182. }
  183. },
  184. "application/threadx/demo": {
  185. "build_config" : {},
  186. "checks": {
  187. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  188. }
  189. },
  190. "test/core": {
  191. "build_config" : {},
  192. "checks": {
  193. "PASS": [", 0 failed"],
  194. "FAIL": ["[FAIL]", "MEPC"]
  195. }
  196. }
  197. },
  198. "expected": {
  199. "application/baremetal/demo_vnice" : {
  200. "run": true,
  201. "build": true
  202. }
  203. }
  204. }