Ciro Santilli
f5065183a8
tracing: create trace2line
...
This lead to a re-factoring of count boot instructions, since trace2line
relies on the same tracing mechanism.
Also, now that we have common factored, I've decided to put the traces on
the out dir, to concentrate all outputs in a single place, and allow
easy switching between archs.
2018-03-28 14:12:03 +01:00
Ciro Santilli
233e0b485c
build: fix f unbound
2018-03-25 11:31:48 +01:00
Ciro Santilli
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
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
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
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
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
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
54feab9f00
gem5: also apply kernel config fragments to gem5
2018-03-14 19:29:51 +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
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
efa8d2075c
bak
2018-03-10 21:22:16 +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
04db718441
qemu: 9p host guest directory sharing
2018-03-09 17:14:10 +00:00
Ciro Santilli
ad3c48dfee
Rename parsec to parsec_benchmark
2018-03-07 23:57:17 +00:00
Ciro Santilli
6e15dcb60e
Start sketching parsec buildroot package
2018-03-03 13:45:58 +00:00
Ciro Santilli
2092180ac8
Update GEM5 to master to fix x86 boot via 3feeb994ae613fd6b3734c1a991285b2ecbd1946
...
See also: http://gem5-users.gem5.narkive.com/CQh9J6fU/fail-to-run-fs-mode-with-linux-kernel-v4-8-13-and-ubuntu-image-16-04-1
Start sketching how to tweak system parameters, number of CPUs works, caches don't.
2018-02-25 20:27:35 +00:00
Ciro Santilli
2c4a9476be
Fix x86 build with GEM5. Boot still fails as before.
...
Use ./run -g instead of ./rungem5.
More convenient GEM5 kernel command line options with -e differentially.
2018-02-22 00:23:57 +00:00
Ciro Santilli
f31046d26a
Don't compile qemu when gem5 is used
2018-02-21 13:50:23 +00:00
Ciro Santilli
9e5173f324
GEM5 checkpoint
...
Add gem5 as buildroot package to cross compile m5.
Add gem5 as a submodule.
Split gem5 from arch on CLI with "-a arm -g" instead of "-a arm-gem5".
2018-02-21 10:19:35 +00:00
Ciro Santilli
33ca2b29e2
Fix MIPS BR2_PACKAGE_LINUX_TOOLS_GPIO build
...
Update mips for snapshot and initrd features.
Document MIPS limitations.
Improve description of test procedure
2018-02-17 10:06:00 +00:00
Ciro Santilli
5ae702c71c
Use qcow2 by default for savevm, loadvm.
...
Create shortcuts for -t linux-reconfigure and -t host-qemu-reconfigure.
2018-02-14 06:16:52 +00:00
Ciro Santilli
f5a0111c3e
Fix kernel_config_fragment that was getting ignored after gem5 addition
2018-01-20 09:50:05 +00:00
Ciro Santilli
6ddbec9c99
Automate failed gem5 x86 attempt
2017-12-29 13:34:13 +00:00
Ciro Santilli
920afba40a
Disable networking on image with command line option ./build -p -n
2017-12-28 23:03:26 +00:00
Ciro Santilli
ba99c525d8
gem5 works
2017-12-28 21:24:10 +00:00
Ciro Santilli
8ddefa940e
gem5
2017-12-28 12:54:24 +00:00
Ciro Santilli
2f82f78589
build without sdl for travis
2017-11-18 19:05:40 +00:00
Ciro Santilli
5ad68edd00
Linux 4.12, buildroot 2017.08, Ubuntu 17.10.
...
17.10 failed with a similar message to: http://patchwork.ozlabs.org/patch/772848/
but applying that patch did not solve it, apparently there were fixes already
on later versions of the tracked package.
Update .gitmodules to ignore patches we apply to Buildroot.
2017-11-16 20:53:06 +00:00
Ciro Santilli
0d7259fe81
Remove runqemu from build... document platform_device.c a bit further, add a modprobe.conf test
2017-11-11 11:11:06 +00:00
Ciro Santilli
6c51ecaf7b
split build and run scripts due to option conflicts
...
Remove -v from travis as it blew log length
2017-11-02 17:51:38 +00:00