285 Commits

Author SHA1 Message Date
Sebastian Huber
c360b1a2dc Revert "RWLOCK(9): Add reader/writer lock implementation"
This was accidentally committed.

This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-17 10:49:59 +01:00
Sebastian Huber
97a98f6cd7 RWLOCK(9): Add reader/writer lock implementation 2017-11-16 09:02:24 +01:00
Sichen Zhao
ce2262ee28 Add wpa_supplicant_fork command.
Add fork command for wpa supplicant to start a new task.
2017-11-10 13:33:03 +01:00
Sichen Zhao
0aa7e63205 Add wpa_supplicant command in test suite.
Add wpa supplicant command in media01.
2017-11-10 13:33:03 +01:00
Sebastian Huber
896f068b71 tests/syscalls01: Fix shutdown() test
The socket must be connected for a shutdown().
2017-11-10 11:53:07 +01:00
Sebastian Huber
23cd284af0 Add rtems_bsd_ifconfig_lo0() 2017-11-10 11:50:30 +01:00
Sebastian Huber
eeeda4b1b8 tests/syscall01: Update error values
FreeBSD changed the error values.
2017-11-10 11:17:13 +01:00
Sebastian Huber
c64806c472 tests/mutex01: Fix mtx_recursed() usage 2017-11-09 14:28:37 +01:00
Sebastian Huber
6fbcf2ec48 tests/program01: Fix test name 2017-11-09 14:28:17 +01:00
Sebastian Huber
28ee86a9b0 Import DPAA driver snapshot
Imported from Freescale Linux repository

git://git.freescale.com/ppc/upstream/linux.git

commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161.

Linux compatibility layer is partly from FreeBSD.
2017-10-23 08:46:43 +02:00
Sebastian Huber
5be4f06fa8 Add CPUINFO command to default network init 2017-10-20 14:59:55 +02:00
Sebastian Huber
1e554b8193 media01: Scale with processor count 2017-10-20 14:59:55 +02:00
Sebastian Huber
fd34b5202f tests: Remove obsolete config defines 2017-10-20 14:59:54 +02:00
Sebastian Huber
666a56883a Include missing <string.h> and <limits.h>
Fix warnings.

Update #2132.
Update #2133.
2017-08-25 14:23:50 +02:00
Sebastian Huber
3c967ca238 Use <sys/lock.h> provided by Newlib 2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
2017-06-08 13:19:54 +02:00
Kevin Kirspel
15a432108b Add tests for USB keyboard and mouse as well as EVDEV 2017-05-19 07:24:30 +02:00
Kevin Kirspel
534017c9ee Adding USB Serial test 2017-05-12 14:18:38 +02:00
Kevin Kirspel
333bfb618b Adding test cases for FREEBSD termios support through tty 2017-05-11 11:15:41 +02:00
Chris Johns
443757313e rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.
The interface alias allows extra IP addresses to be set on and
interface and it also allows the MAC address to be set.

Examples:
  ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0"
  ifconfig_em0_alias0="ether 10:22:33:44:55:66"
  ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
2017-04-27 13:57:28 +10:00
Sebastian Huber
3360232e95 Enable bridging by default 2017-04-04 07:47:31 +02:00
Sebastian Huber
517e229e82 media01: Add cpuinfo command 2017-03-08 08:38:06 +01:00
Sebastian Huber
045ff6e11c Add poll() and select() support for Termios 2017-02-28 10:54:50 +01:00
Sebastian Huber
631fb983aa netshell01: Add license, fix format 2017-02-28 10:07:37 +01:00
Sebastian Huber
284ff16f82 Update due to configuration API changes 2017-02-21 08:34:09 +01:00
Kevin Kirspel
9f2205a3f5 Port LPC32XX Ethernet and USB OHCI to RTEMS 2017-02-14 09:40:01 +01:00
Christian Mauderer
120caa668f testsuite/commands01: Add wlanstats call. 2017-01-17 12:51:30 +01:00
Christian Mauderer
ecda18104e freebsd/wlanstats: Port to FreeBSD. 2017-01-17 12:51:30 +01:00
Sebastian Huber
172f2acb2b Use thread name support
Update #2858.
2017-01-13 09:20:43 +01:00
Sebastian Huber
9e8ce9ae2e pf: Some fixes after the update 2017-01-10 14:41:23 +01:00
Sebastian Huber
64c663c0d1 ARP(8): Port to RTEMS 2017-01-10 11:03:32 +01:00
Sebastian Huber
c4e89a9125 VMSTAT(8): Port to RTEMS 2017-01-10 09:53:34 +01:00
Sebastian Huber
46f0b8bd51 Enable multi-cast routing support 2017-01-10 09:53:33 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Kevin Kirspel
b1580fb039 PIPE(2): Port to RTEMS 2016-12-23 08:26:14 +01:00
Sebastian Huber
546b38d684 Add BRIDGE(4) support to configuration 2016-12-15 09:53:07 +01:00
Chris Johns
f7a4107c6f Add a RTEMS Debugger TCP remote transport.
The patch also adds support to libbsd's build system making source
conditional on a configure check. The debugger support is not
available on all architectures and this feature lets us test if
is avaliable.
2016-11-29 15:27:23 +11:00
Sebastian Huber
e49f301a4f Fix default network memory configuration 2016-11-10 10:52:22 +01:00
Sebastian Huber
520ab224ca Modify rtems_bsd_set_vprintf_handler()
Return previous vprintf()-handler in rtems_bsd_set_vprintf_handler().
2016-11-09 09:46:32 +01:00
Sebastian Huber
335bb97980 testsuite: Fix warnings 2016-10-07 07:24:42 +02:00
Sebastian Huber
ec5b97bed1 usb01: Simplify test program 2016-09-28 15:33:50 +02:00
Christian Mauderer
6634edbee8 devfs: Create path. 2016-08-16 09:16:43 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +02:00
Christian Mauderer
a8d016c39d testsuite/pf01: Remove pflog-module from test.
This module is not tested inside the pf01 test. Therefore remove it. It
is still build in the interactive pf02 test.
2016-08-08 08:54:35 +02:00
Christian Mauderer
32a3dd1e43 pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options. 2016-08-08 08:54:34 +02:00
Christian Mauderer
7aaa9a19d1 testsuite/pf02: Add interactive pf test. 2016-08-03 13:58:38 +02:00
Christian Mauderer
df222eba72 testsuite/pf01: Test pfctl and pf. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d31a3658d0 rtemsbsd: Add wrapper for open, fopen, malloc, ...
Add the following rtems_bsd_program_... wrapper:

* rtems_bsd_program_open
* rtems_bsd_program_socket
* rtems_bsd_program_close
* rtems_bsd_program_fopen
* rtems_bsd_program_fclose
* rtems_bsd_program_malloc
* rtems_bsd_program_calloc
* rtems_bsd_program_realloc
* rtems_bsd_program_free
* rtems_bsd_program_strdup
* rtems_bsd_program_vasprintf
* rtems_bsd_program_asprintf
2016-08-02 10:21:46 +02:00
Christian Mauderer
3d91340868 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-02 10:21:38 +02:00
Christian Mauderer
fa43d6a7ea testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
2016-08-02 10:20:51 +02:00