app.json 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. {
  2. "run_config": {
  3. "target" : "hardware",
  4. "hardware" : {
  5. "baudrate": 115200,
  6. "timeout": 180
  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"
  23. ],
  24. "appdirs_ignore": [
  25. "application/baremetal/smphello",
  26. "application/baremetal/demo_profiling",
  27. "application/baremetal/demo_nice",
  28. "application/baremetal/demo_vnice",
  29. "application/baremetal/demo_cidu",
  30. "application/baremetal/dsp_examples",
  31. "application/freertos/smpdemo",
  32. "application/threadx/smpdemo",
  33. "application/baremetal/Internal"
  34. ],
  35. "appconfig": {
  36. "application/baremetal/benchmark/dhrystone": {
  37. "build_config" : {},
  38. "checks": {
  39. "PASS": ["CSV, Dhrystone"]
  40. }
  41. },
  42. "application/baremetal/benchmark/whetstone": {
  43. "build_config" : {},
  44. "checks": {
  45. "PASS": ["CSV, Whetstone"]
  46. }
  47. },
  48. "application/baremetal/benchmark/dhrystone_v2.2": {
  49. "build_config" : {},
  50. "checks": {
  51. "PASS": ["CSV, Dhrystone_v2.2"]
  52. }
  53. },
  54. "application/baremetal/benchmark/whetstone_v1.2": {
  55. "build_config" : {},
  56. "checks": {
  57. "PASS": ["CSV, Whetstone_v1.2"]
  58. }
  59. },
  60. "application/baremetal/benchmark/coremark": {
  61. "build_config" : {},
  62. "checks": {
  63. "PASS": ["CSV, CoreMark"]
  64. }
  65. },
  66. "application/baremetal/demo_timer": {
  67. "build_config" : {},
  68. "checks": {
  69. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  70. }
  71. },
  72. "application/baremetal/demo_profiling": {
  73. "build_config" : {},
  74. "checks": {
  75. "PASS": ["Dump profiling data finished"]
  76. }
  77. },
  78. "application/baremetal/demo_clint_timer": {
  79. "build_config" : {},
  80. "checks": {
  81. "PASS": ["test finish and pass"]
  82. }
  83. },
  84. "application/baremetal/empty": {
  85. "build_config" : {},
  86. "checks": {
  87. "PASS": ["CPU HartID"]
  88. }
  89. },
  90. "application/baremetal/helloworld": {
  91. "build_config" : {},
  92. "checks": {
  93. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  94. }
  95. },
  96. "application/baremetal/cpuinfo": {
  97. "build_config" : {},
  98. "checks": {
  99. "PASS": ["End of Nuclei CPU INFO"]
  100. }
  101. },
  102. "application/baremetal/demo_eclic": {
  103. "build_config" : {},
  104. "checks": {
  105. "PASS": ["software interrupt hit 5 times"]
  106. }
  107. },
  108. "application/baremetal/demo_plic": {
  109. "build_config" : {"XLCFG_PLIC": "1"},
  110. "checks": {
  111. "PASS": ["You can press any key now", "[ERROR]__PLIC_PRESENT", "PLIC is not present"]
  112. }
  113. },
  114. "application/baremetal/demo_smode_plic": {
  115. "build_config" : {"XLCFG_PLIC": "1"},
  116. "checks": {
  117. "PASS": ["You can press any key now", "[ERROR]__PMP_PRESENT & __PLIC_PRESENT", "PLIC is not present"]
  118. }
  119. },
  120. "application/baremetal/demo_smode_eclic": {
  121. "build_config" : {},
  122. "checks": {
  123. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT"]
  124. }
  125. },
  126. "application/baremetal/demo_eclic_umode": {
  127. "build_config" : {},
  128. "checks": {
  129. "PASS": ["[SUCCESS] Test M-mode drop to U-mode passed", "not present"]
  130. }
  131. },
  132. "application/baremetal/demo_eclic_stress": {
  133. "build_config" : {},
  134. "checks": {
  135. "PASS": ["PASS: All"]
  136. }
  137. },
  138. "application/baremetal/demo_stack_check": {
  139. "build_config" : {},
  140. "checks": {
  141. "PASS": ["Stack check demo over"]
  142. }
  143. },
  144. "application/baremetal/demo_pma": {
  145. "build_config" : {"XLCFG_CCM": "1", "XLCFG_HPM": "1", "DOWNLOAD": "ddr"},
  146. "checks": {
  147. "PASS": ["PMA Test finished", "DCache not present in CPU", "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  148. }
  149. },
  150. "application/baremetal/demo_spmp": {
  151. "build_config" : {},
  152. "checks": {
  153. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  154. }
  155. },
  156. "application/baremetal/demo_smpu": {
  157. "build_config" : {},
  158. "checks": {
  159. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  160. }
  161. },
  162. "application/baremetal/demo_cache": {
  163. "build_config" : {},
  164. "checks": {
  165. "PASS": [
  166. "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!",
  167. "DCache not present in CPU!",
  168. "dcachemiss_readonebyte",
  169. "when mapped value in memory has changed"
  170. ]
  171. }
  172. },
  173. "application/baremetal/demo_cidu": {
  174. "build_config" : {},
  175. "checks": {
  176. "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"]
  177. }
  178. },
  179. "application/baremetal/demo_pmp": {
  180. "build_config" : {},
  181. "checks": {
  182. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  183. }
  184. },
  185. "application/baremetal/demo_nice": {
  186. "build_config" : {},
  187. "checks": {
  188. "PASS": ["PASS"],
  189. "FAIL": ["FAIL", "MEPC"]
  190. }
  191. },
  192. "application/baremetal/smphello": {
  193. "build_config" : {},
  194. "checks": {
  195. "PASS": ["All harts boot successfully!"]
  196. }
  197. },
  198. "application/baremetal/lowpower": {
  199. "build_config" : {},
  200. "checks": {
  201. "PASS": ["CSV, WFI Cost,"]
  202. }
  203. },
  204. "application/baremetal/demo_dsp": {
  205. "build_config" : {},
  206. "checks": {
  207. "PASS": ["all test are passed"],
  208. "FAIL": ["test error apprears", "MEPC"]
  209. }
  210. },
  211. "application/freertos/demo": {
  212. "build_config" : {},
  213. "checks": {
  214. "PASS": ["timers Callback 3"]
  215. }
  216. },
  217. "application/rtthread/demo": {
  218. "build_config" : {},
  219. "checks": {
  220. "PASS": ["Main thread count: 3"]
  221. }
  222. },
  223. "application/rtthread/msh": {
  224. "build_config" : {},
  225. "checks": {
  226. "PASS": ["msh >", "Hello RT-Thread!"]
  227. }
  228. },
  229. "application/ucosii/demo": {
  230. "build_config" : {},
  231. "checks": {
  232. "PASS": ["task3 is running... 3"]
  233. }
  234. },
  235. "application/threadx/demo": {
  236. "build_config" : {},
  237. "checks": {
  238. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  239. }
  240. },
  241. "application/baremetal/demo_sstc": {
  242. "build_config" : {},
  243. "checks": {
  244. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT", "feature are required"]
  245. }
  246. },
  247. "application/rtthread/demo_smode": {
  248. "build_config" : {},
  249. "checks": {
  250. "PASS": ["Main thread count: 3", "feature are required"]
  251. }
  252. },
  253. "test/core": {
  254. "build_config" : {},
  255. "checks": {
  256. "PASS": [", 0 failed"],
  257. "FAIL": ["[FAIL]", "MEPC"]
  258. }
  259. }
  260. }
  261. }