$ sudo apt-get install device-tree-compiler
$ mkdir build
$ cd build
$ ../configure --prefix=$RISCV
$ make
$ sudo make install
--with-isa=RV64IMAFDC Sets the default RISC-V ISA
--with-priv=MSU Sets the default RISC-V privilege modes supported
--with-varch=vlen:128,elen:64,slen:128
--enable-commitlog Enable commit log generation
--enable-histogram Enable PC histogram generation
--enable-dual-endian Enable support for running target in either
spike [host options] [target options
更多回帖