1:name: PolarFire SoC
2:description: This is a sample script prepared to create a PolarFire SoC platform
3
4$bin?=@https://dl.antmicro.com/projects/renode/pse-freertos-lwip.elf-s_1413416-f348e11b20bd1a8cb24c39e888cf6430e4ee4035
5
6using sysbus
7mach create
8
9machine LoadPlatformDescription @platforms/cpus/polarfire-soc.repl
10
11showAnalyzer mmuart0
12
13macro reset
14"""
15   sysbus LoadELF $bin
16"""
17runMacro $reset
18
19## Alternatively, to start GDB and load from SoftConsole:
20# machine StartGdbServer 3333 true
21## Remember! After the connection is done and the binary is loaded, you have to issue:
22# u54_1 PC `e51 PC`
23## for every core you need to use as GDB initializes only the e51 core.
24## If you don't want the core to run, issue:
25# u54_4 IsHalted true
26