summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* u-boot-zynq-scr.bb: Recipe to create u-boot.scr for Xilinx devicesManjukumar Matha2019-08-157-0/+100
| | | | | | | | | | Xilinx u-boot supports distrocmd, this required u-boot.scr from distro to provide the required default boot instead of scanning through the list of available boot devices. This patch enables SD boot mode by default for ZU+ and Versal devices. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: Add bison-native dependency for 2019.01Manjukumar Matha2019-08-151-1/+1
| | | | | | Add bison-native dependency for 2019.01 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for Xilinx v2019.1 releaseJaewon Lee2019-08-156-12/+12
| | | | | | | | | | | | | | Update components for 2019.1 release - u-boot-xlnx - linux-xlnx - arm-trusted-firmware - QEMU - recipes-multimedia/vcu - xrt and zocl - pmu-firmware Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* microblaze: Update to v11.0Manjukumar Matha2019-08-151-1/+1
| | | | | | Update kc705-microblazeel to microblaze version v11 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* microblaze-kc705-Convert-microblaze-generic-to-k.patch:update patchJaewon Lee2019-08-151-242/+207
| | | | | | | | Update microblaze patch to convert microblaze generic to kc705 for 2019.1 release. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Add support to build ATF for versal devicesManjukumar Matha2019-06-281-2/+12
| | | | | | Add support to build ATF for versal devices Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kc705-bitstream_2018.3.bb: Add 2018.3 bitstream for kc705Manjukumar Matha2019-01-011-2/+2
| | | | | | Add 2018.3 bitstream for kc705 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2018.3.bb: Add the relevant configs available from u-bootManjukumar Matha2019-01-011-0/+5
| | | | | | Add the relevant configs available from u-boot. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: define ATF_MEM_BASE/SIZESreeja Vadakattu2019-01-011-0/+5
| | | | | | | | | | | | | | | Define ATF_MEM_BASE & ATF_MEM_SIZE. Add ZYNQMP_ATF_MEM_BASE='ATF_MEM_BASE' to extra_oemake flag for zynqmp platform Similarly for ATF_MEM_SIZE According to atf documentation, ATF_MEM_BASE & SIZE have to be defined together. For more info refer: arm-trusted-firmware-src/docs/plat/<platform>.md's Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Make console a platform overrideSreeja Vadakattu2019-01-011-2/+6
| | | | | | | | | | | Define ATF_CONSOLE such that it is a platform override. zynqmp by default has cadence as console, set the ATF build dependencies based on this override. Other architectures might have different value which can be set using local.conf Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for Xilinx v2018.3 releaseManjukumar Matha2019-01-015-10/+10
| | | | | | | Update the arm-trusted-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx and qemu-devicetrees recipes for 2018.3 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Add support for debug flagJaewon Lee2019-01-011-3/+3
| | | | | | | | | | If debug variable is set, debug flag will be passed to EXTRA_OEMAKE and OUTPUT_DIR will be set to ${B}/${PLATFORM}/debug, as all the generated binaries will be there instead of the 'release' directory Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-uenv.bb: Handle IMAGE_BOOT_FILES wildcard patternsNathan Rossi2019-01-011-35/+20
| | | | | | | | | | | | | Handle IMAGE_BOOT_FILES having wildcard patterns for dtbs. This requires that the recipe depend on the deployment of the dtbs in order for the correct file names to be expanded. This change also improves the parsing of the IMAGE_BOOT_FILES variable and splits out the python functions for doing this into a separate image-wic-utils.bbclass file. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* microzed-zynq7: Change to using device tree from kernelNathan Rossi2019-01-012-99/+0
| | | | | | | | | | | | | Change the microzed board to use the device tree from the kernel. This device tree was added in in kernel v4.10 and was pulled into the meta-xilinx layer to resolve some usb issues in commit 8e01359125. With all kernel recipes being at or beyond v4.10 using the kernel source is straight forward and removes any issues caused by differences between the in kernel and the copied version. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree: Consolidate device-tree recipe and appendNathan Rossi2019-01-012-97/+23
| | | | | | | | | | | | | | | With the introduction of devicetree.bbclass in oe-core/meta, remove the implementation of device tree compilation from device-tree.bb keeping the meta-xilinx specific information and licensing. Also consolidate the device-tree.bb and device-tree.bbappend. The only differences between the existing device-tree.bb implementation and the devicetree.bbclass implementation is the device trees are deployed in a "devicetree/" subdirectory within the deployed images directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* *-zynqmp.conf: Add variables to provide paths of pmu-firmare deploymentManjukumar Matha2019-01-011-3/+1
| | | | | | | | | | | | When building pmu firmware using multiconfig setup, the binaries can be deployed in different build directory. Provide variables to set the binaries in the required path for QEMU. Fix SPL dependency on pmu-firmware. Since the pmu-firmware is being built as a part of multiconfig provide variables to fetch appropriate pmu-firmware binaries. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zynqmp-pmu: Remove class that uses a multilib hack to build standalone ↵Alejandro Enedino Hernandez Samaniego2019-01-012-100/+1
| | | | | | | | | | | | components The zynqmp-pmu class was being used to build standalone components (PMU) for several devices, with the introduction of the meta-xilinx-standalone layer and the xilinx-standalone distro, this is not necessary anymore. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware.inc: Add support for atf to use 2nd UARTJaewon Lee2018-07-181-1/+6
| | | | | | | | | | | | | | | Add ZYNQMP_CONSOLE flag to EXTRA_OEMAKE to add support for the 2nd UART. If ZYNQMP_CONSOLE is set to cadence or cadence0, it will use UART 0 and if set to cadence1, it will use UART 1. The default value is set to cadence. Change do_configure to perform make clean. Without this change,you must manually clean sstate before building with the new value of ZYNQMP_CONSOLE, which is not the desired behavior. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: add missing include pathMartin Siegumfeldt2018-07-181-0/+1
| | | | | | | | | This patch adds a missing include path for generic kernel DTC includes. Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu104-zynqmp.conf: Add support for ZCU104 evaluation boardJaewon Lee2018-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ZCU104 Evaluation Kit enables designers to jumpstart designs for embedded vision applications such as surveillance, Advanced Driver Assisted Systems (ADAS), machine vision, Augmented Reality (AR), drones and medical imaging. This kit features a Zynq® UltraScale+™ MPSoC EV device with video codec and supports many common peripherals and interfaces for embedded vision use case. 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 ZCU104 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: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* zcu106-zynqmp.conf: Add support for ZCU106 Evaluation KitDevarsh Thakkar2018-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <devarsht@xilinx.com> Tested-by: Maulik Desai <maulik.desai@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: Remove deploying u-boot-spl.bin for runqemuManjukumar Matha2018-05-281-6/+0
| | | | | | | | | Due to this change 54e2729ed43f82b8cfd96395fb68e447a9b60f86, zcu102 runqemu does not depend on u-boot-spl.bin. It requires just ATF and u-boot to be present. Hence deploying of u-boot-spl.bin is no longer required. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kc705-bitstream_2018.1.bb: Update kc705 bitstreamManjukumar Matha2018-05-281-2/+2
| | | | | | Update kc705 bitstream for 2018.1 release Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2018.1.bb: Add support to build kc705 microblazeelManjukumar Matha2018-05-282-0/+1170
| | | | | | | Add the wiring in u-boot-xlnx to compile kc705-microblazeel machine. Tested-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update to newer commit supporting ATF in SPLManjukumar Matha2018-05-252-2/+2
| | | | | | | | U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which pass control to full u-boot(EL2). Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-spl-zynq-init.inc: Fix parallellism issueNiko Mauno2018-05-251-2/+2
| | | | | | | | | | | | | | | | | A race issue can be induced by do_zynq_platform_init() being fired before do_unpack(), resulting in | DEBUG: Executing shell function do_zynq_platform_init | cp: cannot create regular file '.../git/board/xilinx/zynq/': No such file or directory | WARNING: exit code 1 from a shell command. Mitigate issue by adding dependency to completion of do_unpack task for custom do_zynq_platform_init task. Also update comment on previous line to match the actions on next. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Reviewed-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx.inc: Deploy u-boot-spl.bin only if presentManjukumar Matha2018-05-251-1/+3
| | | | | | | | | There are instances when SPL can be completely disabled, in such cases do_deploy will error out complaining u-boot-spl.bin not found. This patch fixes the issue by deploying u-boot-spl.bin only if it is present Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* pmu-firmware_2018.1.bb: Update to 2018.1 pmu firmwareManjukumar Matha2018-05-252-5/+5
| | | | | | Update to 2018.1 pmu firmware Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for Xilinx v2018.1 releaseManjukumar Matha2018-05-253-1/+32
| | | | | | | | | Update the arm-trusted-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx and qemu-devicetrees recipes for 2018.1 release Tested-by: Jaewon Lee <jaewon.lee@xilinx.com> Acked-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Remove 2017.3 component recipesManjukumar Matha2018-05-254-1245/+0
| | | | | | Remove 2017.3 based component recipes Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: Add provider virtual/dtbManjukumar Matha2018-04-131-0/+2
| | | | | | | | Add provider virtual/dtb as this recipe is involved in building dtb from dts. We can add other recipes or conf to depend on virtual/dtb whenever required Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx_2017.3.bb: Add support to build kc705-microblazeelManjukumar Matha2018-01-312-0/+1183
| | | | | | Add the wiring in u-boot-xlnx to compile kc705-microblazeel machine. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-xlnx: Add PV to include fileManjukumar Matha2018-01-312-5/+10
| | | | | | | Add PV with Xilinx release version and u-boot version. This follows on similar lines on how we handle kernel recipe Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* arm-trusted-firmware: Add PV to include fileManjukumar Matha2018-01-312-4/+7
| | | | | | | Add PV with Xilinx release version and ATF version. This follows on similar lines on how we handle kernel recipe Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* device-tree.bb: Change depedency to do_configure taskManjukumar Matha2018-01-091-1/+1
| | | | | | | | | | | | | This patch is required to remove circular depedency while compiling kernel image simpleImage.mb for MB machines. We need the task to be depedent on do_configure because kernel will depend on device-tree to be available while compiling simpleImage.mb. The kernel source is available in work-shared/kernel-source after do_configure task is run, this patch changes the depedency from do_shared_workdir to do_configure. Reviewed-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-1327-0/+15324
As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>