Ciro Santilli
718941f3cf
test-modules: convert to use LkmcCliFunction
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
928b01f458
add a --quiet flag
...
test-gdb and test-userland produce beautiful output by default
create def get_common_args to help forward common args to child calls...
it is ugly, but I'm lazy for a perfect solution now
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
38ca239ad2
remove --gem5, use --emulator gem5 everywhere
...
Allow passing --emulator multiple times for transparent tests selection
just like --arch.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
09659162fb
common: multi arch everywhere
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0a33292326
start porting build
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b72f75b531
print cli equivalent for commands called via python cli
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f388ad6460
run: add --userland-args to make userland arguments across QEMU and gem5
...
Get rid of --userland-before as a consequence.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4ae3dea975
run: --tmux-args implies --tmux
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f2e73bac83
create userland tests
...
Fix some more tabs.
Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3ce152f61c
test-gdb: move to pure python calls
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a5ec63dc28
CliFunction
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cb32b2994c
gem5: use --generate-dtb by default
2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
61fa99844a
run: minor style
2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
bc9e348a44
start simple integration to test dp650
...
Not yet merged on gem5 mailine, review published at:
https://gem5-review.googlesource.com/c/public/gem5/+/11036/1
2018-12-04 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bf54be658e
run: comments
2018-11-29 15:07:02 +00:00
Ciro Santilli 六四事件 法轮功
2a16ddc1bf
run: trace to stdout
2018-11-29 15:07:02 +00:00
Ciro Santilli 六四事件 法轮功
ba2976cc7f
gem5: fix arm multicore with system.auto_reset_addr = True
...
baremetal: fix aarch64/no_bootloader/semihost_exit.S which was wrong
because was using unset sp for register block. Tests needed urgently!!
2018-11-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
2b10066549
run: forward --userland and --baremetal to tmux! It's just beautiful.
2018-11-23 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
f73eaaffd2
prebuilt: automatically pick up qemu from PATH if not built like qemu-img
2018-11-22 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
35ab408e1e
gem5: set kvm cpu type for arm
2018-11-22 12:28:07 +00:00
Ciro Santilli 六四事件 法轮功
65d33ab11e
run: actually rename ./run --busybox-init to --eval-after
...
Had just changed the CLI parameter but nothing else!
Had half worked because Python argparse is insane and accepts substrings
like --eval-a.
Fix #43
2018-11-20 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
c2ac65a807
docker: split minimum setup to separate script
2018-11-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1fda6357c3
gdb: stub for testing userland
...
Not working because cannot find, requires moving --userland to common.py
2018-11-15 20:07:47 +00:00
Ciro Santilli 六四事件 法轮功
95c1800b0e
run: dont break on userland due to missing termout file
2018-11-15 20:07:47 +00:00
Ciro Santilli 六四事件 法轮功
425fb26736
run: fix error log parsing
2018-11-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
238f1ad1c0
common: add --qemu option to override configs
2018-11-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
a06872241b
the docker setup is perfect
2018-11-11 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
32420eec33
download-dependencies: merge into ./build --download-dependencies
...
Reuses the module system dependencies present there.
run: make --dry-run work even when there is no out directory yet
docker: make the wrapping more intuitive
2018-11-10 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
e0dbe2416d
gdb: create some automated tests with pytest
...
gem5 baremetal: use m5exit m5op in exit() so as to not force users to
apply a patch for almost all examples
2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
b1e16a59a1
baremetal: exit at the end of main instead of infinite loop
...
run: interpret lkmc_test_fail as the last line of test as an error
2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
ba570f57f3
gem5: update to 121160d97f3d41220a26d3371a277434c3defea3
2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
49b2b1b896
baremetal: remove panic_on_panic from gem5
...
Fixes error:
tried to set or access non-existentobject parameter: panic_on_panic
2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
d39d5b8154
run: add --background option
2018-11-07 05:48:13 +00:00
Ciro Santilli 六四事件 法轮功
8fb9db3931
manually encode newlines on all printed commands
...
This way we group key value arguments: e.g.:
make \
-j 8 \
all
instead of:
make \
-j \
8 \
all
and reach CLI nirvana, while also subtly breaking several commands due to
lack of testing.
2018-11-04 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
9693c23fe6
gdb userland and gdbserver are perfect
2018-11-03 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
34ee5f2fbf
./run --debug-vm: pass GDB arguments to the option on the CLI.
...
readme: remote g packet reply is too long
Benchmark gem5 single file rebuild
2018-11-02 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
9571747859
kgdb is perfect
...
baremetal works on docker. Missing deps + virtfs now skips missing dirs.
2018-11-02 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1cd1e58b02
I understand kdb, now missing fix and document arm failures
2018-11-01 23:00:01 +00:00
Ciro Santilli 六四事件 法轮功
8e07146606
kgdb kdb is broken, do I care?
2018-10-31 20:00:04 +00:00
Ciro Santilli 六四事件 法轮功
e042a1b2ad
console: make awesome
2018-10-31 21:00:03 +00:00
Ciro Santilli 六四事件 法轮功
911dd8be32
remove some more kernel_module- references
...
make kgdb x86_64 work once again, now pending a decent serial refactor
2018-10-31 23:00:01 +00:00
Ciro Santilli 六四事件 法轮功
4f47491482
userland: make uber awesome with --baremetal-like executable resolution
2018-10-30 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
b5b646ffd4
qemu: document GDB user mode, fix some stuff
2018-10-29 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
a29b5a41fb
gem5: expose syscall emulation with --user
...
Then also expose QEMU user mode with --user. Docs not perfect yet,
would require a build alternative for userland/ for -static and or
passing options before the QEMU userland executable with a new CLI.
2018-10-29 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
11fedc6045
gem5: document that arm v4.18 kernel boot was fixed
...
Fixed by gem5 commit 33b311d8d8b8d527d500d62a35b50be63e41b556
Automatically pass parnic_on_panic for archs that support it.
2018-10-28 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ceb64ab8e1
gem5: use --param to automate aarch64 baremetal BS, oh yeah
2018-10-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0edf7575cd
gem5: update to d4b3e064adeeace3c3e7d106801f95c14637c12f
...
Mostly for --param to control debug properly.
Less README workarounds, more ./run automation, oh yeah.
2018-10-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a68c97ae42
merge run-gem5-se into run
...
This way it can re-use run functionality, notably setting gem5.opt
generic args, and putting m5out where it belongs.
2018-10-26 00:00:05 +00:00
Ciro Santilli 六四事件 法轮功
98d2c83317
echo key configs as bash commands
2018-10-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4b99e522dd
common.run_cmd: assert result == 0 by default
2018-10-23 09:58:30 +01:00