summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-04kern/sys: Add NFSv4 client4475-p4-4475-nfsChris Johns
Close #4475
2021-08-04kern/sys: Import NFS and NFS file system clientChris Johns
Update #4475
2021-08-04kern/sys: Add the kernel RPC and XDR supportChris Johns
Updates #4475
2021-08-04freebsd/sys: Import RPC and XDR supportChris Johns
Update #4475
2021-08-04sys/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-02rtemsbsd: Remove DHCP init wrapperChris Johns
- Object files cannot config init and resided in libbsd.a Update #4475
2021-08-02freebsd/sys: Import VFS supportChris Johns
Update #4475
2021-08-02kern: Add kernel trace support (KTR)Chris Johns
Update #4475
2021-08-02kern: Import kern_ktr.cChris Johns
Update #4475
2021-08-02kern: Add a proc0Chris Johns
- Provides the thread's proc pointer and with that access to creds Update #4475
2021-08-02kern: Import kern_prot.c fnd kern_resource.c for proc0Chris Johns
Update #4475
2021-08-02sys/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-02testsuite: Optionally allow all command in a shellChris Johns
Update #4475
2021-08-02rtemsbsd: Catch timeout overflowsChris Johns
Update #4475
2021-08-02rtemsbsd: Add FrreBSD's clang-format styleChris Johns
Update #4475
2021-08-02kern-symbols: Add symbols from the everything build setChris Johns
Update #4475
2021-08-02sys/netinet/libalias: Fix symbols clashesChris Johns
Update #4475
2021-08-02waf: Fix clashing symbols in the user land symbolsChris Johns
Update #4475
2021-08-02Implement 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-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
2021-03-26racoon/session: Honor file descriptor maximumChristian Mauderer
Dynamically allocate a big enough file descriptor set for select(). A better solution would be to use kqueue() instead of select(). Update #4360
2021-03-10nexus: Add UKPHY driver to ZynqMPKinsey Moore
ZynqMP hardware comes with many different Ethernet PHYs depending on which board is used. Add the UKPHY driver to handle basic PHY interaction for any unrecognized PHYs.
2021-03-10linker: Enforce set alignment requirementsKinsey Moore
According to commentary on GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99143, the alignment behavior of linker sections on which RTEMS has relied was never guaranteed to be consistent across platforms and any alignment requirements for linker sections needs to be enforced explicitly. This adds those explicit alignment requirements.
2021-03-10ck: Update for ILP32Kinsey Moore
libck assumes all AArch64 pointers are 8 bytes. This adds the required defines to handle 4 byte pointers on ILP32.
2021-03-10nexus: Add ZynqMP SLCR driverKinsey Moore
Add a System Level Control Register driver for the Xilinx Zynq Ultrascale+ MPSoC with basic clock control functionality for use with the Cadence GEM. This also removes the Zynq-7000 clock control weakref from compilation depending on the BSP in use.