189 Commits

Author SHA1 Message Date
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
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
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
Vijay Kumar Banerjee
b96abfd647 libbsd.py: Install the evdev header files 2020-06-04 23:06:32 +05:30
Christian Mauderer
f33b6a0f3b ehci_imx: Add to build. 2020-04-15 16:32:34 +02:00
Christian Mauderer
e518d8c72c regulator: Add to build.
Update #3869.
2020-04-15 16:32:24 +02:00
Christian Mauderer
6624d6ee32 imx6_ccm: Add and build module.
Update #3869.
2020-04-15 16:18:44 +02:00
Chris Johns
cbdeec00de waf: Change the test configure check for libdebugger to it's lib
- Add support for a 'test-if-library'

- Use rtems_waf's 'test_application()' fragment in the check_cc
  call

Closes #3948
2020-03-05 21:18:05 +11:00
Jan Sommer
9215a81d08 i386: Add to build 2020-02-10 10:42:42 +01:00
Sebastian Huber
d892051f37 SOCKATMARK(3): Import from FreeBSD
Update #3798.
2019-12-19 10:50:12 +01:00
Sebastian Huber
e6acc15bc9 NVMECONTROL(8): Port to RTEMS
Update #3821.
2019-11-13 13:04:09 +01:00
Sebastian Huber
615fb19134 NVMECONTROL(8): Add to build
Update #3821.
2019-11-13 13:04:06 +01:00
Sebastian Huber
623e179ae5 NVD(4): Add RTEMS-specific NVMe disk driver
Update #3821.
2019-11-13 13:04:03 +01:00
Sebastian Huber
2bcbcbb18f NVME(4): Install header files
Update #3821.
2019-11-13 13:03:59 +01:00
Sebastian Huber
0653b1db32 NVME(4): Add build module
Update #3821.
2019-11-13 13:03:47 +01:00
Sebastian Huber
a5ddb0ea69 Update to FreeBSD head 2019-09-24
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
2019-11-13 10:47:04 +01:00
Sebastian Huber
bf9681316a Remove obsolete header files 2019-09-24 14:20:08 +02:00
Sebastian Huber
e9730d5fc5 Fix pgsigio() warnings 2019-09-24 14:07:12 +02:00
Sebastian Huber
c3623025c2 PCI(4): Import missing file 2019-09-23 10:58:01 +02:00
Sebastian Huber
0063a2caa0 PCI(4): Install header files 2019-09-23 10:56:32 +02:00
Sebastian Huber
f44c30fb3a Add <sys/disk.h> to build module 2019-09-23 10:55:50 +02:00
Vijay Kumar Banerjee
951c4b92cf rtemsbsd: remove dead code fb.c 2019-08-31 20:32:38 +02:00
Sebastian Huber
54fcbf1d4a Remove superfluous support for preloaded modules 2019-08-27 10:31:44 +02:00
Vijay Kumar Banerjee
530f8f5abd am335x display drivers: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
d7c01f4569 fbd: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
2cf7b6b3e4 TDA19988: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
59ce99a357 Pinmux: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
4ed60d9076 i2c tool : port to RTEMS 2019-06-29 10:31:01 +02:00
Vijay Kumar Banerjee
7ab9e2ad53 Add rtems i2c adaptation layer 2019-06-29 10:31:01 +02:00
Vijay Kumar Banerjee
4e1325a338 iicbus: port to RTEMS 2019-06-29 10:31:01 +02:00
Sebastian Huber
cc60cbeef6 Add riscv support 2019-05-23 08:08:55 +02:00
Christian Mauderer
589f43d6af Import FreeBSD license files. 2019-04-04 09:07:10 +02:00
Sebastian Huber
0d01764988 build: Add RTEMS test library
Update #3199.
2019-03-28 07:37:39 +01:00
Christian Mauderer
d1dac7891c bin/openssl: Port to RTEMS. 2019-03-27 10:53:26 +01:00
Sebastian Huber
af02f4644f Build C++ kernel-space compatibility file 2019-02-18 10:06:02 +01:00
Sebastian Huber
3b1f317706 mghttpd: Remove
The mghttpd is already provided by RTEMS.
2019-02-12 14:16:24 +01:00
Sebastian Huber
2b2563da95 Update to FreeBSD head 2018-12-20
Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418.

It includes an update of wpa_supplicant to version 2.7.

It includes an update of the OpenSSL baseline to version 1.1.1a.

Update #3472.
2018-12-20 13:36:34 +01:00
Christian Mauderer
8ae22c48b3 freebsd/if_cpsw: Port. 2018-12-20 13:36:34 +01:00
Sebastian Huber
e0b4edbdcc Update to FreeBSD head 2018-11-15
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.

Update #3472.
2018-11-15 10:56:14 +01:00
Sebastian Huber
a7079138c1 openssl01: New test 2018-10-25 08:40:53 +02:00
Sebastian Huber
b3169c2a6a Update to FreeBSD head 2018-10-23
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.

This commit updates OpenSSL to version 1.1.1.  This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.

Update #3472.
2018-10-25 08:38:45 +02:00
Christian Mauderer
61575f5c44 Add PHY-driver for KSZ8091RNB with 50MHz.
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special
treatment if it is clocked with a 50MHz clock.
2018-09-27 11:03:21 +02:00
Sebastian Huber
b3825029ff fsl_sdhci.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:41 +02:00
Sebastian Huber
06dd40e544 imx/imx_gpio.c: Port to RTEMS
Update #3525.
2018-09-25 10:01:37 +02:00
Sebastian Huber
b42dea9e51 CONFIG_INTRHOOK(9): Port to RTEMS
Some device drivers (e.g. MMC) need a complex intialization with working
callouts.  Remove the dummy CONFIG_INTRHOOK() implementation and replace
it with the real one from FreeBSD.  Make sure TIMEOUT(9) services work
at this point.

Update #3525.
2018-09-25 10:01:15 +02:00
Sebastian Huber
7aba2a4087 ck: Install header files
Update #3472.
2018-09-24 08:01:19 +02:00
Sebastian Huber
457b4fc927 if_ffec_mpc8xx: Port driver to libbsd
Update #3523.
2018-09-21 10:29:43 +02:00