NMT CSE Wiki

Dept. of Computer Science & Engineering

User Tools

Site Tools


commons:xv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

commons:xv6 [2018/08/29 16:03]
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://account.cs.nmt.edu](https://account.cs.nmt.edu). 
- 
-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, you should use this ssh command 
-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'll run `make` with the right variables! First, cd into your git repository. Then it's as simple as: 
- 
-'' 
-$ 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's a good primer on tmux [[https://danielmiessler.com/study/tmux/#gs.t9gaMWc|here]]. You can see all of the options available with `-h`: 
- 
-'' 
-$ 325make -h 
-'' 
- 
-==== Alternate Method ==== 
-If you prefer to use the magic of containers, either on your own machine or on the CSE machines, there is a Ubuntu 16.04 Dockerfile created for this class located on [[https://github.com/oparkins/nmt-class-helpers/tree/master/CSE325/xv6-docker|github]]. 
  
commons/xv6.txt ยท Last modified: 2019/10/16 16:45 (external edit)