Commit Graph

5762 Commits

Author SHA1 Message Date
d7f24d8bca Libc: implement getifaddrs
Implement getifaddrs and freeifaddrs within the libc using socket
control files at the VFS. Add an "address" and "netmask" file to the
lwIP plugin.

Only a single IPv4 address is initially supported, and the broadcast
address returned will never be valid.

Ref #3439
2019-07-05 17:06:04 +02:00
5e8bc9ef51 WiP! Audio session redesign
Define a unified packet-buffer format for both Audio_out and Audio_in
sessions. This allows an Audio_out and an Audio_in client to exchange
packets with a common buffer and lexicon.

The sessions have also been stripped down to a minimum. The
'progress' and 'data_avail' signal handlers have been replaced with a
single 'progress' signal sent by Audio_in and received by Audio_in.

The Audio_in session has a reset signal delivered to the client to
indicate that the progress signal handler has been replaced (dubious).

These changes reflect a different relationship between the two sessions.
Drivers that play audio are now Audio_in clients and drive the rate that
packets can be consumed by sending progress signals.

Ref #2858
2019-06-28 16:17:03 +02:00
ac853252c3 Add Audio::Stereo_out frontend to Audio_out service
Add a frontend for the Audio_out service and convert the audio_out test
to use this utility. Abstracting the service and packet streams allows
the service to be refactored without adjusting native application code.

Fix #3435
2019-06-28 12:06:35 +02:00
11d2a2957a Fix linux syscall library build for NixOS 2019-06-19 15:43:26 +02:00
4c4cc5b9d1 bsd_audio_drv: use timeout interface
Use the Timeout interface rather than a signal handler and Timer
connection.
2019-06-18 19:47:27 +02:00
5db5d7a803 NixOS tweaks 2019-06-17 22:53:40 +02:00
d63e7e2e29 fixup! New VFS plugin for emulating POSIX pipes (Use pthread_join in test/libc_pipe)
Ref #2303
2019-06-17 15:31:33 +02:00
6773520a6d Merge remote-tracking branch 'fork/vfs_pipe' into staging 2019-06-17 15:28:28 +02:00
35f9f72146 Add "env" to coreutils-minimal
Ref #3421
2019-06-17 15:19:08 +02:00
dd5ef8b4eb Update coreutils port 8.29 -> 8.31
Ref #3421
2019-06-17 15:18:33 +02:00
08ab0cf6fd Merge branch 'shebang' into staging 2019-06-17 12:38:14 +02:00
f027698e34 Use #!/usr/bin/env ... shebangs
Fix #3421
2019-06-17 12:32:43 +02:00
51f9fd15b3 Merge remote-tracking branch 'genodelabs/staging' into staging 2019-06-17 11:32:07 +02:00
Norman Feske
84a4d978e0 sculpt: use secondary CPU for leitzentrale
By decoupling the leitzentrale from the (contended) boot CPU, the fading
on F12 interferes much less with animations like nano3d deployed in the
runtime.

Fixes #3268
2019-06-17 10:30:09 +02:00
Christian Helmuth
c0d19c83a2 fixup "vfs_trace: VFS plugin that offers trace buffer access" (coding style) 2019-06-17 09:42:01 +02:00
Sebastian Sumpf
2ef251189f fixup: 'vfs_trace: VFS plugin that offers trace buffer access'
effective c++ fixes

issue #3294
2019-06-17 09:34:07 +02:00
Sebastian Sumpf
42dbaad8f1 base: add 'trace' function to base/log.h
The 'Genode::trace' convenience function prints messages to Genode's
trace buffer (if tracing is enabled).

issue #3294
2019-06-17 09:32:09 +02:00
Christian Helmuth
b1a8405e72 fixup "vfs_trace: VFS plugin that offers trace buffer access" (typos) 2019-06-17 09:30:56 +02:00
Sebastian Sumpf
3fba0031d6 vfs_trace: VFS plugin that offers trace buffer access
The plugin creates a file-system hierarchy that enabled the access of
trace buffers for each component and its threads.

issue #3294
2019-06-17 09:25:05 +02:00
Sebastian Sumpf
1b527388cc trace: make trace buffer resizeable
Trace buffers a re-allocated during subsequent calls to 'trace'.

issue #3294
2019-06-17 09:25:03 +02:00
Sebastian Sumpf
0acff0ed96 base: make trace resumable
revert relocations so a paused subject can resume without changing its
policy.

issue #3294
2019-06-17 09:25:00 +02:00
Sebastian Sumpf
9b3f5a7fd6 gems: add direct fs constructor to Watch_handler
issue #3294
2019-06-17 09:24:57 +02:00
Stefan Kalkowski
6464fab582 fixup "Mini UART driver for Rpi3" 2019-06-17 09:11:43 +02:00
Alexander Boettcher
5a2fd40e50 bomb: handle failing child creation
Issue #3107
2019-06-13 17:07:43 +02:00
Stefan Kalkowski
9059ec77ce depot: recipe for base-hw-rpi3
Ref #3407
2019-06-13 14:45:36 +02:00
Sebastian Sumpf
f1be10f751 depot_autopilot: limit dynamic to 286 MB
* also set test-libc to 256 MB (seems to be enough)
* fixes memory issues on platforms with 512 MB RAM

issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
6d989200ab base: timestamp support for ARM 64-Bit
issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
0ea5dabac4 lxip: ARM 64-Bit support
issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
b45dd99393 base: add ARM 64-Bit to base API
issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
c33a095f98 jitterentropy: ARM 64-Bit version
issue #3407
2019-06-13 14:45:01 +02:00
Sebastian Sumpf
26ecd2f8d2 stdcxx: make linkable for ARM 64-Bit
'typeinfo for std::invalid_argument' was not found when using 'V' (weak
object)

issue #3407
2019-06-13 14:45:00 +02:00
Sebastian Sumpf
ff8ca9ad2e libc: add ARM-64 bit to recipe
issue #3407
2019-06-13 14:45:00 +02:00
Sebastian Sumpf
fb9e32d859 depot_autopilot: add ARM 64-bit support
issue #3407
2019-06-13 14:45:00 +02:00
Sebastian Sumpf
a760caf21e depot: support for ARM 64-bit for base-foc on rpi3
issue #3407
2019-06-13 14:44:56 +02:00
Stefan Kalkowski
dbaee9e782 hw: support for ARM64 Raspberry Pi 3
Restriction: enables only cpu core 0 and the timer interrupt by now.

Fix #3405
2019-06-13 14:37:14 +02:00
Stefan Kalkowski
7482b8d3ed hw: change update_pd to invalidate_tlb
In the past, the core-only privileged syscall `update_pd` was used only
to invalidate the TLB after removal of page-table entries.
By now, the whole TLB at least for one protection domain got invalidated,
but in preparation for optimization and upcomingARM v8 support,
it is necessary to deliver the virtual memory region that needs to get
invalidated. Moreover, the name of the call shall represent explicitely
that it is used to invalidate the TLB.

Ref #3405
2019-06-13 14:37:14 +02:00
Stefan Kalkowski
8ee6b13d29 hw: extend long-descriptor page table format
Ref #3405
2019-06-13 14:37:14 +02:00
Tomasz Gajewski
64d9cdf240 Mini UART driver for Rpi3
Ref #3405
2019-06-13 14:37:14 +02:00
Christian Helmuth
0f818d148e sculpt: version 19.06 2019-06-13 13:40:37 +02:00
Christian Helmuth
ed62c32ef3 NOT FOR MASTER "pistachio: build kernel with GCC 6.3" 2019-06-13 13:40:37 +02:00
Martin Stein
e42814dccb NOT FOR MASTER "depot_autopilot.run: raise depot autopilot quota"
Ref #3238
2019-06-13 13:40:37 +02:00
Martin Stein
3b9687f528 NOT FOR MASTER "depot_autopilot: list log matches"
Ref #3238
2019-06-13 13:40:37 +02:00
Martin Stein
78c1dc2f26 NOT FOR MASTER "depot_autopilot: hex dump of failed test log"
Ref #3238
2019-06-13 13:40:37 +02:00
Christian Helmuth
3c4c460f82 depot: update recipe hashes 2019-06-13 13:40:37 +02:00
Christian Helmuth
ab3efc0a33 depot_autopilot: skip test-fs_packet on rpi 2019-06-13 12:22:50 +02:00
Christian Helmuth
e1e67d8330 Increase timeouts in test-libc* pkgs
These tests often fail with Qemu on aged hosts because of the tight
timeouts.
2019-06-13 12:22:50 +02:00
Christian Helmuth
de4c31e557 Additional boot time (10 s) in test.run 2019-06-13 12:22:50 +02:00
Martin Stein
5a59d295a4 depot_autopilot.run: relax test timeout
There are still nightly tests like test-tcp_bulk_lxip on sel4 x86_64 qemu
that manage to hit the test timeout of the run script although the test was
successful. So, raise the extra time added by the run script to 30 seconds.

Ref #3411
2019-06-13 12:22:49 +02:00
Martin Stein
fe5ada85cb depot_autopilot.run: max nr of tests per boot
Some platforms (sel4 imx6/imx7) cannot manage to execute all tests in a single
boot. Thus, we re-boot them periodically after a given maximum number of tests
to avoid that arbitrary tests always fail due to the long uptime and not due to
the tests themselves.

If the maximum number of tests is set to 0, no limit is applied.

Fixes #3411
2019-06-13 12:22:49 +02:00
Johannes Kliemann
b55358c535 ada-runtime: fix exception handling on ARM
ref #3395
2019-06-13 12:22:49 +02:00