Ciro Santilli
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
Ciro Santilli
348b8c47ef
add tmu script that was forgotten
2018-03-24 20:45:53 +00:00
Ciro Santilli
3eac2c53a2
gem5 getting started better run command
2018-03-24 07:42:53 +00:00
Ciro Santilli
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
Ciro Santilli
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
Ciro Santilli
60b9e56038
Update gem5 to fix gcc 7 build
2018-03-21 23:01:02 +00:00
Ciro Santilli
a033e6444c
parsec: move test.sh into the parsec repo
2018-03-21 16:44:19 +00:00
Ciro Santilli
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
Ciro Santilli
f5e04f6b33
Move modprobe into getting started, re-add myinsmod.out, deambiguate kmod modprobe header
2018-03-18 15:27:55 +00:00
Ciro Santilli
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
Ciro Santilli
9bb011e556
The desire for pivot_root
2018-03-18 12:44:35 +00:00
Ciro Santilli
8233b9249b
Use common .gitignore suffix and gitignore* prefix for most ignores
2018-03-18 10:54:38 +00:00
Ciro Santilli
f124af09c4
Don't clean kernel_module by default to save some nanoseconds
2018-03-18 10:31:08 +00:00
Ciro Santilli
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
Ciro Santilli
98ed442883
overlayfs
2018-03-17 12:08:52 +00:00
Ciro Santilli
451c9b4014
overlay: use /bin/sh for conf.sh instead of bash
2018-03-17 10:57:59 +00:00
Ciro Santilli
52d053623b
readme: aarch64 does not use initramfs anymore
2018-03-17 10:25:34 +00:00
Ciro Santilli
0971e32411
link to UML working setup
2018-03-16 16:52:52 +00:00
Ciro Santilli
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
Ciro Santilli
981247cb60
readme: awesome lists
2018-03-15 08:53:11 +00:00
Ciro Santilli
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
Ciro Santilli
54feab9f00
gem5: also apply kernel config fragments to gem5
2018-03-14 19:29:51 +00:00
Ciro Santilli
6a90f77dd6
qemu: link to guest to host networking SE thread
2018-03-14 19:29:27 +00:00
Ciro Santilli
039b8a498c
OpenBLAS
...
Also don't add br2_local by default, default params are insane.
2018-03-14 12:26:49 +00:00
Ciro Santilli
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
Ciro Santilli
c289b87f5b
build: link to why kernel no reconfigure quesiton
2018-03-13 16:19:44 +00:00
Ciro Santilli
13e840df9e
gem5: namespace checkpoints by arch
...
Also refactor common gem5 x86 and arm command parts
2018-03-13 13:14:32 +00:00
Ciro Santilli
29c3362015
readme: link to ssh into guest procedure
2018-03-13 12:37:06 +00:00
Ciro Santilli
900ccd31fb
readme: guest to host networking
2018-03-13 12:29:53 +00:00
Ciro Santilli
9e1704657b
readme: fix educational hardware model header level
2018-03-13 11:28:26 +00:00
Ciro Santilli
23423b30f4
ccache: global CCACHE_DIR is used
2018-03-13 07:17:38 +00:00
Ciro Santilli
2c606e3e1a
gem5: undo attempt to use the TARGET_CROSS...
2018-03-12 14:49:04 +00:00
Ciro Santilli
77d2e0a8a5
A bunch of tiny fixes
2018-03-12 04:37:46 +00:00
Ciro Santilli
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
Ciro Santilli
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
Ciro Santilli
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
Ciro Santilli
6a7b1b436c
One less tab
2018-03-10 23:14:41 +00:00
Ciro Santilli
82fab09e1e
9p works for arm
2018-03-10 22:45:48 +00:00
Ciro Santilli
efa8d2075c
bak
2018-03-10 21:22:16 +00:00
Ciro Santilli
4ccf3784cf
parsec: clean up Config.in help
2018-03-10 18:45:45 +00:00
Ciro Santilli
efb9c5458e
parsec: more details, fix errors, more tests
2018-03-10 18:22:09 +00:00
Ciro Santilli
c4fae264e3
Fix mkdir 9p
2018-03-10 14:30:22 +00:00
Ciro Santilli
7630a62b44
update parsec bench
2018-03-09 19:07:21 +00:00
Ciro Santilli
2b7d274949
config.sh kernel config helper
2018-03-09 18:06:44 +00:00
Ciro Santilli
04db718441
qemu: 9p host guest directory sharing
2018-03-09 17:14:10 +00:00
Ciro Santilli
595c75d3bf
Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat
2018-03-09 14:23:14 +00:00
Ciro Santilli
c8003c3389
kvm
2018-03-09 07:31:24 +00:00
Ciro Santilli
32a543c5db
parsec: test must be run with test input size
2018-03-09 04:22:30 +00:00
Ciro Santilli
e88dacf7a6
How to get the command that was run
2018-03-09 04:04:05 +00:00
Ciro Santilli
cb08ab2e01
Document kvm
2018-03-09 03:57:42 +00:00