From 05d74f9d63aaeaa8afebf77f3dce64aa2a7fdde6 Mon Sep 17 00:00:00 2001 From: Paul Walmsley Date: Mon, 10 Sep 2018 18:04:03 -0700 Subject: riscv64: add rv64gc linux-gnu sample This sample works well for the SiFive U540 device (and similar). Thanks to Jim Wilson for his review, discovering several bugs (now fixed). Cc: Jim Wilson Signed-off-by: Paul Walmsley diff --git a/samples/riscv64-unknown-linux-gnu/crosstool.config b/samples/riscv64-unknown-linux-gnu/crosstool.config new file mode 100644 index 0000000..66c288d --- /dev/null +++ b/samples/riscv64-unknown-linux-gnu/crosstool.config @@ -0,0 +1,12 @@ +CT_EXPERIMENTAL=y +CT_ARCH_RISCV=y +# CT_DEMULTILIB is not set +CT_ARCH_USE_MMU=y +CT_ARCH_64=y +CT_KERNEL_LINUX=y +CT_DEBUG_GDB=y +# CT_GDB_CROSS_PYTHON is not set +# CT_GDB_GDBSERVER is not set +CT_ZLIB_NEEDED=y +CT_TARGET_VENDOR="unknown" +CT_ARCH_ARCH="rv64gc" diff --git a/samples/riscv64-unknown-linux-gnu/reported.by b/samples/riscv64-unknown-linux-gnu/reported.by new file mode 100644 index 0000000..9456e59 --- /dev/null +++ b/samples/riscv64-unknown-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Paul Walmsley " +reporter_url="https://www.sifive.com/" +reporter_comment="" -- cgit v0.10.2-6-g49f6