rvv_application.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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": ["will not run"],
  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": ["TEE/sMPU extension is not present", "Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  102. }
  103. },
  104. "application/baremetal/exception_mmode": {
  105. "build_config" : {},
  106. "checks": {
  107. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  108. }
  109. },
  110. "application/baremetal/exception_smode": {
  111. "build_config" : {"XLCFG_SMODE": "1"},
  112. "checks": {
  113. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  114. }
  115. },
  116. "application/baremetal/exception_umode": {
  117. "build_config" : {"XLCFG_SMODE": "1"},
  118. "checks": {
  119. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  120. }
  121. },
  122. "application/baremetal/demo_cache": {
  123. "build_config" : {},
  124. "checks": {
  125. "PASS": [
  126. "must be defined",
  127. "DCache not present in CPU!",
  128. "dcachemiss_readonebyte",
  129. "when mapped value in memory has changed"
  130. ]
  131. }
  132. },
  133. "application/baremetal/demo_cidu": {
  134. "build_config" : {},
  135. "checks": {
  136. "PASS": ["must be defined", "Core 1 has received interrupt from core 0", "[WARN] SMP & CIDU not present"]
  137. }
  138. },
  139. "application/baremetal/demo_pmp": {
  140. "build_config" : {},
  141. "checks": {
  142. "PASS": ["Won't run here if violates L R\\W\\X permission check!", "will not run", "must be defined"]
  143. }
  144. },
  145. "application/baremetal/demo_nice": {
  146. "build_config" : {},
  147. "checks": {
  148. "PASS": ["PASS"],
  149. "FAIL": ["FAIL", "MEPC"]
  150. }
  151. },
  152. "application/baremetal/demo_vnice": {
  153. "build_config" : {},
  154. "checks": {
  155. "PASS": ["PASS"],
  156. "FAIL": ["FAIL", "MEPC"]
  157. }
  158. },
  159. "application/baremetal/smphello": {
  160. "build_config" : {},
  161. "checks": {
  162. "PASS": ["All harts boot successfully!"]
  163. }
  164. },
  165. "application/baremetal/lowpower": {
  166. "build_config" : {},
  167. "checks": {
  168. "PASS": ["CSV, WFI Cost,"]
  169. }
  170. },
  171. "application/baremetal/demo_dsp": {
  172. "build_config" : {},
  173. "checks": {
  174. "PASS": ["all test are passed"],
  175. "FAIL": ["test error apprears", "MEPC"]
  176. }
  177. },
  178. "application/freertos/demo": {
  179. "build_config" : {},
  180. "checks": {
  181. "PASS": ["timers Callback 3"]
  182. }
  183. },
  184. "application/rtthread/demo": {
  185. "build_config" : {},
  186. "checks": {
  187. "PASS": ["Main thread count: 3"]
  188. }
  189. },
  190. "application/rtthread/msh": {
  191. "build_config" : {},
  192. "checks": {
  193. "PASS": ["msh >", "Hello RT-Thread!"]
  194. }
  195. },
  196. "application/ucosii/demo": {
  197. "build_config" : {},
  198. "checks": {
  199. "PASS": ["task3 is running... 3"]
  200. }
  201. },
  202. "application/threadx/demo": {
  203. "build_config" : {},
  204. "checks": {
  205. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  206. }
  207. },
  208. "test/core": {
  209. "build_config" : {},
  210. "checks": {
  211. "PASS": [", 0 failed"],
  212. "FAIL": ["[FAIL]", "MEPC"]
  213. }
  214. }
  215. },
  216. "expected": {
  217. "application/baremetal/demo_vnice" : {
  218. "run": true,
  219. "build": true
  220. }
  221. }
  222. }