app.json 6.6 KB

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