Ciro Santilli 六四事件 法轮功
684bc6b908
build: log warning on git too old for --update
2019-05-14 00:00:07 +00:00
Ciro Santilli 六四事件 法轮功
91986fb295
Make userland / assembly getting started more uniform / visible
...
Forward --gcc-which to ./run --tmux.
Use gdb-multiarch for --gcc-which host.
2019-05-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1ab7fbf607
Fix import_path circular dependency by splitting it out.
...
Use import thread_pool instead from, from is evil.
Fix poweroff.out path for ./trace-boot.
2019-05-12 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
fe9c31f737
fix run-toolchain, qemu-monitor, trace-boot, trace2line, bisect-linux-boot-gem5. Fixes part of #63
...
I'm sad no one reported qemu-monitor break, that one is kind of important.
count.out arguments broke it as an init program, since the kernel adds trash
parameters to every init.
Is anyone using this repo, I wonder? Keep pushing, keep pushing.
One day it gets good enough, and the whole world will see.
2019-05-12 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3cc1b793cb
Get rid of imp, started giving deprecation warning every time in Python 3.7 in Ubuntu 19.04.
...
Please python stop torturing me with refactors.
Make ./run -u blow up if executable not found, otherwise I go crazy.
Get ./test-gdb back to life after the ./run relative path refactor, forgot to test this.
2019-05-11 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
6d1a38e6b8
gem5: use a single build tree for all build types
...
gem5 already has different object names for each build type it seems, so
let's just make sure that works and save some disk space.
2019-05-08 00:00:07 +00:00
Ciro Santilli 六四事件 法轮功
26cab92bfc
baremetal: allow arbitrary exit status with the magic string
...
test-baremetal: fix missing setting x0 return value
Examples were just returning on ret without setting x0, which led to
failures... those were not noticed because of how broken the testing system
was ;-)
2019-05-06 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ff8cbe9d7a
test-baremetal: same interface as test-user-mode
...
In particular, runs tests in parallel, and allows selecting given tests
2019-05-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8661d68d71
rum: --qemu-which host now works for user mode as well as system
...
Don't fall back on host QEMU automatically, too much insanity.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ccf1ea2420
common: define missing 'ld' variable, this broke m5 build
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5411daa2d3
cli-function: raise if the config file is given and does not exist
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
73db3a4952
common: fix absolute path runs
...
--gdb: allow running from arbitrary directory
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ccf58dc813
userland: make libs really work
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9cd48d5184
userland: make libs work
...
Working for build, but now test-user-mode-in-tree is not using --in-tree,
TODO fix later on.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1ca732bf75
userland: move more userland/arch/ logic into property tree
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eba97f9cef
userland: try to make userland executable selection saner
...
Only allow existing files to be built, stop extension expansion madness.
cli_function: get_cli print booleans properly, was printing without --no-
for negations.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8509f17a84
userland: native testing
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5daad53289
thread_pool: support passing thread IDs
...
Then use that to fix gem5 error log read race.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b49ebb1c8a
userland: get a bit closer to perfection
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
85006363f8
test-user-mode: make perfect like build-userland
...
Multithreading and target selection.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
81a2ba927f
userland: build really truly working now
...
userland test: start work, in a working state, but no features
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bbdf6cdc06
userland: maybe it really works
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
abb67c14b8
preparing test_user_mode, need to generalize stuff as usual
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8618025682
mtops.h is perfect now
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1cc3ee8657
rename include to lkmc
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9c8f95d630
build-userland-in-tree is now a Python command
...
./build calls it, we did this to allow --download-dependencies to work
perfectly.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
aea97698c3
bak
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0ef494b681
migrate all
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
146e568db8
move all our stuff into /lkmc in guest
...
Motivation: userland is getting several new subdirectories, it would be
too insane to just dump all of that in the guest root filesystem.
To alleviate the cd pain, .profile puts user inside /lkmc by default.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0263c21557
userland: add assembly support
...
Move arm assembly cheat here, and start some work on x86 cheat as well.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9581fa201c
userland: in-tree build and clean
2019-03-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
e32b1cba45
./build-userland: resolve relative paths
2019-03-13 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
276688bb33
userland: allow selecting targets, including directories
2019-03-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
bb28e260c5
common: add --force-rebuild option to build scripts
2019-03-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1a0d15ca86
userland: convert make to python
2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
0deab8f8f7
user mode: use the nonexistent symlink workaround
...
I was considering setting --static by default to match gem5, but then
that breaks shared libraries like openblas... so let's just use the
ugly workaround for now as it seems to work...
2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
a9160d2217
Sort all os.listdir and os.walk to keep things more reproducible
2019-03-10 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
2e3f4c1484
baremetal: refactor build to reduce duplication
2019-03-10 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
d5e16fd8ae
lkmc_vector_equal into lkmc.c
...
Document lkmc.c
2019-02-20 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
a8b6f758ba
split --prebuilt and --host into --gcc-which and --qemu-which
...
Only one --host exists at ./build-modules, since that can select the host
kernel, which is independent from the toolchain.
Document that user mode simulation stopped working.
2019-02-16 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
01194dda5c
userland: --static implies --userland-build-id static
2019-02-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
240ef1f431
linux: dominate defconfig
...
build-linux: make it more flexible to better meet the task
2019-02-06 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
125d14805f
buildroot: move to glibc
...
selinux: continue attempt now that we have glibc, but still failing
2019-02-01 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
0578d8975e
android: understand that rw are qcow2
2019-01-31 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
9012247540
android: understand the disk images
2019-01-30 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
5b39fd2129
android: add working run script
2019-01-30 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
72cd8f580d
build-gem5: --clang
2019-01-25 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
7b99c45ac2
build-gem5: build individual unit tests
2019-01-25 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
ce8e363ca1
gem5: expose unit tests
2019-01-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c858e57ed9
build-gem5: fix worktree checkout
2019-01-24 00:00:02 +00:00