2064 Commits

Author SHA1 Message Date
Sebastian Huber
1e554b8193 media01: Scale with processor count 2017-10-20 14:59:55 +02:00
Sebastian Huber
91fb6e3753 rtems-kernel-page: Reclaim pages earlier 2017-10-20 14:59:54 +02:00
Sebastian Huber
7533adcf09 rtems-kernel-page: Add used pages counter 2017-10-20 14:59:54 +02:00
Sebastian Huber
5ede682973 ZONE(9): Use recursive lock for the UMA drain 2017-10-20 14:59:54 +02:00
Sebastian Huber
be708ff182 ZONE(9): Reduce BUCKET_MAX to 128
Reduces the worst-case per-processor caches.
2017-10-20 14:59:54 +02:00
Sebastian Huber
b988014362 ZONE(9): Fix uma_zone_set_max()
Account for items provided for per-processor caches.
2017-10-20 14:59:54 +02:00
Sebastian Huber
a8e84c62ae DEVICE(9): Avoid NULL pointer access 2017-10-20 14:59:54 +02:00
Sebastian Huber
fd34b5202f tests: Remove obsolete config defines 2017-10-20 14:59:54 +02:00
Sebastian Huber
7ec4d8760d dhcpcd: Honour file descriptor maximum 2017-10-20 14:59:54 +02:00
Sebastian Huber
9a583a94d3 SLEEPQUEUE(9): Update due to API changes
Update #3117.
Update #3182.
2017-10-17 13:56:38 +02:00
Sebastian Huber
79ec6b9e1c Install libpcap header files 2017-10-16 09:49:09 +02:00
Sebastian Huber
c79946a3de BPF(9): Remove RTEMS-specifics 2017-10-12 09:38:16 +02:00
Sebastian Huber
1043048648 tcpdump: Update to FreeBSD head 2017-04-04
Update tcpdump from Git mirror commit
99a648a912e81e29d9c4c159cbbe263462f2d719 to
642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-10-11 09:29:33 +02:00
Sebastian Huber
cd7d52dbe9 Update CONTRIBUTING.md 2017-10-10 15:18:08 +02:00
Sebastian Huber
acf428e92f user-space: Define O_DIRECTORY 2017-10-10 15:01:34 +02:00
Sebastian Huber
a53da0df50 userspace-header-gen.py: Python 3 compatibility 2017-10-10 15:01:34 +02:00
Sebastian Huber
97c5f8e8de Update libpcap to FreeBSD head 2017-04-04
Update libpcap from Git mirror commit
99a648a912e81e29d9c4c159cbbe263462f2d719 to
642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-10-09 13:58:08 +02:00
Sebastian Huber
67cbb9d6d4 Regenerate libbsd_waf.py 2017-10-09 13:58:02 +02:00
Christian Mauderer
d18c6435c4 Allow to set optimization level during configure.
This allows to set the optimization level for libbsd via a configure
switch. Useful for building with for example no optimization during
debug or with size optimization for space restricted targets.
2017-10-02 14:18:52 +02:00
Sebastian Huber
a70edfc49a ffec: Add wmb() to descriptor updates 2017-09-27 11:02:07 +02:00
Sebastian Huber
7f7a3397fc ffec: Support up to three interrupt requests 2017-09-27 11:02:07 +02:00
Sebastian Huber
e2e4bf4999 ffec: Avoid AXI bus issues due to a MAC reset 2017-09-27 11:02:06 +02:00
Sebastian Huber
ba0b05902b ffec: Add FECFLAG_AVB variant flag
This flag is analogous to the Linux driver FEC_QUIRK_HAS_AVB.  It
indicates an FEC with support for Audio Video Bridging (AVB).  This
indicator is used for various other parts in the Linux driver
(drivers/net/ethernet/freescale/fec_main.c).

Use it to customize the receive/transmit buffer alignment.  The receive
buffer alignment increased to 64-bytes on the i.MX 6SoloX and i.MX
7Dual.  There are no hard alignment restrictions for transmit buffers on
these chips.

