530 Commits

Author SHA1 Message Date
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
Sebastian Huber
95b102f733 ffec: Port to RTEMS 2017-09-27 11:02:06 +02:00
Sebastian Huber
b46916339b Generalize bsp_fdt_map_intr()
Update #3090.
2017-09-22 14:41:53 +02:00
Christian Mauderer
c6f4aa65ff if_atsam: Allow fixed MII settings. 2017-09-22 10:19:25 +02:00
Christian Mauderer
0190cfdd55 if_atsam: Move statistics to sysctl. 2017-09-22 10:17:26 +02:00
Christian Mauderer
80a7fe68a1 if-atsam: Port to rtems-libbsd. 2017-09-22 10:17:24 +02:00
Christian Mauderer
b16eca96c3 rtemsbsd/if-atsam: Copy from RTEMS.
Copied from RTEMS commit 146adb1edf from 17.07.2017.
2017-09-22 10:15:52 +02:00
Sebastian Huber
894c965d95 Support reference counting for file descriptors
Close #3132.
2017-09-15 12:46:57 +02:00
Sebastian Huber
666a56883a Include missing <string.h> and <limits.h>
Fix warnings.

Update #2132.
Update #2133.
2017-08-25 14:23:50 +02:00
Sebastian Huber
34ff390b09 BUS_SPACE(9): 64-bit support
Update #3082.
2017-08-23 11:04:20 +02:00
Sichen Zhao
097ccba6b0 Enable the WEP encrypted WiFi.
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
2017-08-02 08:30:55 +02:00
Sichen Zhao
47169ea21a Port rtl8188eu driver to RTEMS.
Now USB dongle rtl8188eu can work as wlan client device.
It can scan wifi, connect unencrypted wifi.
2017-08-02 08:30:55 +02:00
Sebastian Huber
b43517be37 ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR 2017-07-18 08:33:00 +02:00
Sichen Zhao
9121570cf2 Port am335x usb driver to RTEMS.
Add FDT and umass support for am335x USB driver.

Now RTEMS can mount and open USB disk.
2017-07-13 07:30:06 +02:00
Sebastian Huber
83574df474 termios: Interrupt server API changes 2017-07-12 09:06:55 +02:00
Sebastian Huber
378b5c2fa6 Use LOG_EMERG for panic() 2017-07-10 08:33:46 +02:00
Sebastian Huber
3c967ca238 Use <sys/lock.h> provided by Newlib 2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
2017-06-08 13:19:54 +02:00
Kevin Kirspel
9d4afe90bc Add keyboard driver set variable 2017-05-19 07:24:30 +02:00
Kevin Kirspel
e28a8d01c1 Add LPC32XX touch screen driver 2017-05-19 07:24:30 +02:00
Kevin Kirspel
fb2aa6ea99 Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h 2017-05-19 07:24:30 +02:00
Kevin Kirspel
18cf4282c4 Modify FREEBSD EVDEV driver for use in RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
b51279b544 Modify FREEBSD USB keyboard drivers for use in RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
a7415b7f2f Add USB UGEN support for RTEMS 2017-05-19 07:24:30 +02:00
Kevin Kirspel
817cbf7201 devfs: Fix some issues
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
2017-05-12 14:20:33 +02:00
Kevin Kirspel
880a17cb0b Adding RTEMS support for FREEBSD TTY 2017-05-11 11:15:41 +02:00
Chris Johns
53914f2774 rc_conf: Move the defaultroute_delay to the defaultroute processing.
If no default route is found atfer the delay timeout set the
defaultrouter value if present.
2017-04-27 14:58:09 +10:00
Chris Johns
443757313e rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.
The interface alias allows extra IP addresses to be set on and
interface and it also allows the MAC address to be set.

Examples:
  ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0"
  ifconfig_em0_alias0="ether 10:22:33:44:55:66"
  ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
2017-04-27 13:57:28 +10:00