application.json 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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", "SEPC"]
  20. },
  21. "appdirs": [
  22. "application"
  23. ],
  24. "appdirs_ignore": [
  25. "application/baremetal/smphello",
  26. "application/baremetal/demo_profiling",
  27. "application/baremetal/demo_vnice",
  28. "application/baremetal/demo_cidu",
  29. "application/baremetal/demo_clint_timer",
  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", "Measured time too small to obtain meaningful results"]
  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" : {},
  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" : {},
  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" : {},
  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/demo_vnice": {
  193. "build_config" : {},
  194. "checks": {
  195. "PASS": ["PASS"],
  196. "FAIL": ["FAIL", "MEPC"]
  197. }
  198. },
  199. "application/baremetal/smphello": {
  200. "build_config" : {},
  201. "checks": {
  202. "PASS": ["All harts boot successfully!"]
  203. }
  204. },
  205. "application/baremetal/lowpower": {
  206. "build_config" : {},
  207. "checks": {
  208. "PASS": ["CSV, WFI Cost,"]
  209. }
  210. },
  211. "application/baremetal/demo_dsp": {
  212. "build_config" : {},
  213. "checks": {
  214. "PASS": ["all test are passed"],
  215. "FAIL": ["test error apprears", "MEPC"]
  216. }
  217. },
  218. "application/freertos/demo": {
  219. "build_config" : {},
  220. "checks": {
  221. "PASS": ["timers Callback 3"]
  222. }
  223. },
  224. "application/freertos/smpdemo": {
  225. "build_config" : {},
  226. "checks": {
  227. "PASS": ["timers Callback 3 on hart"]
  228. }
  229. },
  230. "application/rtthread/demo": {
  231. "build_config" : {},
  232. "checks": {
  233. "PASS": ["Main thread count: 3"]
  234. }
  235. },
  236. "application/rtthread/msh": {
  237. "build_config" : {},
  238. "checks": {
  239. "PASS": ["msh >", "Hello RT-Thread!"]
  240. }
  241. },
  242. "application/ucosii/demo": {
  243. "build_config" : {},
  244. "checks": {
  245. "PASS": ["task3 is running... 3"]
  246. }
  247. },
  248. "application/threadx/demo": {
  249. "build_config" : {},
  250. "checks": {
  251. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  252. }
  253. },
  254. "application/threadx/smpdemo": {
  255. "build_config" : {},
  256. "checks": {
  257. "PASS": ["thread 0 events sent 5, thread 0 cpu"]
  258. }
  259. },
  260. "application/baremetal/demo_sstc": {
  261. "build_config" : {},
  262. "checks": {
  263. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT", "feature are required"]
  264. }
  265. },
  266. "application/rtthread/demo_smode": {
  267. "build_config" : {},
  268. "checks": {
  269. "PASS": ["Main thread count: 3", "feature are required"]
  270. }
  271. },
  272. "test/core": {
  273. "build_config" : {},
  274. "checks": {
  275. "PASS": [", 0 failed"],
  276. "FAIL": ["[FAIL]", "MEPC"]
  277. }
  278. },
  279. "application/baremetal/demo_smpcc": {
  280. "build_config": {
  281. "MAX_L2_SIZE_KB": "4096",
  282. "CCM_EN": "1",
  283. "XLCFG_HPM": "1",
  284. "DOWNLOAD": "ddr"
  285. },
  286. "checks": {
  287. "PASS": [
  288. "End of SMPCC demo!",
  289. "SMP feature is not supported!",
  290. "There is no L2 cache or you may run on QEMU!",
  291. "L2 cache is larger than"
  292. ],
  293. "FAIL": [
  294. "MEPC",
  295. "L2 cache size is not a power of 2!"
  296. ]
  297. }
  298. },
  299. "application/baremetal/demo_ecc": {
  300. "build_config": {
  301. "CCM_EN": "1"
  302. },
  303. "checks": {
  304. "PASS": [
  305. "ECC demo passed."
  306. ],
  307. "FAIL": ["MEPC", "[ERROR]", "ECC demo failed."]
  308. }
  309. }
  310. }
  311. }