212 Commits

Author SHA1 Message Date
Christian Mauderer
e07b74b88a rtemsbsd/sys/arm: Add imxrt1166 USBPHY driver
Adds a driver for the i.MXRT1166 USB PHY and enable USB for the
imxrt11xx BSPs.
2023-08-21 09:17:02 +02:00
Sebastian Huber
192e8d37a3 if_lpe.c: Port to LibBSD 2022-09-06 13:26:08 +02:00
Sebastian Huber
5b031886e1 if_lpe.c: Import legacy LPC Ethernet driver
The standard FreeBSD MII support causes severe problems on the LPC3200
chip family.  If an Ethernet module register is accessed while there is
no clock from the PHY, the chip completely locks up and only an external
watchdog can recover from this state.  The legacy driver had a custom
PHY management code which helped to avoid such issues.  The if_lpe.c
driver is no longer maintained by FreeBSD.
2022-09-06 13:26:06 +02:00
Sebastian Huber
544ba25fb2 tcpdump01: New test
Update #4650.
2022-05-12 07:48:02 +02:00
Frank Kühndel
7a12651b60 libbsd: Add TFTP filesystem to test media01
How test media01 can be executed is described in section
*Qemu and Networking* of the README.md at the top of the
rtems-libbsd GIT repository.

When connected via `telnet` with the RTEMS shell of the
media01.exe test executed by QEMU, one can list the filesystems
available for mounting:

TLNT [/] # mount -L
File systems: / dosfs tftpfs

The list will contain `tftpfs`.  The filesystem can be mounted
as in the following example:

TLNT [/] # mkdir /tftp
TLNT [/] # mount -t tftpfs -o verbose "" /tftp

A TFTP server is needed to use this filesystem.  The simplest way
would be to run such a server on the host machine and open the
firewall for the TFTP protocol (port 69) on the TAP device used.
Files can then be downloaded using the usual shell commands
as in the following example:

TLNT [/] # cat /tftp/169.254.1.1:hello.txt

Uploading is also possible provided the TFTP server supports it,
for example:

TLNT [/] # cp /etc/dhcpcd.duid /tftp/169.254.1.1:myfile
2022-04-25 16:21:52 +02:00
Heinz Junkes
878713ba45 if_mve: Add MV643XX Ethernet driver
Close #4345.
2022-03-07 10:53:16 +01:00
Sebastian Huber
769c5b0d99 libbsd.py: Fix addition of plain text files
The addPlainTextFile() was renamed to addPlainTextFiles() in commit
cd931b50d9febe8fe7ee890df1c83549d7acfe40.
2022-03-07 09:04:55 +01:00
Jan Sommer
d5d7e54579 waf_libbsd.py: Apply path-mappings to header-paths 2021-06-07 10:37:52 +02:00
Vijay Kumar Banerjee
9b9a976847 Revert "Import telnetd from RTEMS repository"
This reverts commit 1b07480ddc93c10777eff5072e7621ed0c96d30c.
2021-04-13 12:16:50 -06:00
Vijay Kumar Banerjee
1b07480ddc Import telnetd from RTEMS repository
The files have been taken from RTEMS repository with head commit at
bd9e45d91f77657445400bc2c814f251c9e37cef
2021-04-07 19:15:51 -06:00
Christian Mauderer
1bb4a56e4d STM32H7: Add SDMMC driver
Update #4372
2021-04-01 09:05:53 +02:00
Christian Mauderer
d7bdff489d testsuite/media01: Add pattern test
Update #4372
2021-04-01 09:05:46 +02:00
Vijay Kumar Banerjee
c66e527ab7 libbsd.py: Build i2c shell command 2021-03-31 16:51:15 -06:00
G S Niteesh Babu
3cdf289424 arm/ti/ti_pinmux: Remove TI pinmux driver
The TI driver has been moved to RTEMS so the driver can be removed
from libBSD.

The following files have been removed from libBSD and moved to
RTEMS.
1) ti/am335x/am335x_scm_padconf.c
2) ti/am335x/am335x_scm_padconf.h
3) ti/ti_pinmux.c
4) ti/ti_pinmux.h

Update #3784
2021-03-21 12:35:04 +01:00
Moyano, Gabriel
aee7b9291c ehci_pci: Add to build system
Updates #4264
2021-03-08 17:46:27 +01:00
Kinsey Moore
9f52a0df17 Update arm64/aarch64 support 2020-11-13 12:34:01 -06:00
Sebastian Huber
6c83023331 dwc_otg: Add support for nexus bus
Update #3910.
2020-10-27 06:33:05 +01:00
Sebastian Huber
c28f67a9be if_stmac: Add driver for STM32H7 ethernet module
Update #3910.
2020-10-27 06:33:02 +01:00
Chris Johns
bff15c3326 powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP family 2020-10-26 07:42:09 +11:00
Chris Johns
d164b840c3 waf: Fix test module dependency check 2020-09-30 15:31:23 +10:00
Sebastian Huber
ccd05b29c1 Add moxie support 2020-09-23 08:06:51 +02:00
Sebastian Huber
ae1e0c25d8 Add or1k support 2020-09-23 06:34:19 +02:00
Jan Sommer
cc1b05084e i386: Add missing files to build system
- Update FreeBSD files in libbsd.py to required by i386 based BSPs
- Add missing files e1000 network driver (iflib*)
2020-09-16 15:52:58 +10:00
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