1956 Commits

Author SHA1 Message Date
Christian Mauderer
1bb4a56e4d STM32H7: Add SDMMC driver
Update #4372
2021-04-01 09:05:53 +02:00
Christian Mauderer
d7bdff489d testsuite/media01: Add pattern test
Update #4372
2021-04-01 09:05:46 +02:00
Christian Mauderer
6064dbfcc4 testsuite/media01: Enable md5 command
Update #4372
2021-04-01 09:05:39 +02:00
Vijay Kumar Banerjee
c66e527ab7 libbsd.py: Build i2c shell command 2021-03-31 16:51:15 -06:00
Christian Mauderer
7afe0ba8f3 ping6: Honor file descriptor maximum
This is basically the same as the patch for ping.

Update #4360
2021-03-26 14:07:06 +01:00
Christian Mauderer
a7273c0704 racoon/session: Honor file descriptor maximum
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-26 14:06:53 +01:00
G S Niteesh Babu
3cdf289424 arm/ti/ti_pinmux: Remove TI pinmux driver
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-21 12:35:04 +01:00
Moyano, Gabriel
aee7b9291c ehci_pci: Add to build system
Updates #4264
2021-03-08 17:46:27 +01:00
Moyano, Gabriel
b16b47774e ehci_pci: Import from freebsd-org
Updates #4264
2021-03-08 17:46:09 +01:00
Christian Mauderer
33bfaee89a wpa: Fix multiple definition of hmac_md5
hmac_md5 is defined in dhcpcd and in wpa supplicant.
2020-12-14 10:54:37 +01:00
Kinsey Moore
98d197895b Add CGEM definitions for ZynqMP 2020-11-24 08:49:49 -06:00
Christian Mauderer
182aac377d if_ffec: Fix cache handling on tx
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-20 08:56:40 +01:00
Christian Mauderer
5cb4146627 imxrt: Add support
Update #4180
2020-11-20 08:56:30 +01:00
Kinsey Moore
9f52a0df17 Update arm64/aarch64 support 2020-11-13 12:34:01 -06:00
Sebastian Huber
3ad2cea0c5 dwc_otg: Enable voltage detector
Update #3910.
2020-10-27 06:33:07 +01:00
Sebastian Huber
6c83023331 dwc_otg: Add support for nexus bus
Update #3910.
2020-10-27 06:33:05 +01:00
Sebastian Huber
2237f4b053 dwc_otg: Update host frame interval
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-27 06:33:04 +01:00
Sebastian Huber
c28f67a9be if_stmac: Add driver for STM32H7 ethernet module
Update #3910.
2020-10-27 06:33:02 +01:00
Sebastian Huber
9fa7bcf55a NVD(4): Fix logical block count calculation
Close #4164.
2020-10-27 06:27:06 +01:00
Sebastian Huber
9f196b281c NVD(4): Fix NULL pointer access in nvd_sync()
Update #4164.
2020-10-27 06:27:01 +01:00
Sebastian Huber
e98239fbe3 mcast01: Fix write to read-only string 2020-10-27 06:20:41 +01:00
Chris Johns
bff15c3326 powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP family 2020-10-26 07:42:09 +11:00
Chris Johns
d164b840c3 waf: Fix test module dependency check 2020-09-30 15:31:23 +10:00
Chris Johns
90a9fd66e0 Update the CONTRIBUTING with kernel/user space notes. 2020-09-23 16:23:05 +10:00
Sebastian Huber
ccd05b29c1 Add moxie support 2020-09-23 08:06:51 +02:00
Sebastian Huber
b6c55e1c57 tsc_lpc32xx.c: Update due to API changes 2020-09-23 07:40:07 +02:00
Sebastian Huber
ae1e0c25d8 Add or1k support 2020-09-23 06:34:19 +02:00
Sebastian Huber
0462837404 ck: Use default implementation < ARMv6 2020-09-23 06:34:19 +02:00
Sebastian Huber
5f29d17bee linux/crc32.h: Update due to API changes 2020-09-22 17:31:19 +02:00
Sebastian Huber
48e33f00e4 linux/genalloc.h: Update due to API changes 2020-09-21 15:19:36 +02:00
Sebastian Huber
77938ac3e3 build: Ensure mandatory compiler/linker flags 2020-09-21 07:11:29 +02:00
Jan Sommer
66019c3e78 i386: Delete old machine dependent files
- The files in the i386 directory have been moved to common x86 directories by FreeBSD:
  - freebsd/sys/i386/include/machine/bus.h
  - freebsd/sys/x86/include/machine/legacyvar.h
  - freebsd/sys/x86/include/machine/specialreg.h
- Add header files in rtemsbsd directory to direct compiler to new files
2020-09-16 15:52:58 +10:00
Jan Sommer
514ffab353 iflib.c: Deactivate use of ifc_cpus
- cpusets and SMP are currently not supported in libbsd for RTEMS
- Disable the ifc_cpus context variable and replace its usage,
essentially hard-coding for cpu 0
2020-09-16 15:52:58 +10:00
Jan Sommer
5cfbb629b6 Callout: Redefine callout_reset_on for rtems
- callout_reset_on takes a cpu which is ignored by the subsequent call
to callout_reset_sbt_on in RTEMS.
- The macro is redefined to discard the cpu argument directly which
enables uses of it with cpu-dependent variables (disabled in
RETMS) without further changes, e.g. in iflib.c.
2020-09-16 15:52:58 +10:00
Jan Sommer
cc1b05084e i386: Add missing files to build system
- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Add missing files e1000 network driver (iflib*)
2020-09-16 15:52:58 +10:00
Jan Sommer
56fd3765e9 e1000: Add missing files 2020-09-16 15:52:58 +10:00
Chris Johns
7f7363f5f4 waf: Implement module dependency checking in the build system
- Do not build a test if a dependency is not enabled.

- Perform a dependency check and generate an error if an enabled module
  depends on a disabled module.

Closes #4077
2020-09-16 15:49:37 +10:00
Chris Johns
c38f93b0c6 build: Separate the kernel and user land include paths
- Provide support for separate user and kernel include paths in
  libbsd.py.

- Update all added files with a suitable context to build them
  with. Supported contexts are `kernel` and `user`.

- Kernel source use the kernel, CPU, and build header paths in
  this order.

- User source use the user, kernel, CPU and build header paths
  in this order. The FreeBSD /usr/include tree has some kernel
  header files installed as well as user land header files. This
  complicates the separation as some kernel header files are not
  visible to user land code while other are. This is handled by
  appending the kernel header paths to the user header paths so
  user land code will include a user header with the same name as
  a kernel header over the kernel header but will find a kernel
  header if there is no matching user header file.

Closes #4067
2020-09-16 15:49:37 +10:00
Chris Johns
43742834c2 waf: Add a config report 2020-09-16 15:49:37 +10:00
Chris Johns
7afbccd8d7 waf: Reformat to PEP8 using yapf 2020-09-16 15:49:37 +10:00
Sebastian Huber
d2d3fabf30 rtems-bsd-cxx: Undefine _GNU_SOURCE
At least the powerpc C++ compiler defines currently _GNU_SOURCE due to a GCC
configuration error.  This leads to conflicting qsort_r() definitions.

As a workaround undefine _GNU_SOURCE for this C++ compatibility test file.

Update #4078.
2020-09-14 17:13:41 +02:00
Sebastian Huber
e5f8fd3251 mcast01: Add test program 2020-09-10 13:24:25 +02:00
Sebastian Huber
d56d9b6d3b ifmcstat: Port to RTEMS 2020-09-10 13:24:18 +02:00
Sebastian Huber
50056ecbd2 ifmcstat: Import from FreeBSD 2020-09-10 13:23:45 +02:00
Sebastian Huber
b35ea8c6d1 nfsclient: Next attempt to fix 64-bit targets
In serporidok use the same structures used to hand over to the XDR
encode/decode routines.  We must not mix packed and unpacked structures.

Close #4025.
2020-08-18 07:35:40 +02:00
Sebastian Huber
c60c10e4f7 Fix linker errors with minimal build set 2020-08-06 13:22:42 +02:00
Sebastian Huber
2e6bc2ab40 build: Do not convert cflags to defines
This makes it possible to use module-specific C flags, for example to
instrument functions (-finstrument-functions).
2020-08-06 13:22:42 +02:00
Sebastian Huber
b1e67a2bdc telnet: Use rtems_shell_dup_current_env()
Update #3859.
2020-08-06 13:22:42 +02:00
Sebastian Huber
3e4ebf3bf3 Conditionally include <bsp/linker-symbols.h>
Remove superfluous <bsp.h> include.
2020-08-05 15:06:00 +02:00
Sebastian Huber
1ec5f5eba6 racoon: Change type due to Newlib API changes 2020-08-05 13:22:41 +02:00