11# RISC-V Developer Environment
22
3- This archive includes a 6.5-rc3 kernel and Gentoo Linux userspace configured for
3+ This archive includes a 6.6-rc7 kernel and Gentoo Linux userspace configured for
44RISC-V to enable development and testing of RVV optimizations to OSS projects.
55
66![ ] ( neofetch.png )
77
88## Getting Started
99
10- This setup has been tested with qemu-8.0.3 . To boot the VM simply run:
10+ This setup has been tested with qemu-8.1.2 . To boot the VM simply run:
1111
1212```
1313$ ./start.sh
@@ -25,22 +25,8 @@ $ ssh -p 10000 negge@localhost
2525
2626## Installed Software
2727
28- This machine has the latest developer tools installed. The following packages
29- are built for RISC-V and available to use:
30-
31- | Package | Release Date |
32- | ---------------------- | ------------ |
33- | bison-3.8.2 | 2021-9-21 |
34- | clang-16.0.6 | 2023-6-14 |
35- | cmake-3.27.1 | 2023-7-25 |
36- | flex-2.6.4 | 2022-9-24 |
37- | gcc-13.2.0 | 2023-7-27 |
38- | git-2.41.0 | 2023-6-1 |
39- | make-4.4.1 | 2023-2-26 |
40- | ninja-1.11.1 | 2022-8-30 |
41- | openssl-3.1.1 | 2023-5-30 |
42- | python-3.12.0_beta4_p1 | 2023-7-11 |
43- | rust-1.71.0 | 2023-7-12 |
28+ This machine has the latest developer tools installed. The full list of
29+ installed programs built for RISC-V can be found in [ packages.txt] ( packages.txt ) .
4430
4531## Testing RISC-V Extensions
4632
@@ -54,7 +40,7 @@ hwcap hwcap.c testrvv testrvv.as testrvv.o
54401 . The ` hwcap ` program tests that the 'V' bit is set by getauxval(AT_HWCAP)
55412 . The ` testrvv ` program executes the vsetvli instruction and returns
5642
57- These can be used to confirm that the 6.5-rc3 kernel is properly built with
43+ These can be used to confirm that the 6.6-rc7 kernel is properly built with
5844CONFIG_RISCV_ISA_V=y and CONFIG_RISCV_ISA_V_DEFAULT_ENABLE=y.
5945
6046## Advanced Use
@@ -74,8 +60,7 @@ interpreter /usr/bin/qemu-riscv64
7460...
7561```
7662
77- The VM already contains a staticly compiled x86_64 QEMU user binary with the
78- patch from [ 1] backported to qemu-8.0.3 at:
63+ The VM already contains a staticly compiled x86_64 QEMU 8.1.2 user binary at:
7964
8065```
8166/usr/bin/qemu-riscv64
@@ -112,8 +97,6 @@ extensions
11297For this reason it is recommended to develop and test RVV optimizations in
11398the emulated VM.
11499
115- [ 1] https://gitlab.com/qemu-project/qemu/-/issues/1793
116-
117100### Setting up binfmt_misc
118101The way in which ` binfmt_misc ` is set up depends on the system that is used, but
119102requires root access in all cases.
@@ -139,4 +122,4 @@ cat /proc/sys/fs/binfmt_misc/qemu-riscv64
139122# interpreter /usr/bin/qemu-riscv64-static
140123# ...
141124```
142- You should now be able to follow the remaining instructions from the previous section to launch the chroot.
125+ You should now be able to follow the remaining instructions from the previous section to launch the chroot.
0 commit comments