2056 Commits

Author SHA1 Message Date
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
Sebastian Huber
adda3a5a6d if_atsam: Do not disable the Ethernet CRC
The Ethernet CRC and padding must be always generated by the MAC.

Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
7e082f6656 if_atsam: Enable all capabilities
Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
2556c4c336 if_atsam: Fix warnings
Update #4652.
2022-05-11 15:49:04 +02:00
Sebastian Huber
435b298b0f pfctl: Fix global state initialization
Update #4654.
2022-05-11 15:21:34 +02:00
Sebastian Huber
c9696eb29a pf02: Fix shell envirionment initialization
Update #4654.
2022-05-11 15:21:34 +02:00
Sebastian Huber
f62a9f15e3 ttcp: Avoid namespace pollution
The global err() function broke a lot of other commands.
2022-05-11 15:21:34 +02:00
Frank Kühndel
d63f9cd9d9 libbsd: Add TFTP filesystem to test media01
How test media01 can be executed is described in section
*Qemu and Networking* of the README.md at the top of the
rtems-libbsd GIT repository.

When connected via `telnet` with the RTEMS shell of the
media01.exe test executed by QEMU, one can list the filesystems
available for mounting:

TLNT [/] # mount -L
File systems: / dosfs tftpfs

The list will contain `tftpfs`.  The filesystem can be mounted
as in the following example:

TLNT [/] # mkdir /tftp
TLNT [/] # mount -t tftpfs -o verbose "" /tftp

A TFTP server is needed to use this filesystem.  The simplest way
would be to run such a server on the host machine and open the
firewall for the TFTP protocol (port 69) on the TAP device used.
Files can then be downloaded using the usual shell commands
as in the following example:

TLNT [/] # cat /tftp/169.254.1.1:hello.txt

Uploading is also possible provided the TFTP server supports it,
for example:

TLNT [/] # cp /etc/dhcpcd.duid /tftp/169.254.1.1:myfile
2022-04-25 16:21:26 +02:00
Alex White
22e531d7f0 if_xae: Fix non-FDT BSP build error
This fixes a compiler error that would occur for every BSP that does not
define `BSP_FDT_IS_SUPPORTED`. The fdt headers should always be included
to provide the needed definitions.
2022-03-10 08:22:39 +01:00