2064 Commits

Author SHA1 Message Date
Sebastian Huber
dba9346b43 uma_core.c: Fix use of uninitialized variable
Update #4475.
2022-06-08 15:16:36 +02:00
Christian Mauderer
c9b4bed650 if_ffec: Allow PHY that is connected to other FFEC
The i.MX6UL (and some others from the i.MX family) have shared MDIO
lines for multiple FFECs. This patch allows to use the MDIO interface
from another Ethernet controller.

Note that you have to make sure that the FFECs are initialized in the
right order. Normally that can be done via FDT.
2022-06-07 09:08:04 +02:00
Christian Mauderer
2a6a230e65 if_ffec: Reduce buffer size
Typical embedded systems don't have that much memory. Reduce the buffer
size to something more sensible for the usual type of application.
2022-06-07 09:08:00 +02:00
Sebastian Huber
ed25b390fc Use rtems_task_exit() 2022-06-01 10:34:36 +02:00
Sebastian Huber
61f646d9b9 if_atsam: Recover from receive freezes
Under unknown conditions the receive path ended up in a frozen state.
In this state, the DMA and driver descriptor head were equal and all
receive descriptors had the used bit set.  So, the DMA was unable to
store received frames.  However, the receive daemon was never woken up
to refill the receive buffers.  It seems that the RXUBR interrupt can be
used to recover from this state.

Update #4652.
2022-06-01 09:57:56 +02:00
Sebastian Huber
8588e9542e if_atsam: Shorten sysctl names
Update #4652.
2022-06-01 09:57:53 +02:00
Sebastian Huber
bd56cb2e59 if_atsam: Add tx/rx desc sysctls
Update #4652.
2022-06-01 09:57:50 +02:00
Sebastian Huber
683bae95b3 if_atsam: Add register sysctls
Update #4652.
2022-06-01 09:57:47 +02:00
Sebastian Huber
07e282034c if_atsam: Allow stats reset via sysctl
Update #4652.
2022-06-01 09:57:28 +02:00
Sebastian Huber
593f7c1003 libbsd.txt: Move issues and TODO 2022-05-25 08:06:57 +02:00
Sebastian Huber
bb92546987 libbsd.txt: Move system control hints
Generalize hint.
2022-05-25 08:06:57 +02:00
Sebastian Huber
0a1a47c11f libbsd.txt: Move initialization details 2022-05-25 08:06:57 +02:00
Sebastian Huber
41496dab56 libbsd.txt: Move IPsec description 2022-05-25 08:06:57 +02:00
Sebastian Huber
f2583218dd libbsd.txt: Move WLAN description 2022-05-25 08:06:57 +02:00
Sebastian Huber
5a97d50361 libbsd.txt: Move PF description 2022-05-25 08:06:57 +02:00
Sebastian Huber
8e278327be libbsd.txt: Move ported kernel features
Remove obsolete file listing.
2022-05-25 08:06:57 +02:00
Sebastian Huber
76e7a9e84d libbsd.txt: Move Qemu notes 2022-05-25 08:06:57 +02:00
Sebastian Huber
0283481dab libbsd.txt: Move network interface driver hints 2022-05-25 08:06:57 +02:00
Sebastian Huber
b375969a2f libbsd.txt: Move features
Add more features and commands.
2022-05-25 08:06:57 +02:00
Sebastian Huber
1c0c1a738b libbsd.txt: Move initialization description 2022-05-25 08:06:57 +02:00
Sebastian Huber
23636df5cb libbsd.txt: Move configuration of network tests 2022-05-25 08:06:57 +02:00
Sebastian Huber
6db1763972 libbsd.txt: Remove installation overview
This is already covered by README.md
2022-05-25 08:06:57 +02:00
Sebastian Huber
31bd0d7047 libbsd.txt: Move BSP related content 2022-05-25 08:06:57 +02:00
Sebastian Huber
00365c0789 libbsd.txt: Move introduction content 2022-05-25 08:06:57 +02:00
Sebastian Huber
9fa59f717e CONTRIBUTING.rst: Use LibBSD 2022-05-25 08:06:57 +02:00
Sebastian Huber
63228df30d Convert *.md files to reST
The reST format is used by the standard RTEMS documentation.
2022-05-25 08:06:56 +02:00
Sebastian Huber
564ea9eddf README.md: Move SMP Requirements section 2022-05-25 08:06:36 +02:00
Sebastian Huber
cf3323556d README.md: Update to RTEMS 6 2022-05-25 08:06:35 +02:00
Sebastian Huber
c5f523b24a README.md: The "5" branch is unmaintained 2022-05-25 08:05:24 +02:00
Sebastian Huber
83a979855a libc: Include <sys/types.h> for RTEMS
This fixes an issue with a recent Newlib which no longer includes <sys/types.h>
in <stdio.h>.
2022-05-18 09:48:07 +02:00
Sebastian Huber
8e706de3a5 libc: Avoid conflict with Newlib __sinit() 2022-05-18 09:48:07 +02:00
Sebastian Huber
1654d5e8fc tcpdump: Do not rely on u_char typedef 2022-05-18 09:48:07 +02:00
Sebastian Huber
62714de68d dhcpcd01/dhcpcd02: Mark as interactive 2022-05-13 08:58:22 +02:00
Sebastian Huber
584dd8d940 tcpdump: Do not use signals and chroot
Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
45dfdc1c52 tcpdump: Ensure loop monitor termination
Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
70c9ac2771 tcpdump: No loop monitor if reading from file
Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
869cb1adc1 tcpdump: Close pcap dumper at program exit
Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
face369437 tcpdump: Use rtems_task_exit()
Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
bd2201b9df tcpdump: Make loop monitor cooperative
This helps a bit if the fgetc() is non-blocking.

Update #4650.
2022-05-12 07:45:31 +02:00
Sebastian Huber
7bc7bae957 Add program destructor support
Update #4650.
2022-05-12 07:45:30 +02:00
Sebastian Huber
a4c3d7468a tcpdump01: New test
Update #4650.
2022-05-12 07:45:30 +02:00
Sebastian Huber
e992d45b63 if_atsam: Fix interface stop
Update #4652.
2022-05-11 15:54:23 +02:00
Sebastian Huber
4ad09617d0 if_atsam: Support transmit bpf
Update #4652.
2022-05-11 15:49:05 +02:00
Sebastian Huber
989675ee7c if_atsam: Do not use rtems_bsdnet_newproc()
Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
821bcb7345 if_atsam: Support IFCAP_VLAN_HWTAGGING
This is required to enable checksum offload for vlan interfaces.

Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
967613fbce if_atsam: Optimize receive
Do not use the interface mutex in the receive loop.  Avoid multiple
reads of DMA descriptor words.  Use a compile-time constant for the
receive DMA descriptor count to simplify calculations.

Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
2cb974fa20 if_atsam: Optimize transmit
Use the transmit interface handler to avoid a transmit task/interrupt.
Use a compile-time constant for the transmit DMA descriptor count to
simplify calculations.

Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
c944cb9325 if_atsam: Add multicast support
Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
1230011435 if_atsam: Fix start/stop of interface
Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
975916a75d if_atsam: Fix interrupt setup
The interrupt is enabled by rtems_interrupt_handler_install().

Update #4652.
2022-05-11 15:49:04 +02:00