301 Commits

Author SHA1 Message Date
Sebastian Huber
3489e3b639 Update to FreeBSD head 2018-09-17
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
bcdce02d9b Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
43a39b7a5d syscalls01: Fix for IPSEC enabled 2018-08-28 12:51:49 +02:00
Sebastian Huber
8e35aaa9df tests/termios: Fix warnings 2018-08-20 15:20:51 +02:00
Christian Mauderer
baffbf3e64 testsuite/ipsec01: Add. 2018-08-02 10:32:24 +02:00
Christian Mauderer
b376ae131d ipsec-tools: Port libipsec, setkey and racoon.
Note that this replaces the libipsec from FreeBSD with the one provided
by ipsec-tools.
2018-08-02 10:25:37 +02:00
Sebastian Huber
3df89c0ef9 selectpollkqueue01: Invalidate file descriptor
This is not a functional change or a fix.
2018-07-26 13:53:17 +02:00
Sebastian Huber
6fb003f588 Fix sporadic test failures via uma_timeout() 2018-07-26 12:03:45 +02:00
Sebastian Huber
a1e4757a30 syscalls01: Fix sporadic test failures 2018-07-02 09:16:40 +02:00
Sebastian Huber
b2eb48c23b dhcpcd: Add hooks 2018-05-08 07:37:17 +02:00
Sebastian Huber
8bd38d645c dhcpcd: Add rtems_dhcpcd_start()
Use it throughout to start the DHCP client (dhcpcd).
2018-05-08 06:50:17 +02:00
Christian Mauderer
338f3005fc buildset: Add minimal and everything config.
This adds two new buildset configurations: One that leaves out as much
features as possible and one that enables all features. For the default
configuration WiFi support is now disabled.

To disable IPv6 for the minimal configuration, all -DINET6 are
eliminated in libbsd.py. They are now replaced by a #ifdef that checks
for RTEMS_BSD_MODULE_NETINET6 instead.

Close #3351.
2018-05-03 07:09:46 +02:00
Sebastian Huber
b1404f2392 Add DHCP clientid to test default network init 2018-04-30 13:42:18 +02:00
Sebastian Huber
8189ea825a CRYPTO(4): Port to RTEMS 2018-03-28 07:59:12 +02:00
Sebastian Huber
eae664ea8f mutex: Use panic() after ISR lock release
Using panic() with interrupts disabled could lead to an additional error
(INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT) due to a potentially
blocking output.
2018-03-13 11:27:11 +01:00
Sebastian Huber
9906c4a5ee tests: Fix configuration dependencies 2018-02-05 12:05:52 +01:00
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