Commit Graph

361 Commits

Author SHA1 Message Date
Pirmin Duss
5587d78e89 protobuf_grpc: google serializing and RPC library
protobuf : 3.9.1
grpc     : 1.24.0

Issue #190
2019-11-04 14:03:22 +01:00
Sebastian Sumpf
f957aa538f jdk: just reserve FDs in 'socketpair'
socketpair() is used in libnio/libnet to create "marker FDs", which are
only used as destination FD in dup2(). So it is safe to just reserve
those descriptors. Otherwise, calling functions may use uninitialized
stack variables after successful return of socketpair(), which results
in closing arbtrary fds later on.

Fixes #192
2019-10-23 14:29:40 +02:00
Norman Feske
64d2ec2d5e Build fix for test/sdl_opengl/sdl_main.cc 2019-09-27 14:16:59 +02:00
Alexander Senier
4420531023 gtest: Make library shared 2019-08-20 10:44:27 +02:00
Alexander Senier
2dc3acddee gtest: remove rtc_drv from boot image 2019-08-20 10:44:27 +02:00
Sebastian Sumpf
1077ec6a3f fdt: test program and run script
issue #188
2019-08-14 17:43:45 +02:00
Sebastian Sumpf
a911e81662 fdt: port of the device tree manipulation library
fixes #188
2019-08-14 17:43:45 +02:00
Alexander Senier
a35d5d7995 gtest: remove dependency to rtc_drv
The googletest run files needlessly used rtc_drv where a dummy /dev/rtc
node would do. Remove this dependency to enable those tests on
base-linux.

Fixes #187
2019-08-14 10:52:08 +02:00
Christian Helmuth
b2f643e37f numptyphysics: exclude .git directories from src archive 2019-07-11 16:17:23 +02:00
Norman Feske
2b20aea960 libSDL: stack nitpicker view at creation time
Fixes #186
2019-07-09 10:22:39 +02:00
Norman Feske
8483ec6db9 libsdl: add missing undefined ref of "main" to ABI
This symbol is needed to inform the (static) linker about the dependency
of the component-startup code from the program's main function. Without
the symbol, the use of gc-sections during linking may discard the actual
application code.
2019-07-08 16:05:15 +02:00
Emery Hemingway
3066684ded Convert run/audio_player to XSPF playlist formatting 2019-07-01 15:08:08 +02:00
Josef Söntgen
980b5cab3f umurmur: requires x86
On ARM64 it relies on 'byteswap.h' being available which is not the
case on FreeBSD. Let's limit the port to x86 for the time being.

Issue #184.
2019-06-17 16:18:06 +02:00
Emery Hemingway
a2c68c5c19 Implement SDL_WM_SetCaption for Nitpicker 2019-06-14 10:04:47 +02:00
Emery Hemingway
492ac57199 Remove fixed package versions
Replace the versioned dependencies in some packages. Remove the
flif_capture package, which does not work.

Fix #181
Fix #182
2019-06-07 12:37:12 +02:00
Stefan Kalkowski
5da85325d4 Remove abandoned libpq and libpqxx ports
Fix #175
2019-06-07 10:55:18 +02:00
Christian Prochaska
b2eef37312 tftp_rom: remove 'os/signal_rpc_dispatcher.h' inclusion
Fixes #164
2019-06-07 10:53:07 +02:00
Christian Prochaska
e6ca2df697 Remove 'vfs_any-rom.mk'
Fixes #163
2019-06-07 10:52:48 +02:00
Christian Prochaska
fdc984211c libpq: remove 'pthread' library dependency
Fixes #162
2019-06-07 10:52:38 +02:00
Stefan Kalkowski
e639510af5 run: use unambigously named components and pkgs 2019-06-03 11:37:21 +02:00
Stefan Kalkowski
e178109093 tor and dosbox: fix compile errors due to new gcc 2019-06-03 11:36:30 +02:00
Sebastian Sumpf
c2f1576ba4 jdk: Update port to Freebsd 12
* fix NULL = nullptr in C++ semantic (arm, x86_64)
* arm: disable soft float (full hard float support)
* dummies some mmap flags

issue genodelabs/genode#3289
2019-05-18 10:40:05 +02:00
Norman Feske
c070e64bd4 libsdl: config tweaks, remove sdlmain lib
This patch contains changes to the libSDL port that were needed to build
the Hatari emulator using cmake.

- Since SDL programs cannot use the posix library (because sdl's init
  function needs a way to get hold of the Genode env), the sdl_main
  library must be used instead of the posix library. The sdl_main
  code implements the Libc::Component::construct function for the
  final binary. However, 3rd-party build systems are not aware of this
  Genode-specific peculiarity and thereby create binaries that leave
  libsdl uninitialized. This patch adds the sdl_main to libsdl by
  default and thereby eliminates the need for specifying the extra
  sdl_main library. Customizing the Libc::Component::construct is
  still possible by overriding the library-provided implementation
  in the main program.

- A few missing config definitions are added to compile Hatari
  successfully.

- Avoid reliance on the include/SDL convention in SDL_config.h

- Cmake relies on the upper-case naming of the library with no way
  to tweak this convention. So we install an symlink named `SDL.lib.so`
  when installing the library into the <build-dir>/bin/ directory.

