Commit Graph

161 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
f5d4998ff5 gem5: expose syscall emulation multiple executables 2020-04-29 03:00:02 +00:00
Ciro Santilli 六四事件 法轮功
1c04136497 gem5 X86: fix Exception: unknown machine: TODO 2020-04-06 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c0bc5cffed pass disk image to baremetal if present
Why not? But this is mostly a cheap workaround for gem5 baremetal not
handling no disk images.
2020-04-03 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
66473201eb dhrystone baremetal!!!
Factor out --optimization-level and --static to all builds

More conventionally set argv[0] to be the basename of the image.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/90
2020-04-02 03:00:02 +00:00
Ciro Santilli 六四事件 法轮功
b7887ac06b gem5 baremetal cli!!!
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/67
2020-04-02 02:00:01 +00:00
Ciro Santilli 六四事件 法轮功
637ef640bf qemu-baremetal-cli-args
QEMU part done https://github.com/cirosantilli/linux-kernel-module-cheat/issues/67
2020-04-02 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
112be2fa50 Also don't make china_dictatorship mandatory to run. 2020-03-30 02:00:01 +00:00
Ciro Santilli 六四事件 法轮功
e1d0a2fafb userland/freestanding/gem5_* work on baremetal
Remove all the duplicates of those present throughout the tree.
2020-03-26 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
082166a360 have fun 2020-03-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
33f9862974 gem5: benchmark hdf5 stats 2020-03-16 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
44a45c0656 out/run.sh: write before execution 2020-03-14 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
5d08bfeeb2 ./build-buildroot --build-linux: move up and notice broken
Then dream a bit and give more rationale on Buildroot.
2020-03-13 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
d1be4b2386 Allow extra make args to ./build-qemu -- arg0 arg1
configure args are now ./build-qemu --extra-config-args '"aa a" bb'

Also factor out arg names with other builds through _add_argument.

Fix #113.
2020-03-06 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
8a2cad195b gem5: update to 4c8efdbef45d98109769cf675ee3411393e8ed06
The Linux boot was still broken after the previous gem5 update. Let's try
a new one...

Add the --no-ccache option to benchmark builds.
2020-02-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0fdd354551 gem5: gem-regression downloads test binaries to a fixed location outside of source tree with the newly added --bin-path option
Otherwise each --gem5-worktree would download its own copy of the test
binaries into its own source tree.
2020-02-23 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
7fbce888cf hdf5 2020-02-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e33f6d5bf9 gem5: allow prof and perf builds, and comment on them 2020-02-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f2713e69f6 Don't pass dummy disk images to gem5
After https://gem5.atlassian.net/browse/GEM5-337:

- gem5 baremetal can run without any disk images, just like QEMU
- gem5 X86 can run with a single disk image and no horrendous dummy vmlinux
  and second disk image
2020-02-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
17fba4a968 gem5: update to 1db7ecb4ce46e4ea525e6564032b4486c72c1c41
M5_PATH is not needed anymore, get rid of it!
2020-02-13 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
0bc76fc582 gem5: bring fast build back to life and benchmark it on busy loop 2020-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fbc757aa57 common: update userland kernel version to 5.4.3, had forgotten it on kernel module update 2020-01-14 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ae758f589a boost: start 2020-01-08 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
b15a0e455d run: --linux-exec to override the Linux image used
Explain about gem5 upstream prebuilts.
2020-01-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e9b0450461 common: add --configure to make configure optional on build 2019-12-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
998e37aa42 gem5: setup SE.py --host dynamic linked executable variables 2019-11-28 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
5d233f2664 gem5: update to bcf041f257623e5c9e77d35b7531bae59edc0423
This notably allow dynamic linking to work! Move entire README to it.

Also:

- explain what Dhrystone does and run it on gem5 to get DMIPS
- create getprops
- ./test-executables don't test files that start with "tmp."
2019-11-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
62930b6acf Make --host work for ./build-userland, ./build-dhrystone, etc. in addition to just ./build-modules 2019-11-27 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
c3f2045e1f stream: play with the STREAM benchmark 2019-11-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ff14f6bdcf build-dhrystone: use copy_overlay env 2019-11-25 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
9dfcb316bf start moving algorithm in 2019-11-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
daf6c890b2 Don't copy static userland builds into out_rootfs_overlay by default.
I was doing that by mistake too often. To force it, use --copy-overlay.

This mechanism might also be useful for future userland content.
2019-11-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
adf3ab1288 --gem5-clang takes precedence over --gem5-worktree in setting --build-id
We are more likely to want to do a clang master test build separate from
the main master.
2019-11-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3808df4175 common: rename --clang to --gem5-clang
The option was hard to understand, and this would cause ambiguity
if we ever support something else with the same option, e.g. rootfs
or userland executables.
2019-11-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
6936bd6ba9 how to update gcc
Automatically add extra remotes from ./build.
2019-10-31 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
59f96b192a dhrystone: create nicer custom build, baremetal almost working 2019-10-18 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
14a1bb62b6 common: remove common_c refactoring artifact 2019-10-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fa167c6c9a common: report all possible valid paths for invalid ./build-baremetal target 2019-10-16 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
eee6c825c3 qemu: allow turning -O0 debug build on or off, use -O0 by default
OMG, I was wasting time in ARM all along!!!
2019-08-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
677b4646bb get rid of machine2, that was too insane 2019-08-27 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
9524307c0d build-doc: verify that there are no github readme links 2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
6f88fa17bc gem5: minimally test VExpress_GEM5_V2 2019-08-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
84f88e5770 fix arm timer baremetal! 2019-08-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
dcdbdf1281 linux: update to v5.2.1
Improve the release procedure description.
2019-07-19 06:59:14 +01:00
Ciro Santilli 六四事件 法轮功
7b0ac771dc relase: get failed extract-vmlinux automation back working
Only the command is back in business, but it does not work:
https://github.com/cirosantilli/linux-kernel-module-cheat/issues/79
2019-07-14 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
d334a0db53 gem5: fix --gem5-readfile
Was completely broken due to confusion between --gem5-readfile and a common
variable with the same name which referred to the file path... OMG.

Conclusion: no one has ever used this tutorial!

Improve ./gem5.sh documentation.

Also fix ./gem5-bench-dhrystone.
2019-07-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
2438410c25 gem5: put m5 back in path, was in lkmc/bin/m5
It is a dilemma to do this or not, since all other test execs are
not in /bin, but I'll go with "this is not just a random test program" for
now. Let's see.

Checkpointing: correctly sort fs.py checkpoints numerically, was only
working previously due to coincidence.
2019-07-11 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
28cd27f969 Move all non-README links to cirosantilli.com where the file is not cut off... 2019-07-07 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
3fdd83c2c5 Rationalize -mcpu for emulators, compilers and assemblers on ARM
Move SVE example in from arm-assembly-cheat.

atomic.cpp aarch64 add LSE ldadd placeholder, not compiling yet
2019-06-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
88a1c914c9 c++: move atomic in from cpp-cheat
TODO: README improve, link to x86 LOCK docs
2019-06-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
45f2d630cb shell_helpers: create a check_stdout
./build-doc --dry-run was failing if asciidoctor is not installed

Also catch BrokenPipeError on ./build --dry-run all | less if you quit less quickly.
2019-06-21 08:55:24 +01:00