-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
2 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,9 +1,35 @@ | ||
# bao-rpi4-bench | ||
Project using Bao hypervisor with FreeRTOS+Linux running haRTStone benchmark. | ||
|
||
Originally based on https://github.com/bao-project/bao-demos demo project but specialized for Raspberry Pi 4 | ||
Originally based on [Bao Project's][bao] demo project but specialized for Raspberry Pi 4 | ||
running FreeRTOS and Linux. FreeRTOS executes the haRTSone benchmark to determine the performance and real time capabilities of | ||
FreeRTOS running under a vm environment. | ||
|
||
# Usage | ||
## Install Dependencies | ||
|
||
``` | ||
sudo apt install build-essential bison flex git libssl-dev ninja-build \ | ||
u-boot-tools pandoc | ||
``` | ||
## Download and setup the toolchain | ||
|
||
Download the latest bare-metal cross-compile toolchain for RPI4's architecture | ||
|
||
**aarch64-none-elf-** toolchain: [Arm Developer's][arm-toolchains]. | ||
|
||
Install the toolchain. Then, set the **CROSS_COMPILE** environment variable | ||
with the reference toolchain prefix path: | ||
|
||
``` | ||
export CROSS_COMPILE=/path/to/toolchain/install/dir/bin/your-toolchain-prefix- | ||
``` | ||
|
||
## Clone Repo | ||
``` | ||
git clone --recurse-submodules https://github.com/xX7/bao-rpi4-bench.git | ||
``` | ||
|
||
<!-- Links --> | ||
|
||
[arm-toolchains]: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads | ||
[bao]: https://github.com/bao-project |