From af8da8b181c43fe97de63c39e1d14e6c59a8950b Mon Sep 17 00:00:00 2001 From: Paul Walmsley Date: Mon, 24 Sep 2018 11:09:39 -0700 Subject: riscv64: add rv64gc bare-metal sample This sample works well for building the open-source first stage bootloader for the SiFive U540 device (and similar): https://github.com/sifive/freedom-u540-c000-bootloader Signed-off-by: Paul Walmsley diff --git a/samples/riscv64-unknown-elf/crosstool.config b/samples/riscv64-unknown-elf/crosstool.config new file mode 100644 index 0000000..221ef20 --- /dev/null +++ b/samples/riscv64-unknown-elf/crosstool.config @@ -0,0 +1,7 @@ +CT_EXPERIMENTAL=y +CT_ARCH_RISCV=y +# CT_DEMULTILIB is not set +CT_ARCH_USE_MMU=y +CT_ARCH_64=y +CT_DEBUG_GDB=y +# CT_GDB_CROSS_PYTHON is not set diff --git a/samples/riscv64-unknown-elf/reported.by b/samples/riscv64-unknown-elf/reported.by new file mode 100644 index 0000000..9456e59 --- /dev/null +++ b/samples/riscv64-unknown-elf/reported.by @@ -0,0 +1,3 @@ +reporter_name="Paul Walmsley " +reporter_url="https://www.sifive.com/" +reporter_comment="" -- cgit v0.10.2-6-g49f6