Skip to content

Commit 766ba92

Browse files
committed
readme: gem5 and docker getting started make awesomer
1 parent 5ed2fcb commit 766ba92

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ For the most part, if you just add the `--gem5` option or `*-gem5` suffix to all
339339

340340
....
341341
./configure -g && \
342-
./build-gem5 --arch aarch64 && \
343-
./build-buildroot --arch aarch64 --gem5 && \
344-
./run --arch aarch64 --gem5 &&\
342+
./build-gem5 && \
343+
./build-buildroot --gem5 && \
344+
./run --gem5 &&\
345345
:;
346346
....
347347

@@ -356,7 +356,7 @@ To get a terminal, either open a new shell and run:
356356
or if you are inside tmux, which I highly recommend, just run gem5 with:
357357

358358
....
359-
./run --tmux
359+
./run --gem5 --tmux
360360
....
361361

362362
This will open up a split terminal by default so that you can see both the gem5 stdout and the terminal. See also: <<tmux-gem5>>
@@ -380,7 +380,7 @@ More information at: <<gem5>>
380380
[[docker]]
381381
=== QEMU Buildroot setup inside Docker
382382

383-
This is the same as the native <<qemu-buildroot-setup>>, but run from inside a Docker on the host.
383+
This is the same as the native <<qemu-buildroot-setup>>, but run from inside a link:https://en.wikipedia.org/wiki/Docker_(software)[Docker] on the host.
384384

385385
This is a good option if you are on a Linux host, but the native setup failed due to your weird host distribution, and you have better things to do with your life than to debug it.
386386

@@ -412,7 +412,7 @@ The host git top level directory is mounted inside the guest, which means for ex
412412

413413
Just don't forget that if you nuke that directory on the guest, then it gets nuked on the host as well!
414414

415-
Trying to run the output from Docker from host won't however, I think the main reason is that the absolute paths inside Docker are will be different than the host ones, but even if we fix that there will likely be other problems.
415+
Trying to run the output from Docker from host won't however, I think the main reason is that the absolute paths inside Docker are different than the host ones, but even if we fix that there will likely be other problems.
416416

417417
TODO make files created inside Docker be owned by the current user in host instead of `root`: https://stackoverflow.com/questions/23544282/what-is-the-best-way-to-manage-permissions-for-docker-shared-volumes
418418

@@ -560,7 +560,7 @@ It has however severe limitations, and you will soon see that the compilation ti
560560
** your disk could get erased. Yes, this can also happen with `sudo` from userland. But you should not use `sudo` when developing newbie programs. And for the kernel you don't have the choice not to use `sudo`.
561561
** even more subtle system corruption such as https://unix.stackexchange.com/questions/78858/cannot-remove-or-reinsert-kernel-module-after-error-while-inserting-it-without-r[not being able to rmmod]
562562
* can't control which hardware is used, notably the CPU architecture
563-
* can't step debug it with <<gdb,GDB>> easily. The alternatives are JTAG or <<kgdb>>, but those are less reliable, and JTAG requires extra hardware.
563+
* can't step debug it with <<gdb,GDB>> easily. The alternatives are link:https://en.wikipedia.org/wiki/JTAG[JTAG] or <<kgdb>>, but those are less reliable, and require extra hardware.
564564

565565
Still interested?
566566

0 commit comments

Comments
 (0)