Commit Graph

616 Commits

Author SHA1 Message Date
1a0d15ca86 userland: convert make to python 2019-03-12 10:01:38 +00:00
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
c382ecf3f7 gcc: neverbuild, Buildroot can rebuild it :-) 2019-03-10 00:00:00 +00:00
23f80c2310 binutils: describe gas hello world hack 2019-03-05 00:00:02 +00:00
b60784d59b linux: update to v5.0 2019-03-05 00:00:01 +00:00
65d53b9297 glibc api stability: move to SO answer 2019-03-03 00:00:00 +00:00
8b3b0453a6 glibc: mention ABI stability 2019-02-28 00:00:00 +00:00
0e25ee2715 glibc: update to 6c99e37f6fb640a50a3113b2dbee5d5389843c1e
Initializes the submodule.
2019-02-27 00:00:00 +00:00
7ec28d6808 tagline: mention armv7 and armv8 2019-02-23 00:00:01 +00:00
40d16278fe readme: add explicit title ids to all titles that contain apostrophes
To work around divergence between 1.5.7+ and GitHub's header id generation:
https://github.com/asciidoctor/asciidoctor/issues/3093
2019-02-23 00:00:00 +00:00
400a601edd qemu user: stack smashing detected find precise bug report 2019-02-23 10:32:37 +00:00
9db854871c svc: use more distinctive value 2019-02-20 00:00:06 +00:00
d5e16fd8ae lkmc_vector_equal into lkmc.c
Document lkmc.c
2019-02-20 00:00:04 +00:00
9d69ec26a6 readme: some minor fixes 2019-02-20 00:00:02 +00:00
7c2a9c0e9c svc: print values, trace interrupt 2019-02-20 00:00:01 +00:00
2b93b18646 run: --trace-insts-stdout 2019-02-20 00:00:00 +00:00
e855a262fd aarch64 baremetal svc factored out for C and asm 2019-02-18 00:00:00 +00:00
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
01194dda5c userland: --static implies --userland-build-id static 2019-02-15 00:00:00 +00:00
62d2152f39 baremetal: working aarch64 svc example adapted from takeharukato
Not yet generalized for usage on multiple files.
2019-02-15 00:00:00 +00:00
b13b140499 getting started proofread 2019-02-07 00:00:00 +00:00
f70a935d3b readme: create linux kernel min config section 2019-02-06 00:00:05 +00:00
649d06d675 design goals 2019-02-06 00:00:04 +00:00
eab14c4395 bibliography: MichielDerhaeg/build-linux 2019-02-06 16:33:53 +00:00
a32704cf7f gem5: document kernel boot speedup 2019-02-06 00:00:02 +00:00
240ef1f431 linux: dominate defconfig
build-linux: make it more flexible to better meet the task
2019-02-06 00:00:01 +00:00
1e2b7f1e5e arm baremetal: svc, get closer but not there yet 2019-02-06 00:00:00 +00:00
abd61a153a android: complain more 2019-02-05 00:00:01 +00:00
125d14805f buildroot: move to glibc
selinux: continue attempt now that we have glibc, but still failing
2019-02-01 00:00:01 +00:00
97b432b1fa nfs: failed attempt 2019-02-01 00:00:00 +00:00
d02e2db2b6 selinux sketch 2019-01-31 00:00:02 +00:00
0578d8975e android: understand that rw are qcow2 2019-01-31 00:00:01 +00:00
f6becf6338 android init 2019-01-31 00:00:00 +00:00
4bc9721f2c android: settings from cli 2019-01-30 00:00:02 +00:00
9012247540 android: understand the disk images 2019-01-30 00:00:01 +00:00
5b39fd2129 android: add working run script 2019-01-30 00:00:00 +00:00
17dd3f76f0 build-gem5: --regression-test 2019-01-25 00:00:04 +00:00
72cd8f580d build-gem5: --clang 2019-01-25 00:00:03 +00:00
7b99c45ac2 build-gem5: build individual unit tests 2019-01-25 00:00:02 +00:00
ce8e363ca1 gem5: expose unit tests 2019-01-25 00:00:00 +00:00
863c6fd905 readme: link to gem5 out of tree build question 2019-01-24 00:00:01 +00:00
231c7a694e report upstream bugs: remove qemu-test link 2019-01-24 00:00:00 +00:00
4f6051af1d build android sketch 2019-01-23 00:00:03 +00:00
da900a579c LKMC v3.0
This is a squash commit, the unsquashed development went through many
unstable phases which would break bisects. The unsquashed branch is:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/v3.0-unsquash

The main improvement of this release was to greatly generalize the testing system.

The key addition was cli_function.py, which allows scripts such as ./run to
be transparently called either from Python or from the command line.

New tests scripts were created using this improved framework: test-baremetal
and test-user-mode.

We were lazy to port some of less important tests to the new setup, TODO's were
added, and we need comes they will be fixed. Getting started is however sacred
as usual and should work.

Other changes include:

-   gem5: update to 7fa4c946386e7207ad5859e8ade0bbfc14000d91

-   run: --tmux-args implies --tmux

-   run: add --userland-args to make userland arguments across QEMU and gem5

    Get rid of --userland-before as a consequence.

-   bring initrd and initramfs back to life

-   build-userland: create --static to make build a bit easier

-   gem5: --gem5-worktree also set --gem5-build-id

-   remove --gem5, use --emulator gem5 everywhere

    Allow passing --emulator multiple times for transparent tests selection
    just like --arch.

-   test-userland: allow selecting just a few tests

-   linux: update to v4.20

-   buildroot: update to 2018.08

    The main motivation for this was to fix the build for Ubuntu 18.10, which
    has glibc 2.28, which broke the 2018.05 build at the m4-host package with:

        #error "Please port gnulib fseeko.c to your platform!

-   getvar --type input

-   failed xen attempt, refactor timer, failed svc attempt, aarch64 use gicv3

-   build-doc: exit 1 on error, add to release testing

-   build: add --apt option to make things easier on other distros

-   build-linux: --no-modules-install
2019-01-22 00:00:00 +00:00
9f6ddbc436 parsec: fix package name on README with underscore 2018-12-10 00:00:00 +00:00
d569854ae1 kernel: add section about /proc/version
Customize user, host and date
2018-12-05 00:00:00 +00:00
4f115bbde3 gem5: improve factoring of gem5 linux kernel build references 2018-12-04 00:00:03 +00:00
f8d9514e79 add --custom-config-file-gem5 option to build gem5 kernels more easily 2018-12-04 15:10:02 +00:00
f03e6ea2eb linux: add --linux-source-dir to have custom linux source dir 2018-12-04 15:10:02 +00:00
38ba2b85fc gem5 display: a bit more info on dp650 2018-12-04 15:10:02 +00:00