summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-01rtemsbsd/nfs: Add support to mount NFSv2p7-4475-nfs-busspace-testsuite-nowait-dc-unkphy-5-nfsv2-1Chris Johns
- NFSv2 requires userland RPC calls to determine the version of NFS and the FH. This is passed to the kernel. - Port more libc/rpc. Update #4475
2021-08-31kern/sys: Add NFSv4 clientChris Johns
Update #4475
2021-08-28kern/sys: Import NFS and NFS file system clientChris Johns
Update #4475
2021-08-28kern/sys: Add the kernel RPC and XDR supportChris Johns
Updates #4475
2021-08-28freebsd/sys: Import RPC and XDR supportChris Johns
Update #4475
2021-08-28sys/kern: Add VFS supportChris Johns
- Refactor the libio interface - Move syscalls into an rtemsbsd location - Provide a root directory mount point Update #4475
2021-08-28rtemsbsd: Remove DHCP init wrapperChris Johns
- Object files cannot config init and resided in libbsd.a Update #4475
2021-08-28freebsd/sys: Import VFS supportChris Johns
Update #4475
2021-08-28kern: Add kernel trace support (KTR)Chris Johns
Update #4475
2021-08-28kern: Import kern_ktr.cChris Johns
Update #4475
2021-08-28kern: Add a proc0Chris Johns
- Provides the thread's proc pointer and with that access to creds Update #4475
2021-08-28kern: Import kern_prot.c fnd kern_resource.c for proc0Chris Johns
Update #4475
2021-08-28sys/kern: Add lockmgr supportChris Johns
- See `man lockmgr` - Implement the lock_object and move the RTEMS mutex to that object - Add debug support to track the locks with gdb Update #4475
2021-08-28testsuite: Optionally allow all command in a shellChris Johns
Update #4475
2021-08-28rtemsbsd: Catch timeout overflowsChris Johns
Update #4475
2021-08-28rtemsbsd: Add FrreBSD's clang-format styleChris Johns
Update #4475
2021-08-28kern-symbols: Add symbols from the everything build setChris Johns
Update #4475
2021-08-28sys/netinet/libalias: Fix symbols clashesChris Johns
Update #4475
2021-08-28waf: Fix clashing symbols in the user land symbolsChris Johns
Update #4475
2021-08-28Implement portable kernel symbol namespace toolChris Johns
- The script's use of sort proved to not be portable - No need to check the commits as symbols are only added - Regenerated kernel header to reset the sort order Update #4475
2021-08-28bsp/motorola_powerpc: Add dc and ukphy supportChris Johns
- Add the dc net dev to the BSP - Add the ukphy support Closes # 4246
2021-08-27testsuite: Wait for the link to be UPChris Johns
- Wait for a slow PHY to bring the link UP. If the IP address is static the test can start before the link is up and the test fails. - Make 2 tests wait. Others will need to be added.
2021-08-27rtemsbsd: Add interface support routinesChris Johns
- Add the ability to check if an interface is up
2021-08-27rtemsbsd/bus: Add PCI support to the nexus busChris Johns
- Add PCI IO region support - Add support map buffers to PCI address space - Add BSP conditional IO space support. Some PC implementations have PCI IO space mapped differently to memory space and this needs to be reflected in the busspace. - Include bsp.h to pick per BSP configuration. Closes #4245
2021-07-21linker_set.h: Add alignof implementation for when not C11 or C++11Joel Sherrill
The default implementation was completely broken. Use the GCC specific __alignof__ if compiling for C99 or C++03. If not C++11, C11, or GCC, then it is an error.
2021-07-15nexus: Added SDHCI driver to ZynqMP6-freebsd-12Stephen Clark
Made ZynqMP build with the SDHCI driver.
2021-07-15rtemsbsd: Present all ZynqMP interfaces by defaultKinsey Moore
Now that the issue with false PHY detection on unterminated MII busses has been resolved, present all hardware interfaces for use on ZynqMP.
2021-07-15freebsd/if_cgem: Fail probe for unterminated MIIKinsey Moore
When the MII bus is unterminated on unused interfaces, it results in PHY read timeouts which manifest as spurious PHYs during the attach call. Detect these timeouts during the probe so the device can be ignored.
2021-07-01rtemsbsd: Use config.inc to control ZynqMP ethernetKinsey Moore
This alters the selection of the 4 Cadence GEM interfaces on the Zynq Ultrascale+ MPSoC BSP to be provided by config.inc instead of being provided by options in the RTEMS BSP itself since those options appear to be dead code when not used in conjunction with LibBSD.
2021-06-29rtemsbsd: Added a test for the TTCP command.Stephen Clark
Added a new test for the TTCP command. Modified default-network-init.h to conditionally build the shell with TTCP. Modified libbsd.py to build the new TTCP test.
2021-06-29rtemsbsd: Made TTCP command build for RTEMSStephen Clark
Updated ttcp.c to build clean for RTEMS 6 and the machines it originally built for. Also fixed ttcp.c to close network sockets after completion. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration of the TTCP shell command to rtems-bsd-commands.h. Modified libbsd.py to make waf build TTCP and its shell command.
2021-06-29rtemsbsd:Updated TTCP code with network demo codeStephen Clark
Updated the TTCP code to match the ttcp.c in RTEMS network-demos repository (https://git.rtems.org/network-demos/).
2021-06-29rtemsbsd: Added original TTCP codeStephen Clark
Added the original Test TCP (TTCP) program in unmodified form. Also added the original README for TTCP. Both the README and the TTCP program were sourced from the first commit in the RTEMS network demos repository.
2021-06-28rtemsbsd: Make ZynqMP CGEM interfaces selectableKinsey Moore
Use the new options from the ZynqMP BSPs to allow selection of the available CGEM ethernet interfaces.
2021-06-16builder.py: Only disable tests if they are thereChristian Mauderer
For checking the dependencies, the tests are removed. But if the tests are not enabled at all, that triggers a python exception.
2021-06-16racoon: Fix build with current toolchainChristian Mauderer
During some newlib version, the _types_fd_set has been replaced with just fd_set.
2021-06-16README: Mention SMP requirementsSebastian Huber
2021-06-15EPOCH(9): Fix epoch call and drainSebastian Huber
Since the epoch call callbacks may lock/unlock a mutex the callbacks must be called from within thread context with thread dispatching enabled. Use thread pinning to ensure that the calling thread stays on the right processor. Use the interrupt server to ensure the thread context for the epoch drain.
2021-06-11EPOCH(9): Use PER_CPU_DATA_NEED_INITIALIZATION()Sebastian Huber
Use the PER_CPU_DATA_NEED_INITIALIZATION() macro if necessary to request an initialization of the per-CPU data.
2021-06-09i386: Remove unneeded include header filesJan Sommer
2021-06-09waf_libbsd.py: Apply path-mappings to header-pathsJan Sommer
2021-05-28libbsd nfs.c: Change filesystem utime_h handler to utimens_hRyan Long
Changed nfs_utime() to nfs_utimens(), changed the arguments to use a timespec array instead of individual variables for access and modified time. Updates #4400
2021-05-11ipsec-tools/pfkey: Fix socket leakChristian Mauderer
setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure that the opened socket is registered and closes if the application exits. Fixes #4405
2021-04-19st-sdmmc: Handle short not cache aligned buffersChristian Mauderer
Possible data sources for SD driver: - mmc_sd_switch(): - length: 64 byte; - buffer on stack - mmc_test_bus_width(): - length: 4 or 8 byte - buffer in program memory or on stack - mmc_app_send_scr(): - length: 8 byte - buffer from device ivar structure - mmc_app_sd_status(): - length: 64 byte - buffer from device ivar structure - mmc_send_ext_csd(): - length: MMC_EXTCSD_SIZE = 512 - buffer from device ivar structure - rtems_bsd_mmcsd_disk_read_write(): - length: depends on read - buffer from rtems_blkdev buffer -> already aligned - mmcsd_ioctl_cmd(): - length: depends on call - buffer malloced, not aligned -> patched in RTEMS So the problematic buffers are only the ones up to 512 bytes. Copy these data into a buffer to avoid that problem.
2021-04-19MMCSD: Use cache aligned alloc for ioctlChristian Mauderer
Some drivers can't easily work with buffers that are not cache aligned and have an arbitrary length. Therefore use an aligned malloc instead.
2021-04-01STM32H7: Fix SDMMC build for all other BSPsChristian Mauderer
2021-04-01STM32H7: Add SDMMC driverChristian Mauderer
Update #4372
2021-04-01testsuite/media01: Add pattern testChristian Mauderer
Update #4372
2021-04-01testsuite/media01: Enable md5 commandChristian Mauderer
Update #4372
2021-03-26ping6: Honor file descriptor maximumChristian Mauderer
This is basically the same as the patch for ping. Update #4360