This shows you the differences between two versions of the page.
commons:xv6 [2018/08/27 17:04] wmyers |
commons:xv6 [2019/10/16 16:45] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | = How to run xv6/jos on a CSE machine | ||
- | == 0: Get a CSE account | ||
- | |||
- | First, you'll need a CSE account. The instructions for getting one can be | ||
- | found at [https:// | ||
- | |||
- | You can use the *guest* account on a lab machine, but your data will be deleted on logout! | ||
- | |||
- | == 1: Log into a CSE machine | ||
- | |||
- | You can SSH into a CSE login machine like so: | ||
- | |||
- | '' | ||
- | $ ssh USER@login.cs.nmt.edu | ||
- | '' | ||
- | |||
- | If you'd like to use qemu graphically, | ||
- | instead: | ||
- | |||
- | '' | ||
- | $ ssh -XYC USER@login.cs.nmt.edu | ||
- | '' | ||
- | |||
- | There are more in-depth instructions [[ssh|here]]. Or, of course, you can log into any CSE lab machine. | ||
- | |||
- | == 2: Make and run xv6/jos | ||
- | |||
- | We've created a wrapper script that' | ||
- | |||
- | '' | ||
- | $ 325make qemu-nox-gdb | ||
- | '' | ||
- | |||
- | If you'd like to also launch gdb at the same time you can run: | ||
- | |||
- | '' | ||
- | $ 325make --gdb | ||
- | '' | ||
- | |||
- | This command will start up a tmux session; there' | ||
- | |||
- | '' | ||
- | $ 325make -h | ||
- | '' |