GSoC 2020 PATCH: Import OpenFirmWare API to RTEMS

G S Niteesh Babu niteesh.gs at gmail.com
Wed Jul 15 06:31:50 UTC 2020


Hello,
This series of patches import OpenFirmWare to RTEMS from FreeBSD. These
patches are based on the new build system, so it will require the person
building this patch to pull Sebastian's 'build' branch from his git
repo.

Sebastian's git repo: https://git.rtems.org/sebh/rtems.git/log/?h=build

And the instructions to build RTEMS with the new build system can be
found here: https://ftp.rtems.org/pub/rtems/people/sebh/user.pdf


 bsps/include/bsp/fdt.h                                |  86 ++++--------
 cpukit/include/dev/ofw/openfirm.h                     | 203 +++++++++++++++++++++++++++
 cpukit/include/rtems/fdt.h                            |  69 +++++++++
 cpukit/libfreebsd/freebsd/dev/ofw/ofw_fdt.c           | 626 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 cpukit/libfreebsd/freebsd/dev/ofw/ofw_if.h            |  62 ++++++++
 cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c          | 904 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 cpukit/libfreebsd/rtems-freebsd-helper.h              |  47 +++++++
 spec/build/cpukit/librtemscpu.yml                     |   6 +
 spec/build/cpukit/objfreebsd.yml                      |  17 +++
 spec/build/testsuites/libtests/grp.yml                |   3 +
 spec/build/testsuites/libtests/openfirmware01.yml     |  20 +++
 testsuites/libtests/openfirmware01/init.c             | 147 +++++++++++++++++++
 testsuites/libtests/openfirmware01/openfirmware01.doc |  29 ++++
 testsuites/libtests/openfirmware01/openfirmware01.scn |   2 +
 testsuites/libtests/openfirmware01/some.c             |  52 +++++++
 testsuites/libtests/openfirmware01/some.dts           |  54 +++++++
 testsuites/libtests/openfirmware01/some.h             |  15 ++
 17 files changed, 2286 insertions(+), 56 deletions(-)
 create mode 100644 cpukit/include/dev/ofw/openfirm.h
 create mode 100644 cpukit/include/rtems/fdt.h
 create mode 100644 cpukit/libfreebsd/freebsd/dev/ofw/ofw_fdt.c
 create mode 100644 cpukit/libfreebsd/freebsd/dev/ofw/ofw_if.h
 create mode 100644 cpukit/libfreebsd/freebsd/dev/ofw/openfirm.c
 create mode 100644 cpukit/libfreebsd/rtems-freebsd-helper.h
 create mode 100644 spec/build/cpukit/objfreebsd.yml
 create mode 100644 spec/build/testsuites/libtests/openfirmware01.yml
 create mode 100644 testsuites/libtests/openfirmware01/init.c
 create mode 100644
testsuites/libtests/openfirmware01/openfirmware01.doc
 create mode 100644
testsuites/libtests/openfirmware01/openfirmware01.scn
 create mode 100644 testsuites/libtests/openfirmware01/some.c
 create mode 100644 testsuites/libtests/openfirmware01/some.dts
 create mode 100644 testsuites/libtests/openfirmware01/some.h





More information about the devel mailing list