blob: 7e521321a84eeb6150f9a381c025f6e218163a13 [file] [log] [blame]
# This script runs OpenSBI, U-Boot and Linux on the BeagleV StarLight platform in Renode
# Linux login
# user: root
# pswd: starfive
$name?="BeagleV"
$bin?=@https://dl.antmicro.com/projects/renode/beaglev--fw_payload.elf-s_1218880-55f2d87dc1257f8e490cb4bdada2131d2b10d636
$uboot?=@https://dl.antmicro.com/projects/renode/beaglev--u-boot-s_5095752-2cf964e876967f92065b012bd826e9f04ebea9d7
$linux?=@https://dl.antmicro.com/projects/renode/beaglev--vmlinux-s_13244120-1fca14926a0b891b58bb716a9422dbbbca6543d2
$fit?=@https://dl.antmicro.com/projects/renode/beaglev--image.fit-s_83025501-3c24fa8a3dd087ac05f6a17399ff2f44f673e1c4
emulation SetSeed 0x1
using sysbus
mach create $name
machine LoadPlatformDescription @platforms/boards/beaglev_starlight.repl
emulation SetGlobalSerialExecution True
showAnalyzer uart3
macro reset
"""
sysbus LoadELF $bin
sysbus LoadSymbolsFrom $uboot
sysbus LoadSymbolsFrom $linux
sysbus LoadBinary $fit 0xa0000000
"""
runMacro $reset
echo "Script loaded. Now start with with the 'start' command."
echo ""