1871 Commits

Author SHA1 Message Date
Christian Mauderer
d38dbbe18e imx6_usbphy: Fix regulator (vbus-supply)
Update #3869.
2020-04-20 09:20:09 +02:00
Christian Mauderer
318422720b regulator: Disable FDT parts for non-FDT targets 2020-04-17 14:43:51 +02:00
Jan Sommer
a69293ca57 i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Mostly commenting out parts which create compile or link errors in
RTEMS, but aren't needed
2020-04-17 13:18:06 +02:00
Jan Sommer
dc86c55f51 i386: Delete old machine dependent files
- The files in the i386 directory have been moved to common x86 directories by FreeBSD:
  - freebsd/sys/x86/x86/legacy.c
  - 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-04-17 13:15:51 +02:00
Jan Sommer
efe9b55393 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-04-17 13:15:51 +02:00
Jan Sommer
fb5499af2f 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-04-17 13:15:51 +02:00
Jan Sommer
079bdd3677 i386: Add missing files to build system
- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Some machine specific header files have moved to different directories
in FreeBSD
- Add missing files e1000 network driver (iflib*)
2020-04-17 13:15:50 +02:00
Jan Sommer
dbf72c205d waf: Add path-mappings feature
- path-mappings allow to fix autogenerated include paths for some corner
cases of target platforms without the need to change the build system
- Currently used for i386 based bsps
2020-04-17 13:15:50 +02:00
Jan Sommer
ce5b52d575 i386: Add missing files from FreeBSD
- Files needed to make rtems-libbsd build again for i386
2020-04-17 13:15:50 +02:00
Christian Mauderer
592003fa3e imx: Fix build for all other BSPs. 2020-04-16 10:51:48 +02:00
Christian Mauderer
b3da96ceb8 imx6_usbphy: Add regulator (vbus-supply).
Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
2eab5465f3 ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.

Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
c5455b03ed ehci_imx: Add to build. 2020-04-15 16:14:18 +02:00
Christian Mauderer
4a2d99b4b0 ehci_imx: Port to RTEMS
Update #3869.
2020-04-15 16:14:18 +02:00
Sebastian Huber
29eda67d54 ehci_imx: Import from FreeBSD
Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
113662dfaf Add support for i.mx cache.
Update #3869.
2020-04-14 16:39:21 +02:00
Christian Mauderer
24806eec09 regulator: Add to build.
Update #3869.
2020-04-14 16:39:20 +02:00
Christian Mauderer
404ad60f5f regulator: Import from FreeBSD.
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
10aa08e580 imx gpio port
Update #3869.
2020-04-14 16:39:20 +02:00
Christian Mauderer
3a1d48c70c imx6_ccm: Add and build module.
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
f88f7a02ad imx6_ccm: Port to RTEMS
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
beabd3bfa9 imx6_ccm: Import from FreeBSD
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
64c45b5a1a usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-14 16:39:20 +02:00
Moyano, Gabriel
8e33f3ba15 testsuite: A description for each test added 2020-04-09 08:34:05 +02:00
Chris Johns
816a2f912f rtems_waf: Update to origin/master.
Closes #3888.
2020-04-06 16:56:55 +10:00
Sebastian Huber
018fa32710 testsuite: CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 2020-04-03 10:49:33 +02:00
Christian Mauderer
cec7e3f982 mmcsd: Don't handle multiple hardware partitions.
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it.
If a MMC device has multiple hardware partitions (like eMMC which
typically has at least one boot partition) the
rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple
times. This doesn't work.

Doing it right would mean to acquire and release the bus for each
access which would have an performance impact. Beneath that it would
mean that partition switching has to be supported by the RTEMS code too.

There is currently no known use case where the access would be
necessary. Therefore this patch prefers the performance and just avoids
all further hardware partitions.
2020-04-01 14:12:47 +02:00
Moyano, Gabriel
27ff7e70a8 testsuite: User input define added 2020-03-31 11:13:43 +02:00
Moyano, Gabriel
b4937b0792 testsuite: Using RTEMS tester functions at beginning and at the end of tests
puts() was replaced with rtems_test_begin() and rtems_test_end()
2020-03-31 11:13:43 +02:00
Sebastian Huber
835250de09 Fix INVARIANTS support 2020-03-31 09:26:36 +02:00
Vijay Kumar Banerjee
236295c67e wscript: Python2 support for unicode strings in contexts
Closes #3909
2020-03-30 11:20:38 +11:00
Sebastian Huber
039afd9816 nfsclient: Use a system event for RPC
Aviod conflicts with application events.
2020-03-18 08:26:09 +01:00
Chris Johns
3cc039cdac 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:53:18 +11:00
Chris Johns
2b9172c9d4 rtems_waf: Update to master (096372fc4504)
Closes #3888
2020-02-28 14:04:13 +11:00
Sebastian Huber
e562e3bdf3 waf: Update to waf-2.0.19
Update #3569.
2020-02-27 08:36:15 +01:00
Sebastian Huber
46b3858b27 Update to FreeBSD stable/12 2020-02-10
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
2020-02-18 15:00:48 +01:00
Sebastian Huber
18cc38e73e epoch01: Update due to API changes
Update #3815.
2020-02-10 20:22:28 +01:00
Sebastian Huber
ca9084764f syscalls01: Fix sporadic test failures 2020-02-10 19:39:08 +01:00
Sebastian Huber
9d905758df EVENTHANDLER(9): Avoid multiple definition errors 2020-02-10 18:20:13 +01:00
Christian Mauderer
bbdb76e313 dhcpcd: Pass config structure. 2020-02-06 13:14:23 +01:00
Sebastian Huber
a8f29d695e SOCKATMARK(3): Import from FreeBSD
Close #3798.
2019-12-19 10:51:48 +01:00
Sebastian Huber
afaeccc05a NVMECONTROL(8): Port to RTEMS
Update #3821.
2019-11-13 13:22:36 +01:00
Sebastian Huber
380ef1755d NVMECONTROL(8): Add to build
Update #3821.
2019-11-13 13:22:27 +01:00
Sebastian Huber
94a7b59e06 NVMECONTROL(8): Import from FreeBSD
Update #3821.
2019-11-13 13:22:25 +01:00
Sebastian Huber
e7291f7ac3 NVD(4): Add RTEMS-specific NVMe disk driver
Update #3821.
2019-11-13 13:22:23 +01:00
Sebastian Huber
6735da1a70 NVME(4): Add NVME_GET_NAMESPACE IO control
Update #3821.
2019-11-13 13:22:22 +01:00
Sebastian Huber
eb4dcdf76d NVME(4): Install header files
Update #3821.
2019-11-13 13:22:20 +01:00
Sebastian Huber
16c04c33ef NVME(4): Enable per-CPU IO queues
Update #3821.
2019-11-13 13:22:19 +01:00
Sebastian Huber
13f34a7f73 NVME(4): Add support for SGL
Update #3821.
2019-11-13 13:22:17 +01:00
Sebastian Huber
90a95b575d NVME(4): Add SGL descriptor
Update #3821.
2019-11-13 13:22:15 +01:00