Fixes #161
2019-05-14 11:45:43 +02:00
Pirmin Duss
5c353771ba Port the sgdisk utilit form the gptfdisk package 2019-05-14 10:42:45 +02:00
Pirmin Duss
71193e0f5c Port libuuid from util-linux
This is required by sgdisk.
2019-05-14 10:41:38 +02:00
Pirmin Duss
3873daff94 Port the popt argument parsing library
This is required for the sgdisk tool.
2019-05-14 10:41:15 +02:00
Johannes Schlatow
a9f90eb1d5 zynq_boards: fix bootstrap-hw.mk 2019-05-07 10:14:34 +02:00
Johannes Schlatow
6402247003 zynq_boards: enable L2 cache 2019-05-07 10:14:34 +02:00
Johannes Schlatow
f84567e460 zynq_boards: move RAM size to board defs 2019-05-07 10:14:34 +02:00
Johannes Schlatow
a4d3745a9a zynq boards: fix board defs 2019-05-07 10:14:34 +02:00
Johannes Schlatow
557ffbac80 remote_rom: Genode API compatibility 2019-05-07 10:14:34 +02:00
Johannes Schlatow
92ef8619c7 remote_rom: implement ARP requests 2019-05-07 10:14:34 +02:00
Johannes Schlatow
8ed98b8459 remote_rom: use UDP and implement go-back-N ARQ 2019-05-07 10:14:34 +02:00
Edgard Schmidt
c137c595c8 remote_rom: improvements and refactoring
Avoid a runtime warning message since our backend does not provide
such constructor functions yet. If a backend requires them, it should
initiate their execution by itself within the backend init functions.

In coherence with the size_guard idea, the remote_rom packets are are
separated into a simple layer packet and a data packet. While basically
only managing common control informations, the layer packet may carry
any payload. The data packet, instead, manages the transmission of the
actual ROM payload and can be attached to the layer packet. This
simplifies the management of the notification packets UPDATE and SIGNAL
since they do not contain fields like 'offset' or 'payload_size'
anymore.

Now, a single thread manages all incoming RPC calls, signals and (thus)
network packets. This will hopefully make further synchronization
enhancements a lot easier.

Further changes:
* Following data packets are identified as such by their offset instead
  of their packet type field. This simplifies the protocol.
* reduced redundancy in the packet building code
* rewrap lines with >79 columns
* fix compiler warnings
* split backend code
* Remove a few unnecessary include and using directives.
* In order to avoid global variables across modules, 'verbose' is a
  member variable now. Later, its value may be set via constructor.
* The nested Rx class is merged with Backend_base. This way, we avoid
  unnecessary maintenance as long as we don't have a clear design for
  ROM multiplexing which may require the management of multiple IP
  addresses etc.
* The HANDLER template argument is removed since client and server
  inherit from Backend_base anyway. The receive method is virtual now.
* The signals packet_avail and ready_to_ack are directly passed to the
  same signal handler now.
* Remove unnecessarily public/protected visibility from some members.
* Remove and add unnecessary and, due to inclusion order, secretly
  missing include directives, respectively.
2019-05-07 10:14:34 +02:00
Johannes Schlatow
5627797e77 log_udp: receive LOG messages via UDP 2019-05-07 10:14:34 +02:00
Johannes Schlatow
c87b2f2eb9 udp_log: send LOG as UDP packets 2019-05-07 10:14:34 +02:00
Stefan Kalkowski
795b2db59f lwext4: adjust to new block API (fix #157) 2019-05-07 09:49:57 +02:00
Stefan Kalkowski
49f762421d block_shred: adjust to new block API (fix #158) 2019-05-07 09:48:48 +02:00
Josef Söntgen
da1208c159 Remove any-rom VFS plugin
The plugin does not build anymore, which will lead to errors if
'make lib/vfs' is executed and the original use-case is gone according
to the plugin's author anyway.

Fixes #155.
2019-04-18 11:31:52 +02:00
Emery Hemingway
498854c085 Nic_bus server
A minimal Nic service that switches ethernet packets between Nic
sessions. Packets are only switched between MAC addresses of directly
connected sessions, attaching a device driver and switching to
additional MACs on further ethernet segments is not supported. That is
to say that is component is neither a hub nor a switch.

This server is intended for creating private LANs between components and
supports arbitrary level 3 protocols (IPv4 and IPv6).
2019-04-15 13:47:58 +02:00
Emery Hemingway
3e04718fa7 SSH client: close with terminal, fix anonymous authentication 2019-04-09 13:31:01 +02:00
Emery Hemingway
267327664a Rename blk_shred to block_shred, package 2019-03-31 19:52:04 +02:00
Emery Hemingway
61ee28cb7d Use RDRAND to initialize blk_shred
Mix jitterentropy with RDRAND when initializing psuedo-random number
generator.
2019-03-31 14:38:06 +02:00
Emery Hemingway
a9617304f8 Jitter sponge: always ready to read
Always return true for bytes available check. This fixes the server to
work with VFS clients.
2019-03-31 14:25:55 +02:00
Josef Söntgen
6d8110a3a5 lwext4_fs: adapt pkg runtime to CE
Fixes #153.
2019-03-25 13:39:41 +01:00
Emery Hemingway
8c5b16ea6a Increase RAM in Grafx2 package
Grafx2 needs more ram to edit things like high-res desktop backgrounds.
2019-03-22 10:56:20 +01:00
Emery Hemingway
f8924a3337 Add runtime to flif_view package
The flif_view package may be used to view files created by flif_capture.
2019-03-22 10:56:20 +01:00
Emery Hemingway
a0a9642ca1 Fix include a window manager with flif_capture package 2019-03-22 10:56:20 +01:00
Norman Feske
8987bbf4b6 Runtime pkg for avplay 2019-03-21 16:32:56 +01:00
Sebastian Sumpf
6680c328ff jdk: missing network infrastructure for clients
fixes #150
2019-03-21 14:00:27 +01:00