-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv64-generic: update scripts to use Phoenix SBI
JIRA: RTOS-844
- Loading branch information
Showing
5 changed files
with
21 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# Shell script for building riscv64-generic-qemu project | ||
# | ||
# Copyright 2022 Phoenix Systems | ||
# Author: Lukasz Kosinski | ||
# Copyright 2022, 2024 Phoenix Systems | ||
# Author: Lukasz Kosinski, Lukasz Leczkowski | ||
# | ||
|
||
[ "${BASH_SOURCE[0]}" -ef "$0" ] && echo "You should source this script, not execute it!" && exit 1 | ||
|
||
export PLO_DEVICES="ram-storage uart-16550" | ||
|
||
b_image_project () { | ||
b_log "Adding PLO to Phoenix SBI" | ||
make -C plo/riscv-sbi all PAYLOAD_PATH="$PREFIX_BOOT/plo.img" PAYLOAD_ADDR=0x80200000 | ||
cp "${PREFIX_PROG}sbi-${TARGET_SUBFAMILY}.elf" "$PREFIX_BOOT/" | ||
|
||
b_log "The images have been built for the ${TARGET} platform" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters