mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
17
board/spike/riscv64/start.sh
Executable file
17
board/spike/riscv64/start.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
|
||||
SCRIPT_DIR="$(dirname "$0")"
|
||||
BR_BASEDIR="$(readlink -e "${SCRIPT_DIR}/../../..")"
|
||||
|
||||
# spike uses dtc at runtime startup, so make sure buildroot host
|
||||
# directory is in the PATH
|
||||
export PATH="${BR_BASEDIR}/output/host/usr/bin:$PATH"
|
||||
|
||||
# Use Buildroot host spike by default, but allow the caller to
|
||||
# redefine another spike binary
|
||||
: "${SPIKE:=spike}"
|
||||
|
||||
exec "${SPIKE}" \
|
||||
--initrd "${BR_BASEDIR}"/output/images/rootfs.cpio \
|
||||
"${@}" \
|
||||
"${BR_BASEDIR}"/output/images/fw_payload.elf
|
||||
Reference in New Issue
Block a user