ostep-projects icon indicating copy to clipboard operation
ostep-projects copied to clipboard

Suggestions about setting up xv6

Open erictt opened this issue 2 years ago • 4 comments

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:

  1. Follow the instructions here: https://pdos.csail.mit.edu/6.828/2021/tools.html

  2. 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.
  3. And then run make qemu under the directory.

Hope this is helpful.

erictt avatar Mar 19 '22 17:03 erictt

In case someone wants to use xv6-riscv repo. I updated the test cases for initial-xv6 so it can run properly against xv6-riscv.

Here is the changes:

https://github.com/erictt/ostep-projects/commit/7d9e53fedcc97038809f27b98e7e5298fb99d563

erictt avatar Mar 21 '22 19:03 erictt

You the mvp!

Ampretuzo avatar May 09 '22 10:05 Ampretuzo

Sorry for necroing 😄. @erictt I've seen your adustments for the tests of the initial-xv6 assignments in 7d9e53fedcc97038809f27b98e7e5298fb99d563. Were you able to progress further in other assignments without these kinds of hiccups?

feslima avatar Jul 04 '24 23:07 feslima

Sorry for necroing 😄. @erictt I've seen your adustments for the tests of the initial-xv6 assignments in 7d9e53f. Were you able to progress further in other assignments without these kinds of hiccups?

Sorry, i don't remember. It was quite awhile ago 😃

erictt avatar Jul 05 '24 02:07 erictt