Commit Graph

42 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
12d5c9c947 gensim: add submodule 2020-07-22 05:00:04 +00:00
Ciro Santilli 六四事件 法轮功
439882cc49 restore correct linux kernel submodule version v5.4.3
Accidentally updated at 144a552cf9 ooops. I
will start using worktrees now, I swear.
2020-07-22 03:00:02 +00:00
Ciro Santilli 六四事件 法轮功
16ef5ecad1 nodejs and python helper symlinks 2020-07-17 02:00:01 +00:00
Ciro Santilli 六四事件 法轮功
144a552cf9 More on O3, create a simple hazard and hazardless microbenchs to study pipeline 2020-07-14 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9be19ae1cf openmp validation: learn how to compile and run. No proper build integration yet. 2020-07-10 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
1300b25e29 gem5: update to 56967e317bd7cc730e98ecaf0ab218fe3160857c
At last baremetal works again without any disk images.
2020-04-17 04:00:03 +00:00
Ciro Santilli 六四事件 法轮功
14b87f6efe parsec-benchmark: update to 7b6c9d1c942014ba4e2233fe0305b2f9d9d3520b 2020-04-17 02:00:01 +00:00
Ciro Santilli 六四事件 法轮功
4eba236615 dhrystone: update to 35f961d841f5cd3ff217b6c40537cb7bd13c7c48
Doc only change
2020-04-17 01:00:00 +00:00
Ciro Santilli 六四事件 法轮功
66473201eb dhrystone baremetal!!!
Factor out --optimization-level and --static to all builds

More conventionally set argv[0] to be the basename of the image.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/90
2020-04-02 03:00:02 +00:00
Ciro Santilli 六四事件 法轮功
f42c525d79 gem5: update to 5af26353b532d7b5988cf0f6f3d0fbc5087dd1df
Re-enable HDF5, build fixed.

THIS BREAKS GEM5 BAREMETAL! Fix and bug report incoming.
2020-03-16 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8a2cad195b gem5: update to 4c8efdbef45d98109769cf675ee3411393e8ed06
The Linux boot was still broken after the previous gem5 update. Let's try
a new one...

Add the --no-ccache option to benchmark builds.
2020-02-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
2f7047024d gem5: update to fcbea600851fd72c69ecf3fc437628cd67c5123d
There have been a billion gem5 changes upstream (for the better), and I'll
admit that I was naughty and merged stuff into the python scripts with
gem5 master in mind. But there is always one new semi-critical stuff left,
the current one being: https://gem5.atlassian.net/browse/GEM5-337 so let's
just merge correctly in this reasonable state for now.
2020-02-23 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
7482b6f631 gem5: update to ae7dd927e2978cee89d6828b31ab991aa6de40e2 2020-01-22 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ae17a79bba buildroot: update to 2019.11
qemu: update to v4.2.0

linux: update to v5.4.3
2019-12-27 09:35:51 +00:00
Ciro Santilli 六四事件 法轮功
5d233f2664 gem5: update to bcf041f257623e5c9e77d35b7531bae59edc0423
This notably allow dynamic linking to work! Move entire README to it.

Also:

- explain what Dhrystone does and run it on gem5 to get DMIPS
- create getprops
- ./test-executables don't test files that start with "tmp."
2019-11-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c3f2045e1f stream: play with the STREAM benchmark 2019-11-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4aff114c4c parsec: update to 1d4a1025e06a4f7ad23f1ca7f908e0135e712585 2019-11-13 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
5cdbd57de0 gem5: update to fa877e19d31203744aecbb252a4f0207dc7491dd 2019-10-30 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
44227c7b6a gem5: update to 239054f48439c18b93e1a70ff29dbcb0c4742cff
fs_bigLITTLE: no patches needed anymore, we now have the --root option.
2019-10-29 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
59f96b192a dhrystone: create nicer custom build, baremetal almost working 2019-10-18 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
f11dd1f830 arm baremetal: link back to svc answer 2019-07-19 06:59:14 +01:00
Ciro Santilli 六四事件 法轮功
4a4407e7a8 qemu: update to d8dae268c0a3e4e361002aca3b382fedd77f2567
Now on top of QEMU v4.0.0.

Ha, everything just worked. That wasn't fun!

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/70
2019-05-29 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
4d001f521f gem5: update to 08c79a194d1a3430801c04f37d13216cc9ec1da3
Fix gem5 userland fatal: kernel too old.

Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/64
gem5 x86 boot fails with: "Assertion `locked && curr_frag_id == 0' failed

So we are now back to mainline gem5!
2019-05-29 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
48079d0843 crosstool-ng: update to crosstool-ng-1.24.0
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/68

