702 Commits

Author SHA1 Message Date
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
f33b6a0f3b ehci_imx: Add to build. 2020-04-15 16:32:34 +02:00
Christian Mauderer
c54699f40f Add support for i.mx cache.
Update #3869.
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
Sebastian Huber
bd7af5fcee 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-15 16:18:43 +02:00
Sebastian Huber
211af17ad4 nfsclient: Use a system event for RPC
Aviod conflicts with application events.
2020-03-18 08:28:43 +01:00
Jan Sommer
af291fa3a0 i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Currently does not support the option "dev_nic_e1000 = on"
2020-02-10 10:44:28 +01:00
Sebastian Huber
e6acc15bc9 NVMECONTROL(8): Port to RTEMS
Update #3821.
2019-11-13 13:04:09 +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
53145c7232 NVME(4): Port to RTEMS
Update #3821.
2019-11-13 13:03:49 +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
5f2d63683a Add support for EARLY_COUNTER 2019-09-25 10:58:17 +02:00
Sebastian Huber
bf9681316a Remove obsolete header files 2019-09-24 14:20:08 +02:00
Sebastian Huber
747c6165b8 Compatibility for next Newlib update 2019-09-24 14:10:43 +02:00
Sebastian Huber
e9730d5fc5 Fix pgsigio() warnings 2019-09-24 14:07:12 +02:00
Sebastian Huber
f052790a24 nexus: Avoid NULL pointer access 2019-09-23 10:55:47 +02:00
Sebastian Huber
5173168252 C++ compatiblity for kernel space header 2019-09-23 10:55:44 +02:00
Sebastian Huber
7b1aea98a1 Add wrapper for strndup() 2019-09-11 10:25:49 +02:00
Vijay Kumar Banerjee
951c4b92cf rtemsbsd: remove dead code fb.c 2019-08-31 20:32:38 +02:00
Sebastian Huber
8bf5f93ac1 atomic.h: Add atomic_load_long() 2019-08-27 10:31:42 +02:00
Nils Hölscher
f020f08430 rtems/rtems-kernel-nexus.c: LibBSD init now uses all pass levels.
I observed all Modules loading in the last fdt pass.
The reason was, nexus bus loading with BUS_PASS_DEFAULT.
2019-08-12 08:12:22 +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
b68ca55c96 Add mmap 2019-07-27 13:49:07 +02:00
Sebastian Huber
bc2ba9a9cd EPOCH(9): Add epoch_drain_callbacks() 2019-07-09 13:57:03 +02:00
Sebastian Huber
70b50ff98a EPOCH(9): Avoid inline functions
FreeBSD changed the epoch_enter() and epoch_exit() inline functions into
proper functions after a performance analysis to avoid code bloat.
2019-07-09 13:57:03 +02:00
Sebastian Huber
313e1d5f1c SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:18 +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
1e989998de if_atsam: Remove WDT_Disable()
The watchdog timer (WDT) can be configure only once.  Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:54:53 +02:00
Sebastian Huber
3bd43f00a7 Add RTEMS-specific getcredhostuuid() 2019-06-05 14:26:38 +02:00
Sebastian Huber
31b5c87357 Use _SMP_Unicast_action()
It is a bit more efficient.
2019-05-21 07:40:03 +02:00
Sebastian Huber
16fa6a4651 Update due to API changes
Close #3749.
2019-05-15 15:44:18 +02:00
Sebastian Huber
c727e4a22e Separate libbsd and RTEMS clock ticks 2019-05-15 12:43:06 +02:00
Sebastian Huber
4d11b2a6cf Include missing <stdlib.h> to fix warnings 2019-05-13 11:19:50 +02:00
Sebastian Huber
1a5db378e2 Remove unused maxusers 2019-05-13 11:19:50 +02:00
Sebastian Huber
b7a88f1414 Remove jail/prison functions from namespace 2019-05-13 11:19:50 +02:00
Sebastian Huber
ab80f78a20 Remove dangerous weak definition of getentropy()
All BSP supporting libbsd should provide this function.
2019-05-13 11:19:50 +02:00
Sebastian Huber
e9b8413133 usb: Undefine USB_DEBUG
In contrast to some other USB options which use 0/1 values, the
USB_DEBUG uses defined/undefined to enable/disable the USB debug
support.
2019-05-13 10:13:37 +02:00
Sebastian Huber
3400fa0d69 Add wrapper for abort() 2019-05-13 09:45:51 +02:00
Sebastian Huber
7801010b68 Add USB mass storage only build set 2019-05-13 09:45:51 +02:00
Sebastian Huber
36e8ad4374 Use static inline functions for jail and prison
This helps the compiler to optimize away dead code.
2019-05-13 09:32:37 +02:00
Sebastian Huber
5da04d6837 Fix zero-copy mbuf support
In 2017 there was a change in the mbuf API.
2019-05-13 09:32:37 +02:00
Sebastian Huber
c6261f9787 Update due to API changes 2019-04-11 09:38:18 +02:00