Commit Graph

97 Commits

Author SHA1 Message Date
35661d065e base-linux: omit unused lib/mk/ from API recipe
The 'base-linux' API is used by hybrid Genode/Linux programs for the
lx_hybrid library. This API archive happend to contain other libraries -
like seccomp - that are solely needed for building core. With the change
of the build system in issue #4599, the build system would attempt to
build all libraries instead of merely the library dependencies of the
available targets. Hence, it would trigger the build of, e.g.,  the
seccomp library for each user of the base-linux API.

This patch avoids these superfluous build steps by pruning the content
of lib/mk/ to the libraries actually needed for lx_hybrid users.

Issue #4599
2022-09-19 14:00:32 +02:00
dd9e12601e Remove pseudo targets for building shared libs
Thanks to the change "build: support library builds via lib/<libname>",
shared libraries can now be built directly by the build system.

Issue #4599
2022-09-19 14:00:32 +02:00
88e13bb236 base-linux: src/lib/initramfs -> /src/initramfs
Move the target for initramfs outside the src/lib/ directory because
target.mk files within src/lib/ are no longer reachable.

Issue #4599
2022-09-19 13:59:27 +02:00
4dddc41b71 depot: update recipe hashes 2022-08-31 09:32:09 +02:00
44e2cd14a0 depot: update recipe hashes 2022-08-17 12:03:26 +02:00
3105fa9e0f depot: update recipe hashes 2022-05-25 12:23:04 +02:00
8ece236635 depot: update recipe hashes 2022-04-13 11:54:46 +02:00
2b3370c8d8 depot: update recipe hashes 2022-02-28 11:46:35 +01:00
649647538b depot: update recipe hashes 2022-02-15 10:23:59 +01:00
65284b29f8 depot: update recipe hashes 2022-01-19 12:38:13 +01:00
5611fd2355 depot: update recipe hashes 2021-12-17 15:06:38 +01:00
92b7be4d11 depot: update recipe hashes 2021-11-30 12:08:54 +01:00
abc9a2f232 depot: update recipe hashes 2021-10-14 13:46:25 +02:00
83c5648d33 depot: update recipe hashes 2021-08-30 15:00:39 +02:00
7618c9410a depot: update recipe hashes 2021-08-18 15:06:12 +02:00
fce525f122 depot: update recipe hashes 2021-07-28 11:27:05 +02:00
ece33d37f8 depot: update recipe hashes 2021-06-25 11:46:37 +02:00
1d52bd017d depot: update recipe hashes 2021-05-28 14:16:46 +02:00
777923f9bd depot: update recipe hashes 2021-05-10 11:18:12 +02:00
a4115cfea9 base-linux: discharge timestamp on AARCH64
The kernel-agnostic 'Trace::timestamp' function for arm_64 executes the
'mrs %0, pmccntr_el0' instruction, which is not permitted for user-level
programs on Linux. This patch shadows the generic timestamp.h header
with dummy that returns zero. This return value prompts the timeout
framework to disable the interpolation of time based on timestamps. This
avoid the illegal-instruction abort but comes with two llimitations:

First, time measurements are effectlively limited to a granulariry of 1
millisecond (deliberately constrained by the timer driver).

The quirk is applied when using the base-linux API. Should a generic
application (that uses the base API only) call 'Trace::timestamp'
directly, the illegal instruction is executed.

Issue #4136
2021-05-10 11:17:20 +02:00
2f9d430c00 base-linux: 64-bit ARM support
This patch adds support for running Genode/Linux on the AARCH64
architecture.

- The kernel-agnostic startup code (crt0) had to be extended to
  capture the initial stack pointer, which the Linux kernel uses
  to pass the process environment. This is in line with the
  existing startup code for x86_32 and x86_64.

- The link order of the host libraries linked to lx_hybrid
  programs had to be adjusted such that libgcc appears at last
  because the other libraries depend on symbols provided by
  libgcc.

- When using AARCH64 Linux as host, one can execute run scripts
  via 'make run/<script> KERNEL=linux BOARD=linux' now.

Issue #4136
2021-05-10 11:17:20 +02:00
0b36d81c0c base-linux: separate x86-specific code
By moving core's build-description to a library - a pattern already
employed for the other base platforms - we become able to cleanly split
x86-specific code (I/O-port access) from generic code. This is a
prerequisite for enabling non-x86 architectures such as AARCH64.

Issue #4136
2021-05-10 11:17:20 +02:00
516a9a6925 depot: update recipe hashes 2021-05-05 11:35:31 +02:00
efbed6f7bf depot: update recipe hashes 2021-04-20 12:10:58 +02:00
5c5b56d1e0 depot: update recipe hashes 2021-03-12 12:08:24 +01:00
0afd3db894 depot: update recipe hashes 2021-02-25 11:24:23 +01:00
64165d829e depot: update recipe hashes 2021-02-23 12:07:18 +01:00
a981fb864c depot: update recipe hashes 2021-01-25 14:00:43 +01:00
1bef11accf depot: update recipe hashes 2020-12-18 09:10:52 +01:00
f2e0c164c2 depot: update recipe hashes 2020-11-27 09:21:06 +01:00
5be1c793a5 depot: update recipe hashes 2020-10-23 14:16:38 +02:00
91f8281618 depot: update recipe hashes 2020-10-09 13:35:57 +02:00
1b41d9db90 base: remove alarm library from base
Ref #3884
2020-10-09 13:33:36 +02:00
c59c266afc depot: update recipe hashes 2020-09-17 14:23:14 +02:00
c649307720 depot: update recipe hashes 2020-08-28 08:29:12 +02:00
7d0cb9620b depot: update recipe hashes 2020-08-25 11:50:41 +02:00
de795b1a6e depot: update recipe hashes 2020-07-13 11:33:53 +02:00
4450b37ff5 depot: update recipe hashes 2020-06-29 14:25:28 +02:00
eb3a81a874 depot: update recipe hashes 2020-06-22 09:39:41 +02:00
6006051fb9 depot: update recipe hashes 2020-05-27 11:56:47 +02:00
0f27d139bd depot: update recipe hashes 2020-05-18 10:16:59 +02:00
236e02a2dd linux: remove initramfs from base-linux src archive 2020-05-18 10:16:13 +02:00
dd899fde29 depot: update recipe hashes 2020-04-24 14:37:57 +02:00
b60b591d06 depot: update recipe hashes 2020-04-17 12:40:13 +02:00
46fa8197a2 depot: update recipe hashes 2020-03-26 11:39:02 +01:00
5affd51250 depot: update recipe hashes 2020-02-28 08:59:43 +01:00
4cccf74664 depot: update recipe hashes 2020-02-20 12:11:23 +01:00
57ea1dbdd3 depot: update recipe hashes 2020-02-10 14:29:06 +01:00
90535a1401 depot: update recipe hashes 2020-02-04 15:51:10 +01:00
b931b67cba depot: update recipe hashes 2019-12-19 17:01:43 +01:00