Copy source tree into build dir since ./ctng started failing out of tree.
I give up.
2019-05-27 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
3527c8df5b gem5: update to 865287d5b593b84d6ad91946a9ca4c49e24f9595
Include workaround for: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/64
2019-05-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
72200dee4e userland: scope every header identifier with lkmc_ 2019-05-21 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
6fe9e5bae7 baremetal: symlink all programs that currently run on both userland and baremetal 2019-05-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5caf50747c gem5: update to 1bfc29b0592eb040a01d7977a14191c3d3d46c51
Work around fatal kernel too old with a hack, I can't stand it anymore.
2019-05-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b5558eeebe linux: updated to v5.1
Fix MS_RDONLY issue https://github.com/cirosantilli/linux-kernel-module-cheat/issues/56

mmap module had trivial update on return value incompatibility.
2019-05-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
75fd708099 gem5: update to e2656006df442a995bf80ee03fa9700d6ec14537
The previous commit was failing to build in .fast due to unused variable on DPRINF:

/path/to/linux-kernel-module-cheat/out/gem5/default/build/ARM/dev/arm/gic_v3.cc: In member function 'virtual Tick Gicv3::read(PacketPtr)':
/path/to/linux-kernel-module-cheat/out/gem5/default/build/ARM/dev/arm/gic_v3.cc:94:21: error: unused variable 'context_id' [-Werror=unused-variable]
     const ContextID context_id = pkt->req->contextId();
                     ^~~~~~~~~~
2019-05-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b60784d59b linux: update to v5.0 2019-03-05 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
bc03d3ba8a gcc: update to 9046071dddb0a9ee7e30e5edf27cfc53b5b9c238
Initializes the submodule

Unfortunately, Buildroot does not seem to use it:
https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-custom-source-code-for-gcc-when-building-buildr
so tracking it here just for fun for now. We don't clone on ./build by
default, so it should not impact anyone.
2019-03-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fdb9ff5fa3 binutils-gdb: update to 1690de78a3603a3a0ab8487ef896e75871bb0737
Initializes the submodule.
2019-03-04 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0e25ee2715 glibc: update to 6c99e37f6fb640a50a3113b2dbee5d5389843c1e
Initializes the submodule.
2019-02-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
64dbf624db gem5: update to 9048ef0ffbf21bedb803b785fb68f83e95c04db8
--generate-dtb was removed and is set by default now
2019-01-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
5b6a716a9b gem5: update to a5bc2291391b0497fdc60fdc960e07bcecebfb8f
gem5-build: use --gold-linker by default
2018-11-23 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
ba570f57f3 gem5: update to 121160d97f3d41220a26d3371a277434c3defea3 2018-11-09 09:33:44 +00:00
Ciro Santilli 六四事件 法轮功
44e3fb8fd3 linux: update to v4.19 2018-10-28 00:00:08 +00:00
Ciro Santilli 六四事件 法轮功
0edf7575cd gem5: update to d4b3e064adeeace3c3e7d106801f95c14637c12f
Mostly for --param to control debug properly.

Less README workarounds, more ./run automation, oh yeah.
2018-10-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
74b51fc044 gem5: update to 7bfb7f3a43f382eb49853f47b140bfd6caad0fb8
The update is required to include 3c3ca64b5f0dd9eef7b1ce1c65cc6e8e9147dd38
otherwise baremetal does not on VExpress.

baremetal: create a baremetal setup with crosstool-ng

buildroot: improve directory location: move out/dl inside
out/buildroot/download, and add a new out/buildroot/build level

tagline: generalize, deliver more value than howto, since now howtos
are starting to multiply

rename all top scripts to separate words with hyphen more consistently,
e.g. run-gdb instead of rungdb

getvar: list all variables

gem5: make m5out section to focus all releated information at

Prevent m5term Text file busy when rebuilding gem5 while it is running.
2018-09-23 13:56:20 +01:00
Ciro Santilli
56738a1c70 lkmc v2-rc
Unsquashed version at v2-rc-unsquashed, but that cannot be merged as it
breaks bisects at several points. All bugs will not bisect to this
humongous change.

It all started with a conversion of the Bash scripts to Python, mainly
because I couldn't stand not being able to properly use --options for
run which has a million options.

Then since that required a full testing, I decided to do all the
refactorings that I had in mind at once, and so I did and it became
v2-rc.

This is the largest patch I have ever done! OMG a few weeks of extra time.
I'm never writing a Bash script for anything that starts getting big again.

Some of the features are:

* separate build-qemu and build-gem5 commands
* common: convert scripts to python. Add --option for everything
* rename build to build-buildroot now that we are splitting all the build
  commands, Linux kernel to follow
* move all git submodules to submodules/ and all buildroot packages to
  packages/
* refactor the out/ structure. Keep projects on toplevel, because guest
  projects separate archs and host ones don't, making a toplevel arch wrong
* do-release: rename to just release
  https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it
* run: add --terminal and explain gem5 pdb
* just track the lvimrc
* store CLI kernel config fragment inside buildlroot to avoid conflicts
* gem5: document m5 initparam
* readme: make a bunch of things awesomer
* readme: fix broken refs
* parsec-benchmark: update to 75d55ac446a43c47efb1044844a108c6c330184c
  Could not fetch otherwise.
* gem5: M5_OVERRIDE_PY_SOURCE
2018-09-14 07:42:31 +01:00