1713 Commits

Author SHA1 Message Date
Christian Mauderer
8ae22c48b3 freebsd/if_cpsw: Port. 2018-12-20 13:36:34 +01:00
Christian Mauderer
736d651892 freebsd/if_cpsw: Import. 2018-12-20 13:36:33 +01:00
Sebastian Huber
d7c7d6e256 Fix locking issue in epoch_sysinit()
The _Watchdog_Per_CPU_insert_ticks() assumes that interrupts are
disabled.
2018-12-20 10:33:34 +01:00
Christian Mauderer
91566dda7f waf: Update to waf-2.0.13.
This fixes a problem with python 3.7.

Update #3569.
2018-12-19 10:41:47 +01:00
Christian Mauderer
e3b595273a SLEEPQUEUE(9): Fix typo that prevent non-SMP build. 2018-12-19 10:41:47 +01:00
Sebastian Huber
1b47c61d2b SLEEPQUEUE(9): SMP only cache line alignment 2018-12-14 10:37:26 +01:00
Sebastian Huber
8d5fc9d52a blist: Fix u_daddr_t for 32-bit targets
The daddr_t is defined in <sys/types.h> by Newlib as long.
2018-11-27 09:13:54 +01:00
Sebastian Huber
e0b4edbdcc Update to FreeBSD head 2018-11-15
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.

Update #3472.
2018-11-15 10:56:14 +01:00
Sebastian Huber
d4bf70e497 Disable or make static kern_* functions 2018-11-15 10:06:58 +01:00
Sebastian Huber
70555d532d mutex: Avoid NULL pointer access in panic() 2018-11-15 09:18:48 +01:00
Sebastian Huber
9f2c3ceebe Fix locking issue in epoch_watchdog()
The _Watchdog_Per_CPU_insert_ticks() assumes that interrupts are
disabled.
2018-11-15 08:26:49 +01:00
Sebastian Huber
9f87c4586b Include missing <sys/types.h>
Update #3598.
2018-11-13 10:17:48 +01:00
Joel Sherrill
4ed04cbc06 Add waf 2.0.1 for parity with examples-v2 2018-10-26 16:13:47 -05:00
Sebastian Huber
afc0c81a5f openssl01: Call standard initialization functions 2018-10-25 09:40:18 +02:00
Sebastian Huber
a7079138c1 openssl01: New test 2018-10-25 08:40:53 +02:00
Sebastian Huber
b3169c2a6a Update to FreeBSD head 2018-10-23
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.

This commit updates OpenSSL to version 1.1.1.  This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.

Update #3472.
2018-10-25 08:38:45 +02:00
Sebastian Huber
2ce13cf6dc Update rtems_waf
Update #3551.
2018-10-25 07:52:23 +02:00
Sebastian Huber
a1e32519dc libxo: Use program wrappers for exit(), etc. 2018-10-24 11:36:40 +02:00
Sebastian Huber
ed5e02a933 Fix redefinition warnings 2018-10-23 13:25:45 +02:00
Sebastian Huber
dbb24072db ZONE(9): Disable UMA_ZONE_NUMA
There is no NUMA support in RTEMS currently.
2018-10-23 12:11:54 +02:00
Sebastian Huber
1aeb727bd2 pppd: Fix use of uninitialized stack variables 2018-10-23 07:37:11 +02:00
Sebastian Huber
b151e8ab7e ppp01: Use novj option on host side
The VJ compression seems to be not supported by libbsd.  Without this
option the following errors show up on the host side:

