Skip to content

Commit

Permalink
Merge pull request #1 from szsam/patch-1
Browse files Browse the repository at this point in the history
Update 00_assignment.md
  • Loading branch information
Machiry authored Jan 12, 2024
2 parents 8b98708 + 38b1fea commit b090a77
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions _assignments/00_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ a [Compiler toolchain](#compiler-tool-chain), including assembler, linker, C com
debugger, for compiling and testing your kernel.

## Using `eceprog`
All the required tools are already present on `eceprog`. You need to configure your `PATH` variable as follows:
```
setenv PATH=~amachiry/qemu/i386-softmmu:$PATH
```
All the required compiler toolchains are already present on `eceprog`. But **you need to compile QEMU yourself by following
instructions [below](#configuring-qemu) (skipping `sudo apt-get install` commands)**.

~~All the required tools are already present on `eceprog`. You need to configure your `PATH` variable as follows:~~
~~`setenv PATH=~amachiry/qemu/i386-softmmu:$PATH`~~

**If you are using bash shell**: append the line `export PATH=~amachiry/qemu/i386-softmmu:$PATH` at the end of your `~/.bashrc`.
~~**If you are using bash shell**: append the line `export PATH=~amachiry/qemu/i386-softmmu:$PATH` at the end of your `~/.bashrc`.~~

You should be good to go from here.
~~You should be good to go from here.~~

You will be using `tmux` for debugging and it is better to brush up your `tmux` basics

Expand Down Expand Up @@ -126,19 +127,23 @@ git clone https://github.com/EE469/ee469-qemu.git ~/qemu

```
cd ~/qemu
mkdir build
```

On Ubuntu:

```
./configure --disable-kvm --disable-werror --prefix=~/qemu/build --target-list="i386-softmmu x86_64-softmmu" --python=python2
./configure --disable-kvm --disable-werror --target-list="i386-softmmu x86_64-softmmu" --python=python2
```

On MacOSX:

```
./configure --disable-kvm --disable-werror --disable-sdl --prefix=~/qemu/build --target-list="i386-softmmu x86_64-softmmu"
./configure --disable-kvm --disable-werror --disable-sdl --target-list="i386-softmmu x86_64-softmmu"
```

### Compiling:
```
make
```

### Changing your path
Expand Down Expand Up @@ -314,4 +319,4 @@ line should be self-explanatory. See `info registers` for a description of the
register dump that follows.

**Note**: If you're running a pre-0.15 version of QEMU, the log will be
written to ``/tmp`` instead of the current directory.
written to ``/tmp`` instead of the current directory.

0 comments on commit b090a77

Please sign in to comment.