Commit Graph

981 Commits

Author SHA1 Message Date
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 六四事件 法轮功
6c355c80d3 qemu-monitor: migrate to Python!
Just came across the telnet in the stdlib, and got rid of the ugly expect
dependency, nice.

Also implement stdin input now that we have a sane language.
2018-11-10 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
d697640584 add more gdb tests 2018-11-09 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 六四事件 法轮功
ce18cdc573 gem5 link benchmark: fix p51 values 2018-11-09 09:33:44 +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 六四事件 法轮功
ed177345af test-kernel-modules: rename to test-modules to match build-modules 2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
881b63a667 baremetal: fix gdb step debug
Was not finding the image correctly.
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 六四事件 法轮功
fc9e0c28a5 baremetal: create an assert_fail C helper
Create a test for it under interactive/assert_fail.c

Move prompt under interactive

Create baremetal/arch/aarch64/c_from_as.S as an example of calling C
functions from assembly.
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 六四事件 法轮功
66aec8e45a download-dependencies: deb-src make more robust 2018-11-07 05:48:13 +00:00
Ciro Santilli 六四事件 法轮功
d39d5b8154 run: add --background option 2018-11-07 05:48:13 +00:00
Ciro Santilli 六四事件 法轮功
753cbe68ff build-buildroot: add the --no-overlay option
Initial motivation: modprobe. More to come most likely.
2018-11-06 00:00:01 +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 包子露宪 六四事件 法轮功
b12206e871 Merge pull request #38 from parzival3/master
rootfs_overlay: qemu_edu: fix kernel module name
2018-11-04 21:21:05 +00:00
Enrico Tolotto
2a78702b71 rootfs_overlay: qemu_edu: fix kernel module name 2018-11-04 20:31:20 +01:00
Ciro Santilli 六四事件 法轮功
b5b1245f82 bench-boot: add updated benchmark 2018-11-04 00:00:01 +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 六四事件 法轮功
196dd616ff better build setups for testing and release 2018-11-03 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
9693c23fe6 gdb userland and gdbserver are perfect 2018-11-03 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ac8663a44a about linux kernel configs: update 2018-11-02 22:00:10 +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 六四事件 法轮功
df3a22052e getting started: explain ./build vs ./build-linux after the useful example 2018-11-02 22:00:07 +00:00
Ciro Santilli 六四事件 法轮功
b82bd50888 kgdb: actually, module debug just works with automatic lx-symbols? What happened? 2018-11-02 22:00:07 +00:00
Ciro Santilli 六四事件 法轮功
63022702d6 supported hosts: what is ubuntu lts! 2018-11-02 22:00:05 +00:00
Ciro Santilli 六四事件 法轮功
131112390e readme: remove missing references to link:configure 2018-11-02 22:00:04 +00:00
Ciro Santilli 六四事件 法轮功
5c35faf54b expand intro to QEMU and buildroot
Move out of getting started to keep it pristine, links only.
2018-11-02 22:00:04 +00:00
Ciro Santilli 六四事件 法轮功
3dbca2736d download-dependencies: g++-aarch64-linux-gnu 2018-11-02 22:00:03 +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 六四事件 法轮功
417c768e11 Make crosstool-NG work within Docker. 2018-11-01 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9a446affa6 gdb: debug remote protocol 2018-10-31 17:00:07 +00:00
Ciro Santilli 六四事件 法轮功
76418edbac move user mode to toplevel section, because too good / large :-) 2018-10-31 18:00:06 +00:00
Ciro Santilli 六四事件 法轮功
6bfb5221d1 userland: make --host awesome 2018-10-31 19:00:05 +00:00
Ciro Santilli 六四事件 法轮功
8e07146606 kgdb kdb is broken, do I care? 2018-10-31 20:00:04 +00:00
Ciro Santilli 六四事件 法轮功
10dd9178c6 console tested on 2018-10-31 21:00:03 +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
Ciro Santilli 六四事件 法轮功
4f47491482 userland: make uber awesome with --baremetal-like executable resolution 2018-10-30 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
ab2574a790 userland: build id
user mode: factor out nicely with -static and build id
2018-10-30 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
873737bd1f virt_to_phys: fix multiple read size
build-buildroot: add --make-args
2018-10-30 23:00:01 +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