2082 Commits

Author SHA1 Message Date
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
Vijay Kumar Banerjee
35fc309241 wscript: add uninstall command 2020-08-05 14:22:51 +05:30
Vijay Kumar Banerjee
f1eb69a4a3 Update rtems_waf 2020-08-05 14:22:51 +05:30
Christian Mauderer
e649184003 testsuite: Use new name of test-info.h.
In RTEMS the test.h has been renamed to test-info.h to allow the new
test framework to take over.
2020-07-31 08:32:22 +02:00
Christian Mauderer
4a05b2e41c if_ffec: Align send buffers to cache if necessary. 2020-07-29 11:19:24 +02:00
Christian Mauderer
828969e525 imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOC
That option makes problems with some drivers because the buffers are not
allways cache line aligned.

Update 3869
2020-07-29 11:19:14 +02:00
Christian Mauderer
beaacb5c30 busdma: Don't sync nocache memory on ARM
The busdma shouldn't try to flush or invalidate cache in a nocache area.
2020-07-29 11:19:14 +02:00
Christian Mauderer
36b588eb8b rtwn_usb: Make sure buffers are cache aligned 2020-07-29 11:19:14 +02:00
Christian Mauderer
4820ccecc9 busdma: Option to round to cache lines on sync
Some targets support only flushing or invalidating complete cache lines.
In this cases misaligned buffers might lead to unexpected results. This
patch adds a flag that allows drivers to signal to the bus dma driver
that it is OK to round a buffer to the next full cache line. That's for
example necessary if a driver wants to send out 14 byte via a USB DMA.
Only the driver knows whether these 14 bytes are located in an otherwise
unused cache line aligned buffer.
2020-07-29 11:19:14 +02:00
Christian Mauderer
7e5d93bb6b imx: Use RTEMS GPIO driver instead of FreeBSD one
Update 3869
2020-07-29 11:19:00 +02:00
Christian Mauderer
469cc8fbb7 gpioregulator: Remove.
There is a bug in the #ifdef regarding FDT so this file hasn't been
compiled. If that bug is solved, the driver doesn't work for some other
reason.

With the FDT-bug the driver hasn't been used by anyone. So just remove
it again.
2020-07-29 11:15:42 +02:00
Christian Mauderer
f9687a8995 wscript: Update RTEMS version to 6. 2020-07-29 10:56:22 +02:00
Christian Mauderer
c81707c3e2 README: Update with information for RTEMS 6 2020-07-29 10:55:28 +02:00
Sebastian Huber
6da0dda325 mDNSResponder: Port to RTEMS
Update #4010.
2020-06-23 18:17:23 +02:00
Sebastian Huber
dac4628cd0 mDNSResponder: Update to v878.270.2
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.270.2.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
0781eb40e2 mDNSResponder: Update to v878.260.1
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.260.1.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
1350d527b8 mDNSResponder: Update to v878.250.4
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.250.4.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
4af311eaa7 mDNSResponder: Update to v878.240.1
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.240.1.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
b96778b363 mDNSResponder: Update to v878.230.2
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.230.2.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
a6b1d332b1 mDNSResponder: Update to v878.200.35
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.200.35.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
ded076e26c mDNSResponder: Update to v878.70.2
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.70.2.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
f042b87589 mDNSResponder: Update to v878.50.17
The sources can be obtained via:

https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.50.17.tar.gz

Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
16c6926473 mDNSResponder: Back to mDNSResponder-878.30.4
Update #4010.
2020-06-23 18:17:22 +02:00
Sebastian Huber
2036cf9616 epoch01: Fix sporadic test failures 2020-06-23 14:11:24 +02:00
Vijay Kumar Banerjee
b96abfd647 libbsd.py: Install the evdev header files 5.1 5.2 5.3 2020-06-04 23:06:32 +05:30