rcvd [LCP ProtRej id=0x75 00 2f 45 00 00 34 6b 9a 40 00 40 01 85 87 c0 a8 64 0b c0 a8 64 46 89 3c 00 15 2c 27 95 c2 0a 88 ...]
Protocol-Reject for unsupported protocol 'VJ uncompressed TCP/IP' (0x2f)
2018-10-17 11:31:35 +02:00
Sebastian Huber
c464b9e404 mDNSResponder: Fix for update to v765.1.2
In the update to v765.1.2 the mDNS_Init() changed the initialization of
m->AutoTargetServices from 1 to 0.  The motivation for this change is
unclear.  This change prevents at least the mDNS hostname lookups.
Revert this change and initialize m->AutoTargetServices to 1 like it was
before the update.
2018-10-16 13:29:20 +02:00
Sebastian Huber
91b858d2de mDNSResponder: Fix use of uninitialized variables 2018-10-16 13:29:16 +02:00
Sebastian Huber
4a5f546d8d Fix dhcpcd.conf content
Do not write '\0' characters to the file.  This confuses the options
parser.
2018-10-11 07:26:57 +02:00
Sebastian Huber
8ee0aa19cf PING(8): Honour file descriptor maximum 2018-10-10 14:41:19 +02:00
Sebastian Huber
175c1f8e0b Increase file descriptors in default network cfg
Make sure we can start the Telnet server in the default configuration.
2018-10-10 14:20:42 +02:00
Sebastian Huber
91327bd82a Use global stdout for kernel output and syslog() 2018-10-10 14:20:42 +02:00
Sebastian Huber
f949b432de Fix syslog() priority handling
Ths syslog priority is a mask not a level.
2018-10-10 14:20:06 +02:00
Sebastian Huber
1e77a45d54 saf1761_otg: Use real interrupt handler
The USB_BUS_SPIN_LOCK() is only used internally to the bus driver.
Replace the mutex with an interrupt disable/enable section.  Execute the
interrupt filter in a real interrupt context and forward the interrupt
handler to the interrupt server if necessary.
2018-10-04 14:14:51 +02:00
Sebastian Huber
f9d4e1d8c1 rtwn: Align mbuf to avoid realignment in rx path
See ieee80211_realign().
2018-10-04 14:12:56 +02:00
Sebastian Huber
2eae88b07c Fix typo (RTEMS_BSD_MODULE_NET80211) 2018-10-02 10:30:51 +02:00
Sebastian Huber
38c1a410fc telnetd: Update due to API changes
Update #3526.
2018-10-02 07:12:59 +02:00
Sebastian Huber
446f887000 mDNSResponder: Do not use SO_RECV_ANYIF socket opt
This socket option is not supported by FreeBSD.
2018-10-02 07:12:59 +02:00
Sebastian Huber
b54bd9546e fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-28 18:08:22 +02:00
Christian Mauderer
61575f5c44 Add PHY-driver for KSZ8091RNB with 50MHz.
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special
treatment if it is clocked with a 50MHz clock.
2018-09-27 11:03:21 +02:00
Sebastian Huber
8645b55017 fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-27 07:28:30 +02:00
Sebastian Huber
b3825029ff fsl_sdhci.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:41 +02:00
Sebastian Huber
6721f56bca fsl_sdhci.c: Import from FreeBSD
Update #3525.
2018-09-25 10:01:39 +02:00
Sebastian Huber
06dd40e544 imx/imx_gpio.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:37 +02:00
Sebastian Huber
7e8e1770f2 imx/imx_gpio.c: Import from FreeBSD
Update #3525.
2018-09-25 10:01:35 +02:00
Sebastian Huber
13840c1bea Update gpio interface
Update #3525.
2018-09-25 10:01:28 +02:00
Sebastian Huber
b42dea9e51 CONFIG_INTRHOOK(9): Port to RTEMS
Some device drivers (e.g. MMC) need a complex intialization with working
callouts.  Remove the dummy CONFIG_INTRHOOK() implementation and replace
it with the real one from FreeBSD.  Make sure TIMEOUT(9) services work
at this point.

Update #3525.
2018-09-25 10:01:15 +02:00
Sebastian Huber
6c51e62964 media01: Improve output messages
Use a single printf() call to avoid interference from other output.  Do
not print the listener argument.
2018-09-25 09:59:59 +02:00
Sebastian Huber
7aba2a4087 ck: Install header files
Update #3472.
2018-09-24 08:01:19 +02:00
Sebastian Huber
610349693d if_ffec_mpc8xx: Fix incoming data invalidation
With a write-back cache dirty cache lines may be evicted which could
overwrite new data.

Close #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
1b70957bd1 if_ffec_mpc8xx: Use M_NOWAIT for incoming frames
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
d101ed8614 if_ffec_mpc8xx: New MDIO driver support
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
457b4fc927 if_ffec_mpc8xx: Port driver to libbsd
Update #3523.
2018-09-21 10:29:43 +02:00
Sebastian Huber
860d833e05 if_ffec_mpc8xx: Import legacy driver from RTEMS
Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6
(2018-09-12).

Update #3523.
2018-09-21 10:29:43 +02:00