app.json 7.7 KB

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