Fix the ffec_softc::fectype type to provide enough storage for the
feature flags.
2017-09-27 11:02:06 +02:00
Sebastian Huber
1378632ad8 ffec: Increase descriptor ring alignment
For optimal performance a 64-byte alignment is recommended.
2017-09-27 11:02:06 +02:00
Sebastian Huber
9c3473572f ffec: Use explicit cache synchronization 2017-09-27 11:02:06 +02:00
Sebastian Huber
91a7527699 ffec: Support more rgmii variants 2017-09-27 11:02:06 +02:00
Sebastian Huber
95b102f733 ffec: Port to RTEMS 2017-09-27 11:02:06 +02:00
Sebastian Huber
807b5bb2c3 ffec: Import from FreeBSD 2017-09-27 11:02:06 +02:00
Sebastian Huber
b46916339b Generalize bsp_fdt_map_intr()
Update #3090.
2017-09-22 14:41:53 +02:00
Christian Mauderer
c6f4aa65ff if_atsam: Allow fixed MII settings. 2017-09-22 10:19:25 +02:00
Christian Mauderer
0190cfdd55 if_atsam: Move statistics to sysctl. 2017-09-22 10:17:26 +02:00
Christian Mauderer
80a7fe68a1 if-atsam: Port to rtems-libbsd. 2017-09-22 10:17:24 +02:00
Christian Mauderer
b16eca96c3 rtemsbsd/if-atsam: Copy from RTEMS.
Copied from RTEMS commit 146adb1edf from 17.07.2017.
2017-09-22 10:15:52 +02:00
Sebastian Huber
894c965d95 Support reference counting for file descriptors
Close #3132.
2017-09-15 12:46:57 +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
34ff390b09 BUS_SPACE(9): 64-bit support
Update #3082.
2017-08-23 11:04:20 +02:00
Sebastian Huber
885ac75710 openssl: Workaround for ARM-specific files
Update #3110.
2017-08-23 10:54:49 +02:00
Sebastian Huber
301ee6e143 Remove strtoimax() and strtoumax()
This is now provided by Newlib.
2017-08-22 17:52:24 +02:00
Sichen Zhao
1f7037d2e7 Port openssl to RTEMS. 2017-08-20 08:35:29 +10:00
Sichen Zhao
6bed520916 Import openssl from FreeBSD. 2017-08-20 08:35:17 +10:00
Christian Mauderer
8d2dbd37b6 waf: Move glob operator ** to builder.py
This allows a finer decision which headers should be installed.
2017-08-20 08:35:10 +10:00
Christian Mauderer
307b324a42 waf_generator: Copy headers if necessary.
There are some cases, where a header is installed into a directory with
a different name then it's source directory. In that case, the build
might fail because the header is not found. One example would be the
<openssl/opensslv.h>. The source for this file is in
freebsd/crypto/openssl/crypto/opensslv.h.

To allow the build to work in such cases too, copy such files into a
temporary location in the build tree.
2017-08-20 08:35:04 +10:00
Sichen Zhao
097ccba6b0 Enable the WEP encrypted WiFi.
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
2017-08-02 08:30:55 +02:00
Sichen Zhao
47169ea21a Port rtl8188eu driver to RTEMS.
Now USB dongle rtl8188eu can work as wlan client device.
It can scan wifi, connect unencrypted wifi.
2017-08-02 08:30:55 +02:00
Sebastian Huber
6e328c38b1 KQUEUE(2): Add missing file handler 2017-07-28 08:46:21 +02:00
Sebastian Huber
17ab62cbdd PIPE(2): Add missing file handler 2017-07-28 08:46:20 +02:00
Sebastian Huber
091321081a SOCKET(2): Add missing file handler 2017-07-28 08:46:18 +02:00
Sebastian Huber
b43517be37 ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR 2017-07-18 08:33:00 +02:00
Christian Mauderer
658f9b8967 dev/rtwn: Import new files from FreeBSD. 2017-07-17 15:54:25 +02:00
Sichen Zhao
9121570cf2 Port am335x usb driver to RTEMS.
Add FDT and umass support for am335x USB driver.

Now RTEMS can mount and open USB disk.
2017-07-13 07:30:06 +02:00