fa1e4ffa7d
run kind of runs
2018-12-09 00:00:01 +00:00
5e20ba833b
build-linux and build-gem5 seem to work
2018-12-09 00:00:00 +00:00
1768421dbd
args -> kwargs
2018-12-08 00:00:01 +00:00
33af564899
bak
2018-12-08 00:00:00 +00:00
724c82323e
settling on not splitting --args per script for now
2018-12-07 00:00:00 +00:00
cfa3991e64
more destructive changes
2018-12-05 00:00:00 +00:00
1accb2c98b
considering some new design ideas
2018-11-30 00:00:00 +00:00
271e7c6371
start migration to CliFunction
2018-11-29 00:00:00 +00:00
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
7816f1f635
trace: improve a bit, fix bugs
2018-11-23 00:00:00 +00:00
8dd01415f5
baremetal: only rebuild required files based on mtime
...
Move multcore test up with bootloader.
2018-11-22 00:00:03 +00:00
f73eaaffd2
prebuilt: automatically pick up qemu from PATH if not built like qemu-img
2018-11-22 00:00:02 +00:00
034bd3600f
build-buildroot: fix qemu-img -T order
...
Fix #42
2018-11-20 00:00:03 +00:00
33f286b354
run: make qemu-img more resilient to --prebuilt by not doing -T in that case
2018-11-19 22:35:16 +00:00
238f1ad1c0
common: add --qemu option to override configs
2018-11-13 00:00:02 +00:00
403d4a9d06
docker: migrate to python
2018-11-11 00:00:01 +00:00
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
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
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
5d649377fc
build: make baremetal parts more flexible and powerful
...
Document test-gdb on readme
2018-11-09 00:00:01 +00:00
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
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
d39d5b8154
run: add --background option
2018-11-07 05:48:13 +00:00
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
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
9693c23fe6
gdb userland and gdbserver are perfect
2018-11-03 00:00:01 +00:00
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
6bfb5221d1
userland: make --host awesome
2018-10-31 19:00:05 +00:00
e042a1b2ad
console: make awesome
2018-10-31 21:00:03 +00:00
65a103d6c1
host kernel module works
2018-10-31 23:00:01 +00:00
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
4f47491482
userland: make uber awesome with --baremetal-like executable resolution
2018-10-30 22:00:02 +00:00
ab2574a790
userland: build id
...
user mode: factor out nicely with -static and build id
2018-10-30 22:00:02 +00:00
b5b646ffd4
qemu: document GDB user mode, fix some stuff
2018-10-29 22:00:02 +00:00
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
e267435f6a
fix most of GDB and remove most kernel_modules- references
2018-10-29 00:00:00 +00:00
34a8fa6a39
common: fix cwd and env on command printing
2018-10-26 00:00:02 +00:00
bb1bb370a6
build-gem5: factor dtb copy with copy_dir_if_update_non_recursive
...
Less code, less boring + cp prints, only copy if modified.
2018-10-26 00:00:02 +00:00
8f1c662e3d
build kind of works
2018-10-26 00:00:00 +00:00
004c100453
copy-overlay. ./build broken btw :-)
2018-10-25 00:00:02 +00:00
ca231b82f6
get rid of lkmc package, move userland and kernel-modules to top
...
Rationale: we already had a non buildroot build system,
maintaining both will be hard, and having short paths is more awesome.
2018-10-25 00:00:02 +00:00
98d2c83317
echo key configs as bash commands
2018-10-25 00:00:00 +00:00
21627ff9d8
Move build-buildroot linux configs to build-linux.
...
Needs a lot of testing, and need to cleanup readme, but seems to work.
2018-10-24 00:00:01 +00:00
3980974e91
common: factor -j --nproc to all builds
2018-10-23 00:00:02 +00:00
4b99e522dd
common.run_cmd: assert result == 0 by default
2018-10-23 09:58:30 +01:00
4cd9c533b8
move all builds to components
2018-10-23 09:58:30 +01:00
2a77df690c
common: create a Component class to factor out builds
...
Not yet finished factoring, but half way there, do for all build-
2018-10-18 00:00:00 +00:00
cb3d8929ba
dry run for all common
2018-10-18 00:00:00 +00:00
23a9d767ba
build-buildroot twice, and split build-m5
2018-10-18 00:00:00 +00:00
2661f7f83c
build: mkdir out_rootfs_overlay_dir
2018-10-17 00:00:00 +00:00