As the repo https://github.com/mit-pdos/xv6-public has been deprecated. I found it difficult to set up xv6. So i did a little search. Here is what i found:
-
Follow the instructions here: https://pdos.csail.mit.edu/6.828/2021/tools.html
-
Use this repo: https://github.com/mit-pdos/xv6-riscv.git instead of xv6-public.
- The code is slightly different from what professor Arpaci-Dusseau talked about in the class, but not hard to figure out.
-
And then run make qemu under the directory.
Hope this is helpful.
As the repo https://github.com/mit-pdos/xv6-public has been deprecated. I found it difficult to set up xv6. So i did a little search. Here is what i found:
Follow the instructions here: https://pdos.csail.mit.edu/6.828/2021/tools.html
Use this repo: https://github.com/mit-pdos/xv6-riscv.git instead of
xv6-public.And then run
make qemuunder the directory.Hope this is helpful.