Re: [meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: Add support for ZCU106 Evaluation Kit
Hi Manjukumar, On 31/05/2018 02:52, Manjukumar Harthikote Matha wrote: > > >> -Original Message- >> From: Luca Ceresoli [mailto:l...@lucaceresoli.net] >> Sent: Wednesday, May 30, 2018 2:33 AM >> To: Manjukumar Harthikote Matha ; meta- >> xil...@yoctoproject.org >> Cc: Devarsh Thakkar ; Devarsh Thakkar >> >> Subject: Re: [meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: >> Add >> support for ZCU106 Evaluation Kit >> >> Hi Manjukumar, Devarsh, >> >> On 29/05/2018 04:04, Manjukumar Matha wrote: >>> From: Devarsh Thakkar >>> >>> The ZCU106 Evaluation Kit enables designers to jumpstart designs for >>> video conferencing, surveillance, Advanced Driver Assisted Systems >>> (ADAS) and streaming and encoding applications. This kit features a >>> Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals >>> and interfaces, enabling development for a wide range of applications. >>> The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 >>> applications processor, dual-core Cortex-R5 real-time processor, >>> Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video >>> codec, and 16nm FinFET+ programmable logic. >>> >>> This patch adds machine configuration file for ZCU106 Evaluation Kit >>> with required setting of board specific yocto variables needed for >>> compilation of bootloader, kernel and device-tree. >>> >>> - linux-xlnx is the kernel provider >>> - u-boot-xlnx is the u-boot provider which will also generate SPL boot.bin >>> - hwcodec is provided by libomxil-xlnx recipe, this will pull in >>> additional dependencies of VCU kernel modules, control software, >>> firmware binaries >>> >>> Depending on the application need you may want to pass the appropriate >>> CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. >>> >>> While using SPL flow, you may need to provide additional hack to pass >>> the PMU config object. This is similar to all ZU+ boards, due to gap in >>> SPL flow unable to load PMU config object. >> >> Thanks for the added comments. >> >>> Signed-off-by: Devarsh Thakkar >>> Tested-by: Maulik Desai >>> Signed-off-by: Manjukumar Matha > ma...@xilinx.com> >>> --- >>> Changelog: >>> v2: Add commit message to describe the providers and state of SPL boot. >>> Also add the requirement of CMA size required based on appliction >>> >>> meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf| 33 >> ++ >>> .../recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 1 + >>> 2 files changed, 34 insertions(+) >>> create mode 100644 meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf >>> >>> diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf b/meta-xilinx- >> bsp/conf/machine/zcu106-zynqmp.conf >>> new file mode 100644 >>> index 000..42ac479 >>> --- /dev/null >>> +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf >>> @@ -0,0 +1,33 @@ >>> +#@TYPE: Machine >>> +#@NAME: zcu106-zynqmp >>> +#@DESCRIPTION: Machine support for ZCU106 Evaluation Board. >>> + >>> +require conf/machine/include/tune-zynqmp.inc >>> +require conf/machine/include/machine-xilinx-default.inc >>> +require conf/machine/include/machine-xilinx-board.inc >>> +include conf/machine/include/zynqmp-pmu-config.inc >>> + >>> +MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" >>> + >>> +UBOOT_MACHINE = "xilinx_zynqmp_zcu106_revA_defconfig" >>> +SPL_BINARY = "spl/boot.bin" >>> + >>> +SERIAL_CONSOLE = "115200 ttyPS0" >> >> SERIAL_CONSOLE is deprecated, I think this should become SERIAL_CONSOLES. >> > > I will merge this as is and send out another patch for all machines to use > SERIAL_CONSOLES That's fine, thanks. -- Luca -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx
Re: [meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: Add support for ZCU106 Evaluation Kit
> -Original Message- > From: Luca Ceresoli [mailto:l...@lucaceresoli.net] > Sent: Wednesday, May 30, 2018 2:33 AM > To: Manjukumar Harthikote Matha ; meta- > xil...@yoctoproject.org > Cc: Devarsh Thakkar ; Devarsh Thakkar > > Subject: Re: [meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: Add > support for ZCU106 Evaluation Kit > > Hi Manjukumar, Devarsh, > > On 29/05/2018 04:04, Manjukumar Matha wrote: > > From: Devarsh Thakkar > > > > The ZCU106 Evaluation Kit enables designers to jumpstart designs for > > video conferencing, surveillance, Advanced Driver Assisted Systems > > (ADAS) and streaming and encoding applications. This kit features a > > Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals > > and interfaces, enabling development for a wide range of applications. > > The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 > > applications processor, dual-core Cortex-R5 real-time processor, > > Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video > > codec, and 16nm FinFET+ programmable logic. > > > > This patch adds machine configuration file for ZCU106 Evaluation Kit > > with required setting of board specific yocto variables needed for > > compilation of bootloader, kernel and device-tree. > > > > - linux-xlnx is the kernel provider > > - u-boot-xlnx is the u-boot provider which will also generate SPL boot.bin > > - hwcodec is provided by libomxil-xlnx recipe, this will pull in > > additional dependencies of VCU kernel modules, control software, > > firmware binaries > > > > Depending on the application need you may want to pass the appropriate > > CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. > > > > While using SPL flow, you may need to provide additional hack to pass > > the PMU config object. This is similar to all ZU+ boards, due to gap in > > SPL flow unable to load PMU config object. > > Thanks for the added comments. > > > Signed-off-by: Devarsh Thakkar > > Tested-by: Maulik Desai > > Signed-off-by: Manjukumar Matha ma...@xilinx.com> > > --- > > Changelog: > > v2: Add commit message to describe the providers and state of SPL boot. > > Also add the requirement of CMA size required based on appliction > > > > meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf| 33 > ++ > > .../recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 1 + > > 2 files changed, 34 insertions(+) > > create mode 100644 meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > > > > diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf b/meta-xilinx- > bsp/conf/machine/zcu106-zynqmp.conf > > new file mode 100644 > > index 000..42ac479 > > --- /dev/null > > +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > > @@ -0,0 +1,33 @@ > > +#@TYPE: Machine > > +#@NAME: zcu106-zynqmp > > +#@DESCRIPTION: Machine support for ZCU106 Evaluation Board. > > + > > +require conf/machine/include/tune-zynqmp.inc > > +require conf/machine/include/machine-xilinx-default.inc > > +require conf/machine/include/machine-xilinx-board.inc > > +include conf/machine/include/zynqmp-pmu-config.inc > > + > > +MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" > > + > > +UBOOT_MACHINE = "xilinx_zynqmp_zcu106_revA_defconfig" > > +SPL_BINARY = "spl/boot.bin" > > + > > +SERIAL_CONSOLE = "115200 ttyPS0" > > SERIAL_CONSOLE is deprecated, I think this should become SERIAL_CONSOLES. > I will merge this as is and send out another patch for all machines to use SERIAL_CONSOLES Thanks, Manju -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx
Re: [meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: Add support for ZCU106 Evaluation Kit
Hi Manjukumar, Devarsh, On 29/05/2018 04:04, Manjukumar Matha wrote: > From: Devarsh Thakkar > > The ZCU106 Evaluation Kit enables designers to jumpstart designs for > video conferencing, surveillance, Advanced Driver Assisted Systems > (ADAS) and streaming and encoding applications. This kit features a > Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals > and interfaces, enabling development for a wide range of applications. > The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 > applications processor, dual-core Cortex-R5 real-time processor, > Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video > codec, and 16nm FinFET+ programmable logic. > > This patch adds machine configuration file for ZCU106 Evaluation Kit > with required setting of board specific yocto variables needed for > compilation of bootloader, kernel and device-tree. > > - linux-xlnx is the kernel provider > - u-boot-xlnx is the u-boot provider which will also generate SPL boot.bin > - hwcodec is provided by libomxil-xlnx recipe, this will pull in > additional dependencies of VCU kernel modules, control software, > firmware binaries > > Depending on the application need you may want to pass the appropriate > CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. > > While using SPL flow, you may need to provide additional hack to pass > the PMU config object. This is similar to all ZU+ boards, due to gap in > SPL flow unable to load PMU config object. Thanks for the added comments. > Signed-off-by: Devarsh Thakkar > Tested-by: Maulik Desai > Signed-off-by: Manjukumar Matha > --- > Changelog: > v2: Add commit message to describe the providers and state of SPL boot. > Also add the requirement of CMA size required based on appliction > > meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf| 33 > ++ > .../recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 1 + > 2 files changed, 34 insertions(+) > create mode 100644 meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > > diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > new file mode 100644 > index 000..42ac479 > --- /dev/null > +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf > @@ -0,0 +1,33 @@ > +#@TYPE: Machine > +#@NAME: zcu106-zynqmp > +#@DESCRIPTION: Machine support for ZCU106 Evaluation Board. > + > +require conf/machine/include/tune-zynqmp.inc > +require conf/machine/include/machine-xilinx-default.inc > +require conf/machine/include/machine-xilinx-board.inc > +include conf/machine/include/zynqmp-pmu-config.inc > + > +MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" > + > +UBOOT_MACHINE = "xilinx_zynqmp_zcu106_revA_defconfig" > +SPL_BINARY = "spl/boot.bin" > + > +SERIAL_CONSOLE = "115200 ttyPS0" SERIAL_CONSOLE is deprecated, I think this should become SERIAL_CONSOLES. Other than than, looks good. Thanks, -- Luca -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx
[meta-xilinx] [meta-xilinx-bsp][PATCH v2] zcu106-zynqmp.conf: Add support for ZCU106 Evaluation Kit
From: Devarsh Thakkar The ZCU106 Evaluation Kit enables designers to jumpstart designs for video conferencing, surveillance, Advanced Driver Assisted Systems (ADAS) and streaming and encoding applications. This kit features a Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals and interfaces, enabling development for a wide range of applications. The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53 applications processor, dual-core Cortex-R5 real-time processor, Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video codec, and 16nm FinFET+ programmable logic. This patch adds machine configuration file for ZCU106 Evaluation Kit with required setting of board specific yocto variables needed for compilation of bootloader, kernel and device-tree. - linux-xlnx is the kernel provider - u-boot-xlnx is the u-boot provider which will also generate SPL boot.bin - hwcodec is provided by libomxil-xlnx recipe, this will pull in additional dependencies of VCU kernel modules, control software, firmware binaries Depending on the application need you may want to pass the appropriate CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel. While using SPL flow, you may need to provide additional hack to pass the PMU config object. This is similar to all ZU+ boards, due to gap in SPL flow unable to load PMU config object. Signed-off-by: Devarsh Thakkar Tested-by: Maulik Desai Signed-off-by: Manjukumar Matha --- Changelog: v2: Add commit message to describe the providers and state of SPL boot. Also add the requirement of CMA size required based on appliction meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf| 33 ++ .../recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf diff --git a/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf new file mode 100644 index 000..42ac479 --- /dev/null +++ b/meta-xilinx-bsp/conf/machine/zcu106-zynqmp.conf @@ -0,0 +1,33 @@ +#@TYPE: Machine +#@NAME: zcu106-zynqmp +#@DESCRIPTION: Machine support for ZCU106 Evaluation Board. + +require conf/machine/include/tune-zynqmp.inc +require conf/machine/include/machine-xilinx-default.inc +require conf/machine/include/machine-xilinx-board.inc +include conf/machine/include/zynqmp-pmu-config.inc + +MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost" + +UBOOT_MACHINE = "xilinx_zynqmp_zcu106_revA_defconfig" +SPL_BINARY = "spl/boot.bin" + +SERIAL_CONSOLE = "115200 ttyPS0" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" + +KERNEL_DEVICETREE = "xilinx/zynqmp-zcu106-revA.dtb" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-xlnx" +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx" +PREFERRED_PROVIDER_virtual/pmu-firmware ?= "zynqmp-pmu-pmu-firmware" + +EXTRA_IMAGEDEPENDS += " \ + u-boot-zynq-uenv \ + arm-trusted-firmware \ + virtual/pmu-firmware \ + virtual/boot-bin \ + " + +IMAGE_BOOT_FILES += "uEnv.txt atf-uboot.ub ${KERNEL_IMAGETYPE}-zynqmp-zcu106-revA.dtb" + +MACHINE_HWCODECS = "libomxil-xlnx" diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb index e503f82..d5e746e 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2018.1.bb @@ -21,5 +21,6 @@ HAS_PLATFORM_INIT ?= " \ zynq_zc706_config \ zynq_zybo_config \ xilinx_zynqmp_zcu102_rev1_0_config \ + xilinx_zynqmp_zcu106_revA_config \ " -- 2.7.4 -- ___ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx