summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2021-03-10nexus: Switch ZynqMP platforms to CGEM3Kinsey Moore
Similar to the UARTs, ZynqMP hardware platforms use the highest memory-mapped CGEM peripheral as the primary instance of that peripheral. This change allows operation on hardware as well as QEMU.
2021-03-10if_cgem: Add support for ZynqMP CGEMKinsey Moore
This is a port of the latest patch in FreeBSD that adds support for 64bit CGEMs as used in ZynqMP. This does not include the work necessary for support on RISC-V systems.
2021-03-10rtembsd: Fix alignment of allocations for 64bitKinsey Moore
Alignment on 64bit hardware is strict in comparison to running in an emulator. This resolves an alignment exception when allocating memory on real hardware.
2021-03-08ehci_pci: Add to build systemMoyano, Gabriel
Closes #4264
2021-03-08ehci_pci: Import from freebsd-orgMoyano, Gabriel
see #4264
2020-12-22zynq: Add support for SDHCI devicesKinsey Moore
2020-11-24Add CGEM definitions for ZynqMPKinsey Moore
2020-11-17if_ffec: Fix cache handling on txChristian Mauderer
With the previous fix, it could happen that the end of the packet hasn't been flushed. For example assume the following addresses: ds_addr: 0x81c804A ds_len: 0x57 In that case the data ends at 0x81c80a1. But due to the rounding the area from 0x81c8040 to 0x81c80a0 would have been flushed. This fix now first calculates the start and end address, aligns these addresses and then recalculates the len that has to be flushed. Update #4180
2020-11-17imxrt: Add supportChristian Mauderer
Update #4180
2020-11-13Update arm64/aarch64 supportKinsey Moore
2020-10-27dwc_otg: Enable voltage detectorSebastian Huber
Update #3910.
2020-10-27dwc_otg: Add support for nexus busSebastian Huber
Update #3910.
2020-10-27dwc_otg: Update host frame intervalSebastian Huber
Update the host frame interval after a device connection. Select also the FS/LS PHY clock. It is not clear if this works on all platforms. Update #3910.
2020-10-27if_stmac: Add driver for STM32H7 ethernet moduleSebastian Huber
Update #3910.
2020-10-27NVD(4): Fix logical block count calculationSebastian Huber
Update #4164.
2020-10-27NVD(4): Fix NULL pointer access in nvd_sync()Sebastian Huber
Update #4164.
2020-10-27mcast01: Fix write to read-only stringSebastian Huber
2020-10-20powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP familyChris Johns
2020-09-30waf: Fix test module dependency checkChris Johns
2020-09-29Add moxie supportSebastian Huber