app.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. "parallel" : "-j",
  18. "build_target": "clean all",
  19. "build_config": {
  20. },
  21. "checks": {
  22. "PASS": ["will not run"],
  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. "run_config": {
  49. "hardware": {
  50. "timeout": 360
  51. }
  52. },
  53. "checks": {
  54. "PASS": ["CSV, Whetstone"]
  55. }
  56. },
  57. "application/baremetal/benchmark/dhrystone_v2.2": {
  58. "build_config" : {},
  59. "checks": {
  60. "PASS": ["CSV, Dhrystone_v2.2"]
  61. }
  62. },
  63. "application/baremetal/benchmark/whetstone_v1.2": {
  64. "build_config" : {},
  65. "run_config": {
  66. "hardware": {
  67. "timeout": 360
  68. }
  69. },
  70. "checks": {
  71. "PASS": ["CSV, Whetstone_v1.2"]
  72. }
  73. },
  74. "application/baremetal/benchmark/coremark": {
  75. "build_config" : {},
  76. "checks": {
  77. "PASS": ["CSV, CoreMark"]
  78. }
  79. },
  80. "application/baremetal/demo_timer": {
  81. "build_config" : {},
  82. "checks": {
  83. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  84. }
  85. },
  86. "application/baremetal/demo_profiling": {
  87. "build_config" : {},
  88. "checks": {
  89. "PASS": ["Dump profiling data finished"]
  90. }
  91. },
  92. "application/baremetal/demo_clint_timer": {
  93. "build_config" : {},
  94. "checks": {
  95. "PASS": ["test finish and pass"]
  96. }
  97. },
  98. "application/baremetal/helloworld": {
  99. "build_config" : {},
  100. "checks": {
  101. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  102. }
  103. },
  104. "application/baremetal/empty": {
  105. "build_config" : {},
  106. "checks": {
  107. "PASS": ["CPU HartID"]
  108. }
  109. },
  110. "application/baremetal/demo_eclic": {
  111. "build_config" : {},
  112. "checks": {
  113. "PASS": ["software interrupt hit 5 times"]
  114. }
  115. },
  116. "application/baremetal/demo_backtrace": {
  117. "build_config" : {},
  118. "checks": {
  119. "PASS": ["Test completed"],
  120. "FAIL": ["MEPC", "ERROR"]
  121. }
  122. },
  123. "application/baremetal/demo_plic": {
  124. "build_config" : {"XLCFG_PLIC": "1"},
  125. "checks": {
  126. "PASS": ["You can press any key now", "must be defined", "PLIC is not present"]
  127. }
  128. },
  129. "application/baremetal/demo_smode_plic": {
  130. "build_config" : {"XLCFG_PLIC": "1"},
  131. "checks": {
  132. "PASS": ["You can press any key now", "must be defined", "PLIC is not present"]
  133. }
  134. },
  135. "application/baremetal/demo_smode_eclic": {
  136. "build_config" : {},
  137. "checks": {
  138. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "must be defined"]
  139. }
  140. },
  141. "application/baremetal/demo_eclic_umode": {
  142. "build_config" : {},
  143. "checks": {
  144. "PASS": ["[SUCCESS] Test M-mode drop to U-mode passed", "not present"]
  145. }
  146. },
  147. "application/baremetal/demo_eclic_stress": {
  148. "build_config" : {},
  149. "checks": {
  150. "PASS": ["PASS: All"]
  151. }
  152. },
  153. "application/baremetal/demo_spmp": {
  154. "build_config" : {},
  155. "checks": {
  156. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "must be defined"]
  157. }
  158. },
  159. "application/baremetal/demo_smpu": {
  160. "build_config" : {},
  161. "checks": {
  162. "PASS": ["TEE/sMPU extension is not present", "Won't run here if violates rules check!", "must be defined"]
  163. }
  164. },
  165. "application/baremetal/exception_mmode": {
  166. "build_config" : {},
  167. "checks": {
  168. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  169. }
  170. },
  171. "application/baremetal/exception_smode": {
  172. "build_config" : {"XLCFG_SMODE": "1"},
  173. "checks": {
  174. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  175. }
  176. },
  177. "application/baremetal/exception_umode": {
  178. "build_config" : {"XLCFG_SMODE": "1"},
  179. "checks": {
  180. "PASS": ["must be defined", "exception test finish and pass", "will not run this example"]
  181. }
  182. },
  183. "application/baremetal/demo_cache": {
  184. "build_config" : {"XLCFG_CCM": "1", "XLCFG_HPM": "1", "DOWNLOAD": "ddr"},
  185. "checks": {
  186. "PASS": [
  187. "must be defined",
  188. "DCache not present in CPU!",
  189. "dcachemiss_readonebyte",
  190. "when mapped value in memory has changed"
  191. ]
  192. }
  193. },
  194. "application/baremetal/demo_cidu": {
  195. "build_config" : {},
  196. "checks": {
  197. "PASS": ["must be defined", "Core 1 has received interrupt from core 0", "[WARN] SMP & CIDU not present"]
  198. }
  199. },
  200. "application/baremetal/demo_pmp": {
  201. "build_config" : {},
  202. "checks": {
  203. "PASS": ["Won't run here if violates L R\\W\\X permission check!", "will not run", "must be defined"]
  204. }
  205. },
  206. "application/baremetal/demo_nice": {
  207. "build_config" : {},
  208. "checks": {
  209. "PASS": ["PASS"],
  210. "FAIL": ["FAIL", "MEPC"]
  211. }
  212. },
  213. "application/baremetal/smphello": {
  214. "build_config" : {},
  215. "checks": {
  216. "PASS": ["All harts boot successfully!"]
  217. }
  218. },
  219. "application/baremetal/lowpower": {
  220. "build_config" : {},
  221. "checks": {
  222. "PASS": ["CSV, WFI Cost,"]
  223. }
  224. },
  225. "application/baremetal/demo_dsp": {
  226. "build_config" : {},
  227. "checks": {
  228. "PASS": ["all test are passed"],
  229. "FAIL": ["test error apprears", "MEPC"]
  230. }
  231. },
  232. "application/freertos/demo": {
  233. "build_config" : {},
  234. "checks": {
  235. "PASS": ["timers Callback 3"]
  236. }
  237. },
  238. "application/rtthread/demo": {
  239. "build_config" : {},
  240. "checks": {
  241. "PASS": ["Main thread count: 3"]
  242. }
  243. },
  244. "application/rtthread/msh": {
  245. "build_config" : {},
  246. "checks": {
  247. "PASS": ["msh >", "Hello RT-Thread!"]
  248. }
  249. },
  250. "application/ucosii/demo": {
  251. "build_config" : {},
  252. "checks": {
  253. "PASS": ["task3 is running... 3"]
  254. }
  255. },
  256. "application/threadx/demo": {
  257. "build_config" : {},
  258. "checks": {
  259. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  260. }
  261. },
  262. "application/baremetal/demo_sstc": {
  263. "build_config" : {},
  264. "checks": {
  265. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "must be defined", "feature are required"]
  266. }
  267. },
  268. "application/rtthread/demo_smode": {
  269. "build_config" : {},
  270. "checks": {
  271. "PASS": ["Main thread count: 3", "feature are required"]
  272. }
  273. },
  274. "test/core": {
  275. "build_config" : {},
  276. "checks": {
  277. "PASS": [", 0 failed"],
  278. "FAIL": ["[FAIL]", "MEPC"]
  279. }
  280. },
  281. "application/baremetal/demo_stack_check": {
  282. "build_config" : {},
  283. "checks": {
  284. "PASS": ["Stack check demo over"]
  285. }
  286. },
  287. "application/baremetal/demo_pma": {
  288. "build_config" : {"XLCFG_CCM": "1", "XLCFG_HPM": "1", "DOWNLOAD": "ddr"},
  289. "checks": {
  290. "PASS": ["PMA Test finished", "DCache not present in CPU", "must be defined"]
  291. }
  292. },
  293. "application/baremetal/cpuinfo": {
  294. "build_config" : {},
  295. "checks": {
  296. "PASS": ["End of Nuclei CPU INFO"]
  297. }
  298. },
  299. "application/baremetal/demo_smpcc": {
  300. "build_config": {
  301. "MAX_L2_SIZE_KB": "4096",
  302. "CCM_EN": "1",
  303. "XLCFG_HPM": "1",
  304. "DOWNLOAD": "ddr"
  305. },
  306. "checks": {
  307. "PASS": [
  308. "End of SMPCC demo!",
  309. "SMP feature is not supported!",
  310. "There is no L2 cache or you may run on QEMU!",
  311. "L2 cache is larger than"
  312. ],
  313. "FAIL": [
  314. "MEPC",
  315. "L2 cache size is not a power of 2!"
  316. ]
  317. }
  318. },
  319. "application/baremetal/demo_ecc": {
  320. "build_config": {
  321. "CCM_EN": "1"
  322. },
  323. "checks": {
  324. "PASS": [
  325. "ECC demo passed."
  326. ],
  327. "FAIL": ["MEPC", "[ERROR]", "ECC demo failed."]
  328. }
  329. },
  330. "application/baremetal/demo_smode_clint": {
  331. "build_config" : {},
  332. "checks": {
  333. "PASS": [
  334. "test finish and pass",
  335. "must be defined"
  336. ]
  337. }
  338. }
  339. }
  340. }