263 Commits

Author SHA1 Message Date
1a1237218e Fix local variable 'arm_kernel_cli' referenced before assignment on ./run --emulator gem5
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/158
2021-07-30 09:25:31 +01:00
9719023feb Ensure that all changes of previous commit are constrained to rr runs 2021-05-19 08:31:33 +00:00
d941cdd1b7 Fixed QEMU record/replay script and manual 2021-05-19 07:31:32 +03:00
f767ba97de gem5: also pass our custom kernel cli parameters to fs_bitLITTLE 2021-01-08 00:00:01 +00:00
da06e67671 gem5 fs: pass earlycon to show printks console much earlier in boot! 2021-01-08 00:00:00 +00:00
2abb994752 stuff 2020-11-20 00:00:00 +00:00
196d5be280 Allow a custom disk image 2020-10-27 00:00:01 +00:00
4619c51b8a run: fix QEMU aarch64 KVM failing with: "PMU KVM_SET_DEVICE_ATTR: Invalid argument" 2020-09-14 02:00:01 +00:00
4f82f79be7 readme: underscore to - on all title ids 2020-08-13 02:00:01 +00:00
9f0f6dc054 --debug-vm-ex for the win 2020-06-25 05:00:04 +00:00
da40e84075 learn more formally arm 32 bit CP registers, fix QEMU baremetal run with cli args 2020-06-16 02:00:01 +00:00
7d32b26fde gem5 arm cli args not working 2020-06-16 01:00:00 +00:00
e461b406d1 more baremetal misses from a2ce410173 2020-06-03 09:00:08 +00:00
252dd80500 gem5 m5.objects module 2020-05-07 01:00:00 +00:00
f5d4998ff5 gem5: expose syscall emulation multiple executables 2020-04-29 03:00:02 +00:00
68f974f05f gem5: fix kernel run, don't set --bare-metal with kernel
Broken on recent commit.
2020-04-03 02:00:01 +00:00
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
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
b7887ac06b gem5 baremetal cli!!!
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/67
2020-04-02 02:00:01 +00:00
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
c5aeb1791c Fix init environment code examples
Likely not updated after --kernel-cli-after-dash was added.

Prompted by: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/120
2020-03-25 00:00:00 +00:00
44a45c0656 out/run.sh: write before execution 2020-03-14 00:00:02 +00:00
a1b312891f run.sh shortcut, m5 executable userland 2020-03-14 00:00:00 +00:00
ba49c4a37e gem5: fix run which had removed --bootloader and --interp
At 1f007b2004 I accidentally removed them
while doing a temporary test.
2020-03-11 00:00:00 +00:00
1f007b2004 gem5: more analysis 2020-02-28 00:00:02 +00:00
8447a9a8a7 userland: freestanding gem5 checkpoint restore examples 2020-02-20 00:00:01 +00:00
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
17fba4a968 gem5: update to 1db7ecb4ce46e4ea525e6564032b4486c72c1c41
M5_PATH is not needed anymore, get rid of it!
2020-02-13 00:00:01 +00:00
47bb44ec5b ./run --tmux works again without --gem5-worktree, was looking for None/m5term 2020-02-13 00:00:02 +00:00
57ead1bd2d run: forward --gem5-worktree to tmux 2020-01-21 00:00:00 +00:00
d5876c9980 --debug-vm-args affects --debug-vm-rr, fix #112 2020-01-07 00:00:01 +00:00
90f3701f83 run: OK, I give in, --debug-vm-file is on 2019-12-24 00:00:01 +00:00
31dcf128c4 run: --gem5-script link to #gem5-fs-biglittle 2019-12-23 00:00:01 +00:00
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
9dfcb316bf start moving algorithm in 2019-11-18 00:00:00 +00:00
ed602152b3 qemu-rr: add missing LFs 2019-11-14 00:00:00 +00:00
f895d89227 qemu-rr: remove ./run -r and -R record and replay short options
In line with the "be very conservative with short options" philosophy.
2019-11-14 00:00:00 +00:00
b92016218d gem5: expose --memory to se.py and fs_bigLITTLE.py 2019-11-08 00:00:03 +00:00
4c3b9c79a7 readme: --dry-run setup, give emphasis on getting started
Instruction counts for the busy wait loop program.
2019-11-08 00:00:01 +00:00
6936bd6ba9 how to update gcc
Automatically add extra remotes from ./build.
2019-10-31 00:00:00 +00:00
f8848329f7 gem5: LF!!!!! 2019-10-29 00:00:00 +00:00
c62848d228 gem5 fs_bigLITTLE.py: enable m5 readfile 2019-10-29 00:00:00 +00:00
44227c7b6a gem5: update to 239054f48439c18b93e1a70ff29dbcb0c4742cff
fs_bigLITTLE: no patches needed anymore, we now have the --root option.
2019-10-29 00:00:00 +00:00
d282759944 ./gem5.sh: document better 2019-10-29 00:00:00 +00:00
6aa375df2a run: make --num-cpus work in gem5 userland and fs_bigLITTLE.py 2019-09-07 00:00:04 +00:00
4ff62c4840 enable basic mozilla rr support 2019-08-28 00:00:00 +00:00
677b4646bb get rid of machine2, that was too insane 2019-08-27 00:00:02 +00:00
398d09d5ae gem5: fix fs_bigLITTLE: error: unrecognized arguments: --num-cpus 1 2019-08-21 00:00:00 +00:00
d7a24ea200 start moving malloc and friends in 2019-08-11 00:00:00 +00:00
d205140557 userland: move some multithreaded examples from cpp-cheat
Using them mostly to evaluate how well the emulators are handling user
mode multithreading.
2019-07-19 00:00:03 +00:00