app.json 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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": [],
  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_clint_timer": {
  77. "build_config" : {},
  78. "checks": {
  79. "PASS": ["test finish and pass"]
  80. }
  81. },
  82. "application/baremetal/helloworld": {
  83. "build_config" : {},
  84. "checks": {
  85. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  86. }
  87. },
  88. "application/baremetal/empty": {
  89. "build_config" : {},
  90. "checks": {
  91. "PASS": ["CPU HartID"]
  92. }
  93. },
  94. "application/baremetal/demo_eclic": {
  95. "build_config" : {},
  96. "checks": {
  97. "PASS": ["software interrupt hit 5 times"]
  98. }
  99. },
  100. "application/baremetal/demo_plic": {
  101. "build_config" : {"XLCFG_PLIC": "1"},
  102. "checks": {
  103. "PASS": ["You can press any key now", "[ERROR]__PLIC_PRESENT", "PLIC is not present"]
  104. }
  105. },
  106. "application/baremetal/demo_smode_plic": {
  107. "build_config" : {"XLCFG_PLIC": "1"},
  108. "checks": {
  109. "PASS": ["You can press any key now", "[ERROR]__PMP_PRESENT & __PLIC_PRESENT", "PLIC is not present"]
  110. }
  111. },
  112. "application/baremetal/demo_smode_eclic": {
  113. "build_config" : {},
  114. "checks": {
  115. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT"]
  116. }
  117. },
  118. "application/baremetal/demo_eclic_umode": {
  119. "build_config" : {},
  120. "checks": {
  121. "PASS": ["[SUCCESS] Test M-mode drop to U-mode passed", "not present"]
  122. }
  123. },
  124. "application/baremetal/demo_eclic_stress": {
  125. "build_config" : {},
  126. "checks": {
  127. "PASS": ["PASS: All"]
  128. }
  129. },
  130. "application/baremetal/demo_spmp": {
  131. "build_config" : {},
  132. "checks": {
  133. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  134. }
  135. },
  136. "application/baremetal/demo_smpu": {
  137. "build_config" : {},
  138. "checks": {
  139. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  140. }
  141. },
  142. "application/baremetal/demo_cache": {
  143. "build_config" : {"XLCFG_CCM": "1", "XLCFG_HPM": "1", "DOWNLOAD": "ddr"},
  144. "checks": {
  145. "PASS": [
  146. "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!",
  147. "DCache not present in CPU!",
  148. "dcachemiss_readonebyte",
  149. "when mapped value in memory has changed"
  150. ]
  151. }
  152. },
  153. "application/baremetal/demo_cidu": {
  154. "build_config" : {},
  155. "checks": {
  156. "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"]
  157. }
  158. },
  159. "application/baremetal/demo_pmp": {
  160. "build_config" : {},
  161. "checks": {
  162. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  163. }
  164. },
  165. "application/baremetal/demo_nice": {
  166. "build_config" : {},
  167. "checks": {
  168. "PASS": ["PASS"],
  169. "FAIL": ["FAIL", "MEPC"]
  170. }
  171. },
  172. "application/baremetal/smphello": {
  173. "build_config" : {},
  174. "checks": {
  175. "PASS": ["All harts boot successfully!"]
  176. }
  177. },
  178. "application/baremetal/lowpower": {
  179. "build_config" : {},
  180. "checks": {
  181. "PASS": ["CSV, WFI Cost,"]
  182. }
  183. },
  184. "application/baremetal/demo_dsp": {
  185. "build_config" : {},
  186. "checks": {
  187. "PASS": ["all test are passed"],
  188. "FAIL": ["test error apprears", "MEPC"]
  189. }
  190. },
  191. "application/freertos/demo": {
  192. "build_config" : {},
  193. "checks": {
  194. "PASS": ["timers Callback 3"]
  195. }
  196. },
  197. "application/rtthread/demo": {
  198. "build_config" : {},
  199. "checks": {
  200. "PASS": ["Main thread count: 3"]
  201. }
  202. },
  203. "application/rtthread/msh": {
  204. "build_config" : {},
  205. "checks": {
  206. "PASS": ["msh >", "Hello RT-Thread!"]
  207. }
  208. },
  209. "application/ucosii/demo": {
  210. "build_config" : {},
  211. "checks": {
  212. "PASS": ["task3 is running... 3"]
  213. }
  214. },
  215. "application/threadx/demo": {
  216. "build_config" : {},
  217. "checks": {
  218. "PASS": ["thread 6_7 is running, current is 7, thread 6 counter 9, thread 7 counter 8"]
  219. }
  220. },
  221. "application/baremetal/demo_sstc": {
  222. "build_config" : {},
  223. "checks": {
  224. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT", "feature are required"]
  225. }
  226. },
  227. "application/rtthread/demo_smode": {
  228. "build_config" : {},
  229. "checks": {
  230. "PASS": ["Main thread count: 3", "feature are required"]
  231. }
  232. },
  233. "test/core": {
  234. "build_config" : {},
  235. "checks": {
  236. "PASS": [", 0 failed"],
  237. "FAIL": ["[FAIL]", "MEPC"]
  238. }
  239. },
  240. "application/baremetal/demo_stack_check": {
  241. "build_config" : {},
  242. "checks": {
  243. "PASS": ["Stack check demo over"]
  244. }
  245. },
  246. "application/baremetal/demo_pma": {
  247. "build_config" : {"XLCFG_CCM": "1", "XLCFG_HPM": "1", "DOWNLOAD": "ddr"},
  248. "checks": {
  249. "PASS": ["PMA Test finished", "DCache not present in CPU", "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!"]
  250. }
  251. },
  252. "application/baremetal/cpuinfo": {
  253. "build_config" : {},
  254. "checks": {
  255. "PASS": ["End of Nuclei CPU INFO"]
  256. }
  257. },
  258. "application/baremetal/demo_smpcc": {
  259. "build_config": {
  260. "MAX_L2_SIZE_KB": "4096",
  261. "CCM_EN": "1",
  262. "XLCFG_HPM": "1",
  263. "DOWNLOAD": "ddr"
  264. },
  265. "checks": {
  266. "PASS": [
  267. "End of SMPCC demo!",
  268. "SMP feature is not supported!",
  269. "There is no L2 cache or you may run on QEMU!",
  270. "L2 cache is larger than"
  271. ],
  272. "FAIL": [
  273. "MEPC",
  274. "L2 cache size is not a power of 2!"
  275. ]
  276. }
  277. },
  278. "application/baremetal/demo_ecc": {
  279. "build_config": {
  280. "CCM_EN": "1"
  281. },
  282. "checks": {
  283. "PASS": [
  284. "ECC demo passed."
  285. ],
  286. "FAIL": ["MEPC", "[ERROR]", "ECC demo failed."]
  287. }
  288. }
  289. }
  290. }