[PATCHES rtems, libbsd] Add PCIe and VME support for qoriq

Christian Mauderer christian.mauderer at embedded-brains.de
Tue Jan 23 09:08:58 UTC 2024


Hello,

the attached patch set for RTEMS and libbsd adds initial support of the
Tsi148 VME bridge on the MVME2500 board using the qoriq BSP. Basically
it consists of the following parts:

- Add PCIe ranges to the qoriq MMU configuration (based on FDT).
- Add the existing VME support files to the qoriq BSP.
- Allow to set up the necessary interrupt level and polarity in the BSP.
- Add a matching VMEConfig.h to the BSP.
- Add PCIe support for the qoriq to libbsd.
- Add a glue layer to libbsd that allows the Tsi148 driver to use the
  BSP Tsi148 driver.

The VME parts are only active, if `tsi148` is set to on in the buildset
in libbsd. Otherwise, no VME parts will be linked into the application.

Please note that the libbsd patches currently can only be applied to
6-freebsd-12. The master branch is a few months behind the 6-freebsd-12
in the FreeBSD development. Unluckily, the PCIe driver has been adapted
to this controller in these months. Backporting the driver would pull in
a other system changes which would make a later update of the master
branch in libbsd harder. So I currently plan to only apply the patches
to 6-freebsd-12 for now.

With kind regards

Christian Mauderer




More information about the devel mailing list