2082 Commits

Author SHA1 Message Date
Sebastian Huber
3eabdce585 libbsd.txt: Move system control hints
Generalize hint.
2022-05-23 16:26:30 +02:00
Sebastian Huber
96c01bff09 libbsd.txt: Move initialization details 2022-05-23 16:26:30 +02:00
Sebastian Huber
3d36dc0239 libbsd.txt: Move IPsec description 2022-05-23 16:26:30 +02:00
Sebastian Huber
47281722c4 libbsd.txt: Move WLAN description 2022-05-23 16:26:30 +02:00
Sebastian Huber
56fe2fd56e libbsd.txt: Move PF description 2022-05-23 16:26:30 +02:00
Sebastian Huber
c80453238b libbsd.txt: Remove NIC status
Details like this should be described in the BSP documentation of the
User Manual.
2022-05-23 16:26:30 +02:00
Sebastian Huber
099b7eb535 libbsd.txt: Move ported kernel features
Remove obsolete file listing.
2022-05-23 16:26:30 +02:00
Sebastian Huber
06ee26024e libbsd.txt: Move Qemu notes 2022-05-23 16:26:30 +02:00
Sebastian Huber
a3172c7f26 libbsd.txt: Move network interface driver hints 2022-05-23 16:26:30 +02:00
Sebastian Huber
e56945817f libbsd.txt: Move features
Add more features and commands.
2022-05-23 16:26:30 +02:00
Sebastian Huber
310f6fb70d libbsd.txt: Move initialization description 2022-05-23 16:26:30 +02:00
Sebastian Huber
92219bc66e libbsd.txt: Move configuration of network tests 2022-05-23 16:26:30 +02:00
Sebastian Huber
8d74437b78 libbsd.txt: Move buildsets description 2022-05-23 16:26:30 +02:00
Sebastian Huber
384600c11f libbsd.txt: Remove installation overview
This is already covered by README.md
2022-05-23 16:26:30 +02:00
Sebastian Huber
dcdf571c45 libbsd.txt: Move BSP related content 2022-05-23 16:26:30 +02:00
Sebastian Huber
5c4cf1f708 libbsd.txt: Move introduction content 2022-05-23 16:26:30 +02:00
Sebastian Huber
5edfd30fe9 CONTRIBUTING.rst: Use LibBSD 2022-05-23 16:26:30 +02:00
Sebastian Huber
30e2b2867c Convert *.md files to reST
The reST format is used by the standard RTEMS documentation.
2022-05-23 16:26:30 +02:00
Sebastian Huber
765a0b73c0 README.md: Move SMP Requirements section 2022-05-23 16:26:30 +02:00
Sebastian Huber
95fde102a8 README.md: Update to RTEMS 6 2022-05-23 16:26:30 +02:00
Sebastian Huber
0ad7038558 README.md: The "5" branch is unmaintained 2022-05-23 16:26:30 +02:00
Sebastian Huber
15bcf12ffa 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:35 +02:00
Sebastian Huber
453ff00b5b libc: Avoid conflict with Newlib __sinit() 2022-05-18 09:48:33 +02:00
Sebastian Huber
3883871a13 tcpdump: Do not rely on u_char typedef 2022-05-18 09:48:32 +02:00
Sebastian Huber
ae635eb214 pfctl: Fix global state initialization
Update #4654.
2022-05-13 08:47:41 +02:00
Sebastian Huber
2e25292eb0 dhcpcd01/dhcpcd02: Mark as interactive 2022-05-13 08:47:36 +02:00
Sebastian Huber
5ad77a9a18 tcpdump: Do not use signals and chroot
Close #4650.
2022-05-12 07:48:47 +02:00
Sebastian Huber
32ebbd3767 tcpdump: Ensure loop monitor termination
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
c9b44ba907 tcpdump: No loop monitor if reading from file
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
011f4894e0 tcpdump: Close pcap dumper at program exit
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
6fb7134a91 tcpdump: Use rtems_task_exit()
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
479b4de6f1 tcpdump: Make loop monitor cooperative
This helps a bit if the fgetc() is non-blocking.

Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
c6212520ab Add program destructor support
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
544ba25fb2 tcpdump01: New test
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
38e1610af2 if_atsam: Fix interface stop
Close #4652.
2022-05-11 16:05:46 +02:00
Sebastian Huber
8039d70d94 if_atsam: Support transmit bpf
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
5c4ac7a917 if_atsam: Do not use rtems_bsdnet_newproc()
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
202502a397 if_atsam: Support IFCAP_VLAN_HWTAGGING
This is required to enable checksum offload for vlan interfaces.

Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
62fc2b6a03 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 16:05:26 +02:00
Sebastian Huber
6be24bd16a 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 16:05:26 +02:00
Sebastian Huber
3150b37022 if_atsam: Add multicast support
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
f4efcbfda5 if_atsam: Fix start/stop of interface
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
339ba3dd9f if_atsam: Fix interrupt setup
The interrupt is enabled by rtems_interrupt_handler_install().

Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
5b62a8bfa1 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 16:05:26 +02:00
Sebastian Huber
c58bb6095a if_atsam: Enable all capabilities
Update #4652.
2022-05-11 16:05:25 +02:00
Sebastian Huber
73c764a70e if_atsam: Fix warnings
Update #4652.
2022-05-11 16:05:25 +02:00
Sebastian Huber
211c5ed82c pf02: Fix shell envirionment initialization
Close #4654.
2022-05-11 15:23:41 +02:00
Frank Kühndel
7a12651b60 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:52 +02:00
Heinz Junkes
878713ba45 if_mve: Add MV643XX Ethernet driver
Close #4345.
2022-03-07 10:53:16 +01:00
Sebastian Huber
769c5b0d99 libbsd.py: Fix addition of plain text files
The addPlainTextFile() was renamed to addPlainTextFiles() in commit
cd931b50d9febe8fe7ee890df1c83549d7acfe40.
2022-03-07 09:04:55 +01:00