app.json 8.4 KB

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