[meta-xilinx] [PATCH 00/19 v2] Add zybo-linux-bd-zynq7 support
Nathan Rossi
nathan at nathanrossi.com
Tue May 3 06:57:47 PDT 2016
On Wed, Apr 27, 2016 at 5:45 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
>
> 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.
>
> v2:
> - Remove the HDF include file and just use reference design
> zybo-linux-bd.bb to extract the bitstream.
Hi Jason,
So I have picked up the changes and applied them, as mentioned before
I am holding off on the fit image changes in this series till after
this krogoth release.
I have commented below which patches I have applied/skipped. Apart
from the patch for the kernel DPMS change, there were some small
issues that I resolved with some additional patches. Mainly adding
support to allow for overriding of the u-boot source platform init
files, and additionally setting the preferred providers for the kernel
and u-boot.
>
> Jason Wu (19):
> linux/config: Add config fragments for Xilinx DRM
> linux/config: Add keyboard gpio cfg and scc
Applied these.
> conf: Define XILINXBASE variable
> Add xilinx-fitimage recipe
Skipped these for later.
> 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
Applied these.
> linux-xlnx-dev: Add Digilent encoder and axi dynclk drivers
Skipped. Recipe is moving target so patches cannot be applied.
> linux-xlnx: Add Digilent encoder and axi dynclk drivers
> linux/config: Add config fragments for Digilent DRM encoder
Applied these.
> zybo-linux-bd-zynq7: Enable fitimage
Skipped for later.
> zybo-linux-bd-zynq7: Enable required kernel drivers
Applied.
> Add consoleblank recipe
> zybo-linux-bd-zynq7: Enable console-blank
Skipped these in favour of the kernel patch to get DPMS working.
> u-boot_2016.03: Add SPL load bitstream and uEnv.txt support
Applied.
> u-boot: Add uEnv.txt suppor to zybo-linux-bd-zynq7
> Add xilinx-sdimg support
Skipped these for later.
> Add xserver-xf86-config_0.1 bbappend
Skipped in favour of the kernel patch to get DPMS working.
Thanks,
Nathan
>
> classes/xilinx-fitimage.bbclass | 89 +++
> classes/xilinx-sdimg.bbclass | 14 +
> conf/layer.conf | 2 +
> conf/machine/zybo-linux-bd-zynq7.conf | 48 ++
> .../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-zynq7.dts | 185 +++++++
> recipes-bsp/reference-design/zybo-linux-bd.bb | 68 +++
> .../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 +
> .../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 +
> .../bsp/zybo-linux-bd-zynq7/zybo-snd.cfg | 9 +
> .../bsp/zybo-linux-bd-zynq7/zybo-snd.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 +
> 36 files changed, 3430 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-zynq7.dts
> create mode 100644 recipes-bsp/reference-design/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/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/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg
> create mode 100644 recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.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