app.json 7.8 KB

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