885 Commits

Author SHA1 Message Date
2927ed330a readme: document gem5 userland arm unexplicable jump 2018-03-25 12:21:48 +01:00
233e0b485c build: fix f unbound 2018-03-25 11:31:48 +01:00
cf840529fc readme: fixes on run and build usage pages 2018-03-24 23:00:04 +00:00
8184bbd803 readme: gem5 and qemu same config fix header depths 2018-03-24 22:58:23 +00:00
b13595273e run: make text mode (-n) the default
Rename the opposite graphics mode to -x.
2018-03-24 22:48:41 +00:00
baccf8ff07 build: -l touches config files to overcome https://stackoverflow.com/questions/49260466/why-when-i-change-br2-linux-kernel-custom-config-file-and-run-make-linux-reconfi
Introduce -G option that forces gem5 rebuild in addition to -g.
2018-03-24 22:22:27 +00:00
39ad57a309 gem5: improve userland debug documentaion
Factor out with QEMU since the procedure is exactly the same.
2018-03-24 21:15:16 +00:00
9c5a4aff71 Fix BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE which was never getting added
Make BR2_EXTERNAL paths relative to make things more absolute path independent.
2018-03-24 20:46:00 +00:00
348b8c47ef add tmu script that was forgotten 2018-03-24 20:45:53 +00:00
3eac2c53a2 gem5 getting started better run command 2018-03-24 07:42:53 +00:00
6e9f3dcf23 Document gem5 userland debugging
This lead to an infinite chaing of refactorings:

Fix arm and aarch64 lx-symbols

This was just by chance, a continue GDB command was needed before running it.

I noticed that there is no more need for the x86 GDB --ex 'set arch i386:x86-64:intel'
thing and unified all archs. TODO bisect where that was fixed and understand why.

Add debug kernel configs for gem5 kernel.

Document gem5 aarch64 gdb debug doesn't work.

Document tmux split pane action.
2018-03-23 20:55:26 +00:00
29908dffb2 Disable networking at runtime with lkmc_nonet cli instead of build
This is necessary because qemu and gem5 now use the same build folder.

Separate ./run -e and -f for kernel options before and after the ' - '.
This was already the better thing to do when -E was introduced,
but lkmc_nonet prompted me to do it nicer now.

Use the common script to find the out_dir on every toplevel script.

Include usage man pages on README.
2018-03-22 02:47:14 +00:00
60b9e56038 Update gem5 to fix gcc 7 build 2018-03-21 23:01:02 +00:00
a033e6444c parsec: move test.sh into the parsec repo 2018-03-21 16:44:19 +00:00
275426ef44 Use a single build for aarch64 qemu and gem5!
Document the minimal aarch64 boot.

Rename -c to -B for uniformity with -b.

Add help for ./run and ./build options.
2018-03-21 11:35:30 +00:00
f5e04f6b33 Move modprobe into getting started, re-add myinsmod.out, deambiguate kmod modprobe header 2018-03-18 15:27:55 +00:00
36940cb322 Get rid of Maintainers section for lower level headers
Move benchmark this repo out of conversation, there is plenty of action there!

Move kernel module sections and buildroot sections out of conversation.

Document the instruction count between baseline Buildroot and our monstrosity.

Put ./count-boot-instructions in a separate script.

Link to MIPS graphics QEMU question.

Link to VFIO QEMU question.
2018-03-18 15:14:20 +00:00
9bb011e556 The desire for pivot_root 2018-03-18 12:44:35 +00:00
8233b9249b Use common .gitignore suffix and gitignore* prefix for most ignores 2018-03-18 10:54:38 +00:00
f124af09c4 Don't clean kernel_module by default to save some nanoseconds 2018-03-18 10:31:08 +00:00
62d5f43eb0 Document touch kernel_config_fragment to update kernel config
Add more P51 build performance statistics.

Force br2_cli to be the last config fragment.

Fix build getopts : errors.
2018-03-18 10:24:32 +00:00
98ed442883 overlayfs 2018-03-17 12:08:52 +00:00
451c9b4014 overlay: use /bin/sh for conf.sh instead of bash 2018-03-17 10:57:59 +00:00
52d053623b readme: aarch64 does not use initramfs anymore 2018-03-17 10:25:34 +00:00
0971e32411 link to UML working setup 2018-03-16 16:52:52 +00:00
a5b35bef11 Enable either ext2, initrd or initramfs for x86, arm and aarch64
Mention that initrd and initramfs must fit into memory.

Fix missing stdout when ./run -d is used.

Ignore ./run -n for non x86.
2018-03-16 16:34:57 +00:00
981247cb60 readme: awesome lists 2018-03-15 08:53:11 +00:00
e8f09a76e6 Add a shortcute for /eval.sh
Create /eval_base64.sh to overcome quoting and newline limitations.

Documente poweroff's failure on readme.
2018-03-14 21:13:45 +00:00
54feab9f00 gem5: also apply kernel config fragments to gem5 2018-03-14 19:29:51 +00:00
6a90f77dd6 qemu: link to guest to host networking SE thread 2018-03-14 19:29:27 +00:00
039b8a498c OpenBLAS
Also don't add br2_local by default, default params are insane.
2018-03-14 12:26:49 +00:00
4a62be3eb3 Rename buildroot_config_fragment_* to just br2_*
Add br2_local to persistently store new br2 options.
2018-03-14 09:48:12 +00:00
c289b87f5b build: link to why kernel no reconfigure quesiton 2018-03-13 16:19:44 +00:00
13e840df9e gem5: namespace checkpoints by arch
Also refactor common gem5 x86 and arm command parts
2018-03-13 13:14:32 +00:00
29c3362015 readme: link to ssh into guest procedure 2018-03-13 12:37:06 +00:00
900ccd31fb readme: guest to host networking 2018-03-13 12:29:53 +00:00
9e1704657b readme: fix educational hardware model header level 2018-03-13 11:28:26 +00:00
23423b30f4 ccache: global CCACHE_DIR is used 2018-03-13 07:17:38 +00:00
2c606e3e1a gem5: undo attempt to use the TARGET_CROSS... 2018-03-12 14:49:04 +00:00
77d2e0a8a5 A bunch of tiny fixes 2018-03-12 04:37:46 +00:00
b8413532a5 Build gem5 through buildroot
Oh, btw, also make it work, since the build was completely broken since
the recent -K refactoring :0)
2018-03-12 03:56:18 +00:00
7b08433840 9p mount the output directory.
This is in preparation for moving parsec to 9p once we get it working on gem5.

We'll document it then when everything is working.
2018-03-11 22:00:55 +00:00
3d3ef39a24 ccache
I get the feeling that sooner or later, something will bisect down to here.

But let's just do it for now!
2018-03-11 12:27:41 +00:00
6a7b1b436c One less tab 2018-03-10 23:14:41 +00:00
82fab09e1e 9p works for arm 2018-03-10 22:45:48 +00:00
efa8d2075c bak 2018-03-10 21:22:16 +00:00
4ccf3784cf parsec: clean up Config.in help 2018-03-10 18:45:45 +00:00
efb9c5458e parsec: more details, fix errors, more tests 2018-03-10 18:22:09 +00:00
c4fae264e3 Fix mkdir 9p 2018-03-10 14:30:22 +00:00
7630a62b44 update parsec bench 2018-03-09 19:07:21 +00:00