Jim Wilson
Jim Wilson
An embedded elf toolchain assumes you are running on bare metal. A linux toolchain assumes you are running on hardware running linux. Both will produce programs that can run on...
New issues for new questions please. For manycore support, you need to ask a linux kernel expert. I'm a compiler expert. I only know that it works for 4 cores...
Everything you need is upstream. Link kernel sources are on kernel.org. But we do have our own open embedded/yocto layer which is github.com/sifive/meta-sifive.
Ignore riscv-opcodes. It isn't used for maintaining the assembler. Just worry about your assembler changes. The assembler does a sanity check to verify that every bit is defined by an...
MATCH_MOD is the value of all of the non-operand bits. MASK_MOD is all of the non-operand bits. So the disassembler does something like "((insn ^ MATCH_MOD) & MASK_MOD) == 0"...
I suggest asking someplace where the linux folk are. Like the riscv IRC channel, or maybe the linux-riscv mailing list.
The last 15 lines of the build log don't show the error. It looks like you did a parallel make, and something else failed long before the gdb build succeeded,...
I don't know anything about sel4. If you are having a problem with that, you should probably ask the sel4 folks. You didn't show the gcc command that failed. There...
Use -march=rv64ima when compiling. However, there is the usual problem that precompiled libraries won't be available unless you built a multilib for that configure. So in general it is best...
If you use --enable-multilib, then you can use a rv64 compiler as a rv32 compiler by adding -march=X -mabi=Y options. This is the way the toolchain is intended to be...