[meta-xilinx] [RFC 00/20] Add zybo-linux-bd-zynq7 support

Jason Wu jason.wu.misc at gmail.com
Tue Apr 12 05:40:20 PDT 2016



On 12/04/2016 7:18 PM, Nathan Rossi wrote:
> On Mon, Apr 11, 2016 at 11:23 PM, Jason Wu <jason.wu.misc at gmail.com> wrote:
>> This series has the following changes:
>>    * Machine:
>>      * Add zybo-linux-bd-zynq7 machine support. The hardware enables the
>>        follows:
>>        - HDMI output
>>        - Sound
>>        - AXI GPIO
>>    * Kenrel:
>>      * Add Digilent encoder driver and AXI Dynclk drivers for both linux-xlnx
>>        and linux-xlnx-dev
>>      * Add config fragments for:
>>        - Xilinx DRM
>>        - Keyboard GPIO
>>        - V4L2
>>        - Digilent DRM
>>    * U-boot:
>>      * Add SPL load bitstream and uEnv.txt support to 2016.03 u-boot
>>      * Add custom uEnv.txt file for zybo-linux-bd-zynq7
>>    * Add wic SD card kickstart image defintion and use it to generate wic image
>>      for sd card.
>>    * Add fitiamge generation support with xilinx-fitimage image type
>>    * Add workaround recipes (X and console) for screen wakeup issue
>>    * New recipe to fetch HDF from external website to provide bitstream and
>>      ps7_init_gpl.h/c
>>
>> This series provides a working Zybo BSP support base on Digilent's linux_bd
>> poject design which can be found in github
>> (https://github.com/Digilent/ZYBO/tree/master/Projects/linux_bd). The key
>> feature of this hardware project is to provide HDMI out.
>>
>> Known issues:
>>    - Audio play back get distortion after certain operation such as cancelling
>>      playback or after recording
>>    - Screen does not work up from screen saver (cosole blank). This can be
>>      workarounded by enable the consoleblank package.
>
> Great work Jason,
thanks,

>
> I have reviewed the patches in this series and I have provided some
> comments. However I would like to apply some of these changes from
> this series to master for this upcoming release, and hold off on some
> of the others until after that release. Specifically around the fit
> image support and u-boot patches.
Thanks for reviewing the patches.

The fit image support is nice as it is the u-boot default boot image for 
zynq. This is not major blocker, user can always manually loads the kernel.

If the SPL loading the bitstream is the main reason hold off u-boot 
patches, i can break that patch into two patches. let me know what's you 
want me to do.

Best regards,

Jason

>
> If you are able to update the series that would be great.
>
> Thanks,
> Nathan
>
>>
>> Jason Wu (20):
>>    linux/config: Add config fragments for Xilinx DRM
>>    linux/config: Add keyboard gpio cfg and scc
>>    conf: Define XILINXBASE variable
>>    Add xilinx-fitimage recipe
>>    Add basic Xilinx HDF support
>>    linux-xlnx-dev: Update kernel version from 4.0+ to 4.4+
>>    linux/config: Add config fragments for Zybo sound support
>>    linux/config: Add config fragment for enabling v4l2
>>    conf/machine: Add zybo-linux-bd-zynq7 machine support
>>    linux-xlnx-dev: Add Digilent encoder and axi dynclk drivers
>>    linux-xlnx: Add Digilent encoder and axi dynclk drivers
>>    linux/config: Add config fragments for Digilent DRM encoder
>>    zybo-linux-bd-zynq7: Enable fitimage
>>    zybo-linux-bd-zynq7: Enable required kernel drivers
>>    Add consoleblank recipe
>>    zybo-linux-bd-zynq7: Enable console-blank
>>    u-boot_2016.03: Add SPL load bitstream and uEnv.txt support
>>    u-boot: Add uEnv.txt suppor to zybo-linux-bd-zynq7
>>    Add xilinx-sdimg support
>>    Add xserver-xf86-config_0.1 bbappend
>>
>>   classes/xilinx-fitimage.bbclass                    |  89 +++
>>   classes/xilinx-sdimg.bbclass                       |  14 +
>>   conf/layer.conf                                    |   2 +
>>   conf/machine/zybo-linux-bd-zynq7.conf              |  46 ++
>>   .../device-tree/files/zybo-linux-bd/pcw.dtsi       |  63 +++
>>   .../device-tree/files/zybo-linux-bd/pl.dtsi        | 213 ++++++++
>>   .../files/zybo-linux-bd/zybo-linux-bd.dts          | 185 +++++++
>>   recipes-bsp/hardware-definition-file/hdf.inc       |  46 ++
>>   .../hardware-definition-file/zybo-linux-bd.bb      |  22 +
>>   .../configs-zynq-common-Add-uEnv.txt-support.patch |  66 +++
>>   .../u-boot/u-boot/zybo-linux-bd-zynq7/uEnv.txt     |   2 +
>>   .../zynq-Add-fpga-support-to-u-boot-SPL.patch      | 130 +++++
>>   recipes-bsp/u-boot/u-boot_2016.03.bbappend         |   8 +
>>   recipes-graphics/consoleblank/console-blank.bb     |  25 +
>>   recipes-graphics/consoleblank/files/console-blank  |  27 +
>>   .../xserver-xf86-config/zynq/xorg.conf             |   6 +
>>   .../zynq/xorg.conf.d/20-disable-screen-saver.conf  |  10 +
>>   .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |  11 +
>>   .../xilinx-common/bsp/digilent/drm-digilent.cfg    |   7 +
>>   .../xilinx-common/bsp/digilent/drm-digilent.scc    |   5 +
>>   .../config/xilinx-common/bsp/digilent/zybo-snd.cfg |   9 +
>>   .../config/xilinx-common/bsp/digilent/zybo-snd.scc |   4 +
>>   .../xilinx-common/features/drm/drm-xilinx.cfg      |  13 +
>>   .../xilinx-common/features/drm/drm-xilinx.scc      |   4 +
>>   .../config/xilinx-common/features/gpio/kb-gpio.cfg |   3 +
>>   .../config/xilinx-common/features/gpio/kb-gpio.scc |   4 +
>>   .../xilinx-common/features/v4l2/v4l2-xilinx.cfg    |  19 +
>>   .../xilinx-common/features/v4l2/v4l2-xilinx.scc    |   4 +
>>   recipes-kernel/linux/linux-xlnx-dev.bb             |   7 +-
>>   ...rm-xilinx-Add-encoder-for-Digilent-boards.patch | 294 ++++++++++
>>   ...002-clk-Add-driver-for-axi_dynclk-IP-Core.patch | 601 +++++++++++++++++++++
>>   ...rm-xilinx-Add-encoder-for-Digilent-boards.patch | 294 ++++++++++
>>   ...002-clk-Add-driver-for-axi_dynclk-IP-Core.patch | 601 +++++++++++++++++++++
>>   recipes-kernel/linux/linux-xlnx_4.0.bb             |   4 +
>>   recipes-kernel/linux/linux-xlnx_4.4.bb             |   4 +
>>   scripts/bin/mkits.sh                               | 581 ++++++++++++++++++++
>>   scripts/lib/wic/canned-wks/sdimage-xilinx.wks      |   6 +
>>   37 files changed, 3428 insertions(+), 1 deletion(-)
>>   create mode 100644 classes/xilinx-fitimage.bbclass
>>   create mode 100644 classes/xilinx-sdimg.bbclass
>>   create mode 100644 conf/machine/zybo-linux-bd-zynq7.conf
>>   create mode 100644 recipes-bsp/device-tree/files/zybo-linux-bd/pcw.dtsi
>>   create mode 100644 recipes-bsp/device-tree/files/zybo-linux-bd/pl.dtsi
>>   create mode 100644 recipes-bsp/device-tree/files/zybo-linux-bd/zybo-linux-bd.dts
>>   create mode 100644 recipes-bsp/hardware-definition-file/hdf.inc
>>   create mode 100644 recipes-bsp/hardware-definition-file/zybo-linux-bd.bb
>>   create mode 100644 recipes-bsp/u-boot/u-boot/configs-zynq-common-Add-uEnv.txt-support.patch
>>   create mode 100644 recipes-bsp/u-boot/u-boot/zybo-linux-bd-zynq7/uEnv.txt
>>   create mode 100644 recipes-bsp/u-boot/u-boot/zynq-Add-fpga-support-to-u-boot-SPL.patch
>>   create mode 100644 recipes-graphics/consoleblank/console-blank.bb
>>   create mode 100644 recipes-graphics/consoleblank/files/console-blank
>>   create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/zynq/xorg.conf
>>   create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/zynq/xorg.conf.d/20-disable-screen-saver.conf
>>   create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.scc
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/bsp/digilent/zybo-snd.cfg
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/bsp/digilent/zybo-snd.scc
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.scc
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg
>>   create mode 100644 recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.scc
>>   create mode 100644 recipes-kernel/linux/linux-xlnx-dev/0001-drm-xilinx-Add-encoder-for-Digilent-boards.patch
>>   create mode 100644 recipes-kernel/linux/linux-xlnx-dev/0002-clk-Add-driver-for-axi_dynclk-IP-Core.patch
>>   create mode 100644 recipes-kernel/linux/linux-xlnx/0001-drm-xilinx-Add-encoder-for-Digilent-boards.patch
>>   create mode 100644 recipes-kernel/linux/linux-xlnx/0002-clk-Add-driver-for-axi_dynclk-IP-Core.patch
>>   create mode 100755 scripts/bin/mkits.sh
>>   create mode 100644 scripts/lib/wic/canned-wks/sdimage-xilinx.wks
>>
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list