仿真平台内核初版 -tlib库 包含<sparc arm riscv powerPC>
This commit is contained in:
21
scripts/single-node/zynqmp_zephyr.resc
Normal file
21
scripts/single-node/zynqmp_zephyr.resc
Normal file
@@ -0,0 +1,21 @@
|
||||
using sysbus
|
||||
using sysbus.cluster0
|
||||
using sysbus.cluster1
|
||||
|
||||
mach create
|
||||
machine LoadPlatformDescription @platforms/cpus/zynqmp.repl
|
||||
|
||||
showAnalyzer uart0
|
||||
|
||||
$bin?=@https://dl.antmicro.com/projects/renode/zephyr-subsys_shell_shell_module-xilinx_zynqmp_r5-no_mpu.elf-s_1271676-ef03382599f6f99c4de14d1306e8a706d3cd5a0c
|
||||
|
||||
macro reset
|
||||
"""
|
||||
cluster0 ForEach IsHalted true
|
||||
cluster1 ForEach IsHalted true
|
||||
rpu0 IsHalted false
|
||||
|
||||
sysbus LoadELF $bin cpu=rpu0
|
||||
"""
|
||||
|
||||
runMacro $reset
|
||||
Reference in New Issue
Block a user