707 Commits

Author SHA1 Message Date
Sebastian Huber
e4923c85c9 linux/of_address.h: of_address_to_resource()
Translate address in of_address_to_resource().

Update #3277.
2018-01-23 14:54:59 +01:00
Sebastian Huber
0f1d2f6174 linux/of_address.h: Add of_translate_address()
Update #3277.
2018-01-23 14:54:56 +01:00
Sebastian Huber
81fc57de35 linux/of.h: Add of_find_node_by_path()
Update #3277.
2018-01-23 14:54:53 +01:00
Sebastian Huber
44fca38058 linux/of.h: Add of_read_number()
Update #3277.
2018-01-23 14:54:50 +01:00
Sebastian Huber
26ce2ac428 linux/of.h: Add of_n_size_cells()
Update #3277.
2018-01-23 14:54:47 +01:00
Sebastian Huber
0d421d850e linux/of.h: Add of_n_addr_cells()
Update #3277.
2018-01-23 14:54:44 +01:00
Sebastian Huber
066b536397 linux/sort.h: New file
Update #3277.
2018-01-23 14:54:41 +01:00
Sebastian Huber
583216ab22 linux/smp.h: Avoid function call overhead
Update #3277.
2018-01-23 14:54:30 +01:00
Sebastian Huber
fe05886a55 linux/compiler.h: Define __cold
Update #3277.
2018-01-23 14:54:23 +01:00
Sebastian Huber
22538146a5 Add rtems_bsd_ifconfig() 2018-01-23 14:50:36 +01:00
Sebastian Huber
13c409362d ehci_mpc83xx.c: Fix for qoriq hypervisor guest 2018-01-19 14:51:53 +01:00
Sebastian Huber
b1649d6322 Add rtems_bsd_initialize_dhcp() 2017-12-05 09:16:25 +01:00
Sebastian Huber
c360b1a2dc Revert "RWLOCK(9): Add reader/writer lock implementation"
This was accidentally committed.

This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-17 10:49:59 +01:00
Sebastian Huber
b5822c2a0a Revert "SX(9): Implement with reader/writer lock"
This was accidentally committed.

This reverts commit cc7a8d87e7307db738bf39ab1ca3ce1053f1c163.
2017-11-17 10:49:31 +01:00
Sebastian Huber
cc7a8d87e7 SX(9): Implement with reader/writer lock 2017-11-16 09:02:28 +01:00
Sebastian Huber
97a98f6cd7 RWLOCK(9): Add reader/writer lock implementation 2017-11-16 09:02:24 +01:00
Sebastian Huber
344b8e6fb4 LOCKING(9): Remove dead code (DDB) 2017-11-16 08:17:03 +01:00
Sebastian Huber
3f23fcd943 LOCKING(9): Remove dead code (KDTRACE_HOOKS) 2017-11-16 08:15:37 +01:00
Sebastian Huber
9c1490aac3 LOCKING(9): Update to current FreeBSD version 2017-11-16 08:11:42 +01:00
Christian Mauderer
ec29b2a0c2 at91_mci: Port to RTEMS and adapt for atsam. 2017-11-10 14:13:15 +01:00
Christian Mauderer
589220752b saf1761_otg: Port to RTEMS. 2017-11-10 14:01:55 +01:00
Christian Mauderer
4613db09fc wpa_supplicant: Add lock. 2017-11-10 13:33:03 +01:00
Christian Mauderer
ee0c369cdd wpa_supplicant: Move forking command into own file.
The malloc wrapper must not be disabled. Therefore the command that uses
malloc without a wrapper has to live in another file.
2017-11-10 13:33:03 +01:00
Sichen Zhao
ce2262ee28 Add wpa_supplicant_fork command.
Add fork command for wpa supplicant to start a new task.
2017-11-10 13:33:03 +01:00
Sichen Zhao
8f2267bbb9 Port wpa supplicant to RTEMS.
Add wpa_supplicant lib support and shell command support in RTEMS.
2017-11-10 13:33:03 +01:00
Sichen Zhao
7c68f4ef0b Port BBB sd driver files to RTEMS.
So BBB can mount and read eMMC and SD card.
2017-11-10 13:10:08 +01:00
Sebastian Huber
23cd284af0 Add rtems_bsd_ifconfig_lo0() 2017-11-10 11:50:30 +01:00
Sebastian Huber
45149ec24e Fix general PowerPC build 2017-10-26 15:02:24 +02:00
Sebastian Huber
2fcf5aadd5 rtems-bsd-mutex: Update due to API changes
Update #3117.
2017-10-24 12:19:28 +02:00
Sebastian Huber
a677fe9932 dpaa: Use only one FMan MAC SGT zone 2017-10-23 09:24:08 +02:00
Sebastian Huber
de5791b345 dpaa: Add "libbsd,dedicated-portal" to QMan portals
By default, the network interfaces use a pool channel, see
dpaa_get_channel() in dpaa_eth_priv_probe().  To enable a dedicated QMan
software portal, use libbsd,dedicated-portal = "enabled";.  This option
is useful for special purpose 10Gbit/s Ethernet processing.

/ {
        soc: soc@ffe000000 {
                fman0: fman@400000 {
                        enet7: ethernet@f2000 {
                                libbsd,dedicated-portal = "enabled";
                        };
                };
        };
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
e3dc39ee0c dpaa: Add <soc/fsl/dpaa.h> 2017-10-23 09:24:07 +02:00
Sebastian Huber
9789434e21 linux: Move upper_32_bits() and lower_32_bits() 2017-10-23 09:24:07 +02:00
Sebastian Huber
65d6fa20fb linux: Make Linux types available in user-space 2017-10-23 09:24:07 +02:00
Sebastian Huber
0de65a8782 linux: Include missing <sys/errno.h> 2017-10-23 09:24:07 +02:00
Sebastian Huber
e846288593 Add rtems_bsd_set_if_input() 2017-10-23 09:24:06 +02:00
Sebastian Huber
07c8680872 dpaa: Get c45 ids 2017-10-23 09:24:06 +02:00
Sebastian Huber
03d142659f dpaa: No error if MII attach failed 2017-10-23 09:24:06 +02:00
Sebastian Huber
9da83e7886 dpaa: Support c45 phys 2017-10-23 09:24:06 +02:00
Sebastian Huber
e2d48f5335 dpaa: Implement GENMASK() similar to Linux 2017-10-23 09:24:06 +02:00
Sebastian Huber
ed254d58e1 dpaa: Use receive checksum offload 2017-10-23 09:24:05 +02:00
Sebastian Huber
cd089b9e05 Linux update to 4.11-rc5
Linux baseline a71c9a1c779f2499fb2afc0553e543f18aff6edf (4.11-rc5).
2017-10-23 09:23:59 +02:00
Sebastian Huber
28ee86a9b0 Import DPAA driver snapshot
Imported from Freescale Linux repository

git://git.freescale.com/ppc/upstream/linux.git

commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161.

Linux compatibility layer is partly from FreeBSD.
2017-10-23 08:46:43 +02:00
Sebastian Huber
43fdf500ec Import CRC32 support from FreeBSD 2017-10-20 14:59:55 +02:00
Sebastian Huber
64163f3023 Initialize BSD user extension earlier 2017-10-20 14:59:55 +02:00
Sebastian Huber
f7f3c4b0de blist: Import from FreeBSD 2017-10-20 14:59:55 +02:00
Sebastian Huber
62c8ca0ead Fix INVARIANTS support 2017-10-20 14:59:55 +02:00
Sebastian Huber
91fb6e3753 rtems-kernel-page: Reclaim pages earlier 2017-10-20 14:59:54 +02:00
Sebastian Huber
7533adcf09 rtems-kernel-page: Add used pages counter 2017-10-20 14:59:54 +02:00
Sebastian Huber
acf428e92f user-space: Define O_DIRECTORY 2017-10-10 15:01:34 +02:00