remzi-arpacidusseau / ostep-projects

Projects for an undergraduate OS course
4.33k stars 1.22k forks source link

Suggestions about setting up xv6 #39

Open erictt opened 2 years ago

erictt commented 2 years ago

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 commented 2 years ago

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

Ampretuzo commented 2 years ago

You the mvp!

feslima commented 4 months ago

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?

erictt commented 4 months ago

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 😃