On Wed, Apr 19, 2017 at 11:06 PM, Patrick Gauvin <pggau...@gmail.com> wrote: > Hello, > > I'm submitting this device configuration driver to be reviewed and > hopefully to be accepted into the RTEMS source tree. In its current state, it > is able to send PCAP command sequences, successfully program the FPGA, and > also use the PCAP to read internal registers. > > The SLCR patch is only for the pieces used during FPGA configuration (level > shifter control and clock resets). > > I've tried to mimic the Doxygen usage found in the Zynq BSP, please let me > know if I missed anything or should elaborate more. > > I intend to merge the test programs into the tree as well, but have not had > the time yet. The platform I have been using to test is the ZedBoard. > if the test programs are specific to the Zynq BSP, then we don't currently have a very good mechanism for maintaining them. Probably submitting them as "example programs" in the git.rtems.org/examples-v2.git is the best place to look at integrating application/bsp-level tests. This is an area in need of longer-term solutions.
> Thank you, > > Patrick > > Patrick Gauvin (2): > bsp/xilinx-zynq: Add SLCR driver > bsp/xilinx-zynq: Add device configuration driver > > c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am | 10 + > .../libbsp/arm/xilinx-zynq/devcfg/zynq-devcfg.c | 770 > +++++++++++++++++++++ > .../arm/xilinx-zynq/include/zynq-devcfg-regs.h | 194 ++++++ > .../libbsp/arm/xilinx-zynq/include/zynq-devcfg.h | 160 +++++ > .../arm/xilinx-zynq/include/zynq-slcr-regs.h | 84 +++ > .../lib/libbsp/arm/xilinx-zynq/include/zynq-slcr.h | 70 ++ > c/src/lib/libbsp/arm/xilinx-zynq/preinstall.am | 16 + > c/src/lib/libbsp/arm/xilinx-zynq/slcr/zynq-slcr.c | 90 +++ > 8 files changed, 1394 insertions(+) > create mode 100644 c/src/lib/libbsp/arm/xilinx-zynq/devcfg/zynq-devcfg.c > create mode 100644 > c/src/lib/libbsp/arm/xilinx-zynq/include/zynq-devcfg-regs.h > create mode 100644 c/src/lib/libbsp/arm/xilinx-zynq/include/zynq-devcfg.h > create mode 100644 c/src/lib/libbsp/arm/xilinx-zynq/include/zynq-slcr-regs.h > create mode 100644 c/src/lib/libbsp/arm/xilinx-zynq/include/zynq-slcr.h > create mode 100644 c/src/lib/libbsp/arm/xilinx-zynq/slcr/zynq-slcr.c > > -- > 2.7.4 > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel