Commit Graph

94 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
b9a31b842c gem5: revive dp650 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
03c892f715 getvar --type input, and improve docs for command line arguments 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4db08517dc build: make --dry-run all work 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1832e44a00 tests: print --dry-run -v newlines nicely 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5e8add55fc test-gdb and test-userland: fix --dry-run missing seconds 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eccefa4c57 common: rename _src_ to _source_ everywhere 2019-01-22 00:00:00 +00:00
Ciro Santilli
7c7ac82a6b forward _args_given with common options
Use _args_given instead of is None everywhere.

The problem is as follows: emulator=gem5 implies a non "virt" machine.
However, when we call ./build baremetal-gem5, we don't set the emulator to
gem5, and so machine=virt. Then when we do a Python call, machine=virt
is still set.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c02d52267f test-gdb and test-userland: print time of each test 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 六四事件 法轮功
4d5ae213e0 build-baremetal and build-crosstool-ng: make -A work, move arch check to common 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 六四事件 法轮功
3763a9c696 gem5: --gem5-worktree also set --gem5-build-id 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b478346818 common: make multi arch actually work for builds
userland: create --static to make build a bit easier

Manually forward --dry-run to test-userland.
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 六四事件 法轮功
091ca99902 cli_function: extra argument for per-script configs 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 六四事件 法轮功
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 六四事件 法轮功
d923c606f3 getvar works again 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cfde7759be --linux-build-dir 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a5ec63dc28 CliFunction 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d569854ae1 kernel: add section about /proc/version
Customize user, host and date
2018-12-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f03e6ea2eb linux: add --linux-source-dir to have custom linux source dir 2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
38ba2b85fc gem5 display: a bit more info on dp650 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 六四事件 法轮功
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 六四事件 法轮功
7816f1f635 trace: improve a bit, fix bugs 2018-11-23 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8dd01415f5 baremetal: only rebuild required files based on mtime
Move multcore test up with bootloader.
2018-11-22 00:00:03 +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 六四事件 法轮功
034bd3600f build-buildroot: fix qemu-img -T order
Fix #42
2018-11-20 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
33f286b354 run: make qemu-img more resilient to --prebuilt by not doing -T in that case 2018-11-19 22:35:16 +00:00
Ciro Santilli 六四事件 法轮功
238f1ad1c0 common: add --qemu option to override configs 2018-11-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
403d4a9d06 docker: migrate to python 2018-11-11 00:00:01 +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 六四事件 法轮功
6119fb80ea common: print_cmd only prints a single line if the command fits in one line
No more ugly ' \\\n;' ending!
2018-11-10 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
c1f060ca65 test-gdb: find source path correctly
Previously was relying on glob order, and which could pick up the .py
instead of the .c / .S.
2018-11-09 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
5d649377fc build: make baremetal parts more flexible and powerful
Document test-gdb on readme
2018-11-09 00:00:01 +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 六四事件 法轮功
d39d5b8154 run: add --background option 2018-11-07 05:48:13 +00:00
Ciro Santilli 六四事件 法轮功
72167f9f68 bring a minimal buildroot kernel modules example to life
More importantly, to make modules_install on the Linux kernel build.
2018-11-05 00:00:00 +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 六四事件 法轮功
07a000cae7 rename packages to buildroot_packages
fix BR2_SAMPLE_PACKAGE to PACKAGE_SAMPLE_PACKAGE on README

Add some more README.adoc to subdirs.
2018-11-02 22:00:09 +00:00
Ciro Santilli 六四事件 法轮功
6bfb5221d1 userland: make --host awesome 2018-10-31 19:00:05 +00:00
Ciro Santilli 六四事件 法轮功
e042a1b2ad console: make awesome 2018-10-31 21:00:03 +00:00
Ciro Santilli 六四事件 法轮功
65a103d6c1 host kernel module works 2018-10-31 23:00:01 +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