Christian Mauderer
ddd16bcc32
dhcpcd: Don't ignore interface on transient errors.
...
In case of WPA on a WiFi interface, the interface isn't yet ready when
the dhcpcd starts. Sending a packet during that time returns with a
ENOBUFS. That caused the interface to be ignored.
On the upstream repository of dhcpcd, that transient error (and some
others) are already ignored.
2017-11-10 13:33:03 +01:00
Christian Mauderer
e5abb31577
libbsd.txt: Describe current state of WLAN.
2017-11-10 13:33:03 +01:00
Christian Mauderer
bed8742caa
wpa_supplicant: Fix getopt.
2017-11-10 13:33:03 +01:00
Christian Mauderer
79ad9525a2
wpa_supplicant: Include rtems-bsd-program.h.
2017-11-10 13:33:03 +01:00
Christian Mauderer
4613db09fc
wpa_supplicant: Add lock.
2017-11-10 13:33:03 +01:00
Christian Mauderer
ee0c369cdd
wpa_supplicant: Move forking command into own file.
...
The malloc wrapper must not be disabled. Therefore the command that uses
malloc without a wrapper has to live in another file.
2017-11-10 13:33:03 +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
Sichen Zhao
8f2267bbb9
Port wpa supplicant to RTEMS.
...
Add wpa_supplicant lib support and shell command support in RTEMS.
2017-11-10 13:33:03 +01:00
Sichen Zhao
9c9d11b481
Import wpa from FreeBSD
2017-11-10 13:33:02 +01:00
Sebastian Huber
847de24eb0
Fix build for non-FDT platforms
2017-11-10 13:32:14 +01:00
Sichen Zhao
7c68f4ef0b
Port BBB sd driver files to RTEMS.
...
So BBB can mount and read eMMC and SD card.
2017-11-10 13:10:08 +01:00
Sichen Zhao
7e52ab9cd0
Import BBB sd driver files from FreeBSD.
2017-11-10 13:10:02 +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
057656b706
Disable HHOOK(9) support for sockets
...
Support was only partly disabled leading to NULL pointer accesses.
Disable it completely.
2017-11-10 11:16:14 +01:00
Sebastian Huber
72d5fa11a8
Fix reference counting for file descriptors
...
Update #3132 .
2017-11-10 11:01:54 +01:00
Sebastian Huber
b15a71914d
Change RTEMS version to 5
...
Update #3220 .
2017-11-09 14:28:55 +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
45149ec24e
Fix general PowerPC build
2017-10-26 15:02:24 +02:00
Sebastian Huber
936b597a57
ffec: Fix comment
...
Update #3090 .
2017-10-26 08:44:27 +02:00
Sebastian Huber
a8a9cf1847
ffec: Add checksum offload
...
Update #3090 .
2017-10-25 14:30:04 +02:00
Sebastian Huber
0323c286e3
ffec: Add interrupt coalescing support
...
Code is an adapted from the TSEC (if_tsec) network interface driver.
Update #3090 .
2017-10-25 14:30:01 +02:00
Sebastian Huber
fd5ee57372
ffec: Increase buffer descriptor count to 512
...
Update #3090 .
2017-10-25 14:29:58 +02:00
Sebastian Huber
0cb40755cc
ffec: Defragment transmit mbuf only if necessary
...
Use structure similar to TSEC (if_tsec) driver.
The use of bus_dmamap_sync() differs these network interface drivers.
This should not be the case.
Update #3090 .
2017-10-25 14:29:55 +02:00
Sebastian Huber
798d308be8
ffec: Fix NULL pointer access
...
Update #3090 .
2017-10-25 14:29:51 +02:00
Sebastian Huber
b8fdbe2fa9
ffec: Use RACC[SHIFT16]
...
This avoids the move of entire receive frames to meet the alignment
requirements of the IP header and so on.
Add FECFLAG_RACC feature flag for this similar to the Linux driver.
Update #3090 .
2017-10-25 14:29:37 +02:00
Sebastian Huber
2fcf5aadd5
rtems-bsd-mutex: Update due to API changes
...
Update #3117 .
2017-10-24 12:19:28 +02:00
Sebastian Huber
445d59e39c
Remove ability to synchronize with Linux
2017-10-24 08:15:06 +02:00
Sebastian Huber
1dd58e4fb8
Remove Linux submodule
2017-10-24 08:14:26 +02:00
Sebastian Huber
fb84af014c
Fix install arch-specific header files
2017-10-24 07:42:36 +02:00
Sebastian Huber
a677fe9932
dpaa: Use only one FMan MAC SGT zone
2017-10-23 09:24:08 +02:00
Sebastian Huber
b1fd51c25e
dpaa: Reduce receive buffer seed
...
Seed the receive buffers of each affine software portal only with 8
mclusters (16KiB) and not 128 (256KiB). We have processor count affine
software portals, see dpaa_bp_seed().
2017-10-23 09:24:08 +02:00
Sebastian Huber
33356a839f
dpaa: Improve QMan portal initialization
...
Be less dependent on the device tree content.
2017-10-23 09:24:08 +02:00
Sebastian Huber
24866e6f23
dpaa: Reduce PFDR space from 32MiB to 16MiB
2017-10-23 09:24:07 +02:00
Sebastian Huber
de5791b345
dpaa: Add "libbsd,dedicated-portal" to QMan portals
...
By default, the network interfaces use a pool channel, see
dpaa_get_channel() in dpaa_eth_priv_probe(). To enable a dedicated QMan
software portal, use libbsd,dedicated-portal = "enabled";. This option
is useful for special purpose 10Gbit/s Ethernet processing.
/ {
soc: soc@ffe000000 {
fman0: fman@400000 {
enet7: ethernet@f2000 {
libbsd,dedicated-portal = "enabled";
};
};
};
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
e818128789
dpaa: Add "libbsd,dequeue" to QMan portals
...
The dequeue support for processor affine QMan portals may be explicitly
disabled. The dequeue support is responsible for receiving frames and
completion of frame transmission, e.g. buffer recycling. Without at
least one enabled dequeue support, there will be no networking.
/ {
qman-portals@ff6000000 {
qman-portal@0 {
libbsd,dequeue = "disabled";
};
};
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
3cfc31cb0c
dpaa: Set portal interrupt affinity
2017-10-23 09:24:07 +02:00
Sebastian Huber
ef1655c144
Update to Linux 4.12
...
Linux baseline 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c (v4.12).
2017-10-23 09:24:07 +02:00
Sebastian Huber
e3dc39ee0c
dpaa: Add <soc/fsl/dpaa.h>
2017-10-23 09:24:07 +02:00
Sebastian Huber
9789434e21
linux: Move upper_32_bits() and lower_32_bits()
2017-10-23 09:24:07 +02:00
Sebastian Huber
65d6fa20fb
linux: Make Linux types available in user-space
2017-10-23 09:24:07 +02:00
Sebastian Huber
0de65a8782
linux: Include missing <sys/errno.h>
2017-10-23 09:24:07 +02:00
Sebastian Huber
9cc419f32b
Install Linux header files
2017-10-23 09:24:07 +02:00
Sebastian Huber
33d82be1e6
waf: Install arch-specific header files
2017-10-23 09:24:06 +02:00
Sebastian Huber
e846288593
Add rtems_bsd_set_if_input()
2017-10-23 09:24:06 +02:00
Sebastian Huber
07c8680872
dpaa: Get c45 ids
2017-10-23 09:24:06 +02:00
Sebastian Huber
03d142659f
dpaa: No error if MII attach failed
2017-10-23 09:24:06 +02:00