app.json 6.6 KB

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