summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-08waf_libbsd: Fix typo in previous patchHEADmasterKinsey Moore
There was a typo in the patch that added the HAVE_<LIBRARY> definition that prevented "./waf configure" from succeeding. This adds the missing character.
2021-10-06waf_libbsd: Account for library check resultsKinsey Moore
Conditionally compiled tests (consisting only of debugger01) were not compiling as expected when libdebugger was present. This appears to have occurred during the transition from header detection or due to an intervening change in the waf internal libraries. The result of check_cc() is the only location this information is reported, so library checks now set HAVE_<LIBRARY> as appropriate when the library is found so existing code for header configuration correctly recognize that a library is present.
2021-09-02imx: Remove ccm functions alredy defined in RTEMSChristian Mauderer
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in libbsd. Otherwise some applications get linker errors. Update #3869
2021-06-25aarch64/nexus: add GEM definitions for VersalGedare Bloom
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-11EPOCH(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-10EPOCH(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-07i386: Remove unneeded include header filesJan Sommer
2021-06-07waf_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-22iicbus/rtems-i2c.c: Add rtems,path as an additional bus pathG S Niteesh Babu
Adds "rtems,path" as an additional bus path for the i2c driver. Previously the bus path was provided in "rtems,i2c-path" property only.
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-13Revert "Import telnetd from RTEMS repository"Vijay Kumar Banerjee
This reverts commit 1b07480ddc93c10777eff5072e7621ed0c96d30c.
2021-04-07Import telnetd from RTEMS repositoryVijay Kumar Banerjee
The files have been taken from RTEMS repository with head commit at bd9e45d91f77657445400bc2c814f251c9e37cef
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-31libbsd.py: Build i2c shell commandVijay Kumar Banerjee
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-21arm/ti/ti_pinmux: Remove TI pinmux driverG S Niteesh Babu
The TI driver has been moved to RTEMS so the driver can be removed from libBSD. The following files have been removed from libBSD and moved to RTEMS. 1) ti/am335x/am335x_scm_padconf.c 2) ti/am335x/am335x_scm_padconf.h 3) ti/ti_pinmux.c 4) ti/ti_pinmux.h Update #3784
2021-03-08ehci_pci: Add to build systemMoyano, Gabriel
Updates #4264
2021-03-08ehci_pci: Import from freebsd-orgMoyano, Gabriel
Updates #4264
2020-12-14wpa: Fix multiple definition of `hmac_md5`Christian Mauderer
hmac_md5 is defined in dhcpcd and in wpa supplicant.
2020-11-24Add CGEM definitions for ZynqMPKinsey Moore
2020-11-20if_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-20imxrt: 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
Close #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-26powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP familyChris Johns
2020-09-30waf: Fix test module dependency checkChris Johns
2020-09-23Update the CONTRIBUTING with kernel/user space notes.Chris Johns
2020-09-23Add moxie supportSebastian Huber
2020-09-23tsc_lpc32xx.c: Update due to API changesSebastian Huber
2020-09-23Add or1k supportSebastian Huber
2020-09-23ck: Use default implementation < ARMv6Sebastian Huber
2020-09-22linux/crc32.h: Update due to API changesSebastian Huber
2020-09-21linux/genalloc.h: Update due to API changesSebastian Huber
2020-09-21build: Ensure mandatory compiler/linker flagsSebastian Huber