riscv64: add rv64gc linux-gnu sample

This sample works well for the SiFive U540 device (and similar).

Thanks to Jim Wilson <jimw@sifive.com> for his review, discovering
several bugs (now fixed).

Cc: Jim Wilson <jimw@sifive.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
This commit is contained in:
Paul Walmsley 2018-09-10 18:04:03 -07:00
parent 694580fa60
commit 05d74f9d63
2 changed files with 15 additions and 0 deletions

View File

@ -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"

View File

@ -0,0 +1,3 @@
reporter_name="Paul Walmsley <paul.walmsley@sifive.com>"
reporter_url="https://www.sifive.com/"
reporter_comment=""