aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-08-16layer.conf: Add warning for dangling bbappendsManjukumar Matha
This layer depends on openembedded-layer for xf86 recipe.Make BitBake throw an warning for situations where an append file (.bbappend) has no corresponding recipe file Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-16meta-xilinx-bsp: Update layer compatibility to warrior releaseAlejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15kernel-simpleimage.bbclass: Fix do_prep_simpleimage `[[: not found`Michael Monaghan
While developing a custom MicroBlaze machine configuration with meta-xilinx-bsp, the linux-xlnx recipe would fail when configured to use the “simpleImage.devicetree-name” kernel image type. Though the do_prep_simpleimage task does not fail, messages were left in the log indicating the “[[“ bash extension could not be found. DEBUG: Executing shell function do_prep_simpleimage temp/run.do_prep_simpleimage.66740: [[: not found DEBUG: Shell function do_prep_simpleimage finished The two offending lines are in kernel-simpleimage.bbclass. Here's one of them for reference. if [[ "${type}" =~ "simpleImage" ]] && [ ${ARCH} = "microblaze" ]; then The problem is that “[[“ will return -1 since the extension is not found and the if statement will simply interpret the error as false causing the task to continue, even if the image type was "simpleImage"! Testing was done using the official crops/poky docker image. The crops/poky system shell was confirmed to include the “[[“ extension however, it appears that the extension is disabled within the recipe shell scripts. In addition, "[[" does not appear to be used by any openembedded-core recipes so I made this patch to convert the two instances of "[[" to "[". The patch was created for master, but the problem appears to exist on all branches of meta-xilinx. Signed-off-by: Michael Monaghan <michael.l.monaghan@nasa.gov> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15-generic.conf: Add generic machines for Zynq and ZU+Manjukumar Matha
Add generic machines for Zynq and ZU+. These are used to build sstate-cache and feeds for respective machines Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15microblazeel*.conf: Add microblaze generic machinesManjukumar Matha
Add microblaze generic machines to build sstate-cache and package feeds Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15u-boot-zynq-scr.bb: Recipe to create u-boot.scr for Xilinx devicesManjukumar Matha
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>
2019-08-15u-boot-xlnx.inc: Add bison-native dependency for 2019.01Manjukumar Matha
Add bison-native dependency for 2019.01 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15zcu1285-zynqmp.conf: Add support for zcu1285 boardSwagath Gadde
Add initial support for zcu1285 evaluation board which has the following main features: * XCZU39DR-FFVF1760 * Samtec BullsEye cable access to: * 16 GTY transceivers * 4 GTR transceivers * 16 ADCs * 16 DACs This patch adds machine configuration file for ZCU1285 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 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: Swagath Gadde <swagathg@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15Update recipes for Xilinx v2019.1 releaseJaewon Lee
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>
2019-08-15microblaze: Update to v11.0Manjukumar Matha
Update kc705-microblazeel to microblaze version v11 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15machine-xilinx-default.inc: Disable PIE (ASLR) for MicroblazeAlejandro Enedino Hernandez Samaniego
While enabling PIE does not produce build time errors AFAIC, for example: bash fails to return/exit properly when PIE is enabled. Given the fact that init code relies on bash to source scripts at boot time and such, booting hangs at init on microblaze targets. Disable PIE on SECURITY_CFLAGS/SECURITY_LDFLAGS for MB architecture Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-08-15microblaze-kc705-Convert-microblaze-generic-to-k.patch:update patchJaewon Lee
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>
2019-06-28Rebasing binutils patches from 2.31 to 2.32Jaewon Lee
Removing two revert patches and rebasing one patch to update binutils from 2.31 to 2.32 Also fixed patch-fuzz Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28binutils%.bbappend: Update Microblaze binutils patches to v2.31Manjukumar Matha
Update Microblaze binutils patches to v2.31 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28gcc: Remove xilinx.ld requirementAlejandro Enedino Hernandez Samaniego
Applications do not require to have the xilinx.ld linker script by default. If this file isnt present applications fail to link at the LTO stage. Remove this requirement to fix the issue Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28gcc: Removing already upstreamed patchJaewon Lee
Removing patch 0056-fix-the-lto-wrapper-issue-on-windows.patch Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28update gcc-8 patchesAlejandro Enedino Hernandez Samaniego
Update patches to be in sync with the xilinx gcc repo Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28gcc: update microblaze patchesAlejandro Enedino Hernandez Samaniego
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28gcc8: update microblaze patchesAlejandro Enedino Hernandez Samaniego
keep the list of patches to be applied updated with the Xilinx SDK repo Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28gcc-8: rebase microblaze patches for gcc 8.2.0Alejandro Enedino Hernandez Samaniego
Align patch names with Xilinxs gcc 8 repo for easier upgrade later Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28Adding FPGA_MNGR_RECONFIG_ENABLE to control enabling fpga managerJaewon Lee
Introduce FPGA_MNGR_RECONFIG_ENABLE to enable overlay configuration for fpga-manager support in kernel. To enable, set FPGA_MNGR_RECONFIG_ENABLE = "1" in local.conf or other bitbake configuration files. For backward compatibility, set FPGA_MNGR_RECONFIG_ENABLE based on IMAGE_FEATURES. In future release, the option of fpga-manager in IMAGE_FEATURES will be deprecated. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28kernel-simpleimage.bbclass: Deploy simpleImage stripManjukumar Matha
Deploy simpleImage strip file generated during kernel build of simpleImage elf. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28kernel-simpleimage.bbclass: Deploy simpleImage unstrip fileManjukumar Matha
While using JTAG flow to boot MB machines, you need an elf file. Deploy simpleImage unstrip file which can be used for JTAG flow Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28opencl-headers: Allow empty packages to be builtAlejandro Enedino Hernandez Samaniego
The opencl-headers package simply contains headers, hence they are all contained within the opencl-headers-dev package. This causes the opencl-headers to be empty and the default behavior is to not create empty packages, although due to rpm packaging behavior a dependency exists between the opencl-headers-dev package and the opencl-headers, which causes an error when creating the rootfs. Use ALLOW_EMPTY_${PN}= "1" to allow the empty package to be created, that way dependencies are fullfilled when creating the rootfs. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28opencl-clhpp: Allow empty packages to be builtAlejandro Enedino Hernandez Samaniego
The opencl-clhpp package simply contains headers, hence they are all contained within the opencl-clhpp-dev package. This causes the opencl-clhpp to be empty and the default behavior is to not create empty packages, although due to rpm packaging behavior a dependency exists between the opencl-clhpp-dev package and the opencl-clhpp, which causes an error when creating the rootfs. Use ALLOW_EMPTY_${PN}= "1" to allow the empty package to be created, that way dependencies are fullfilled when creating the rootfs. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28kernel-simpleimage.bbclass: Use dts for simpleImage generation for MicroblazeManjukumar Matha
Use dts for SimpleImage generation for Microblaze. This patch fixes the issue of not able to boot because dtb was used for SimpleImage generation. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28xrt: Xilinx Runtime User Space Libraries and headersMin Ma
This recipe enables building of Xilinx Runtime User Space Libraries and headers. Xilinx Runtime (XRT) is implemented as as a combination of userspace and kernel driver components. XRT supports both PCIe based boards like U200, U250 and MPSoC base embedded platforms. XRT provides a standardized software interface to Xilinx FPGA Signed-off-by: Min Ma <min.ma@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28zocl: Recipe for Xilinx runtime driver moduleMin Ma
Xilinx Runtime driver module provides memory management and compute unit schedule. This recipe builds the associated kernel module Signed-off-by: Min Ma <min.ma@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28opencl-clhpp_git.bb: Recipe for OpenCL Host API C++ bindingsMin Ma
Recipe for OpenCL Host API C++ bindings. The interface is contained with a single C++ header file cl2.hpp and all definitions are contained within the namespace cl. Signed-off-by: Min Ma <min.ma@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28ocl-icd_git.bb: Add recipe for OpenCL ICD loadersMin Ma
This recipe creates package which aims at creating an Open Source alternative to vendor specific OpenCL ICD loaders. Signed-off-by: Min Ma <min.ma@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28xf86-video-armsoc: Remove the recipe for xf86-video-armsocMadhurkiran Harikrishnan
meta-openembedded holds xf86-video-armsoc recipe, meta-xilinx need not have the same. Also, move the patches to a bbappend file, so that it can be used by any xf86-video-armsoc recipe. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28xilinx-testimage.bbclass: Include IMAGE_AUTOLOGIN and IMAGE_FSTYPES values ↵Sai Hari Chandana Kalluri
for runqemu By default petalinux image on boot auto log's in, however testimage Yocto framework requires the image to reach login banner and not auto login. The user can disable autologin by setting IMAGE_AUTOLOGIN = 0 in local.conf file. Similarly, for testimage to work the IMAGE_FSTYE = "wic.qemu-sd" which again needs to be set in local.conf. By adding these variables inside xilinx-testimage class, eliminate the need from user to set these variables to correctly use testimage. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28machine-xilinx-default.inc: Make u-boot.elf as UBOOT_ELF for zynqSreeja Vadakattu
CONFIG_REMAKE_ELF is enabled for all zynq boards. Also, using CONFIG_OF_SEPERATE is recommeneded by u-boot release v2019.01. So, Deploy u-boot.elf instead of u-boot as u-boot.elf contains dtb. This would solve the following boot issue: No valid device tree binary found - please append one to U-Boot binary, use u-boot-dtb.bin or define CONFIG_OF_EMBED. For sandbox, use -d <file.dtb> initcall sequence 00461b18 failed at call 004582e0 (err=-1) 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>
2019-06-28linux-xlnx.inc: Use KBUILD_DEFCONFIG in externalsrc mode if definedManjukumar Matha
When external source is used for kernel, we need a starting point for kernel configuration, use KBUILD_DEFCONFIG if it is defined. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28zcu102-zynqmp.conf: Changing qemu boot modeJaewon Lee
Previously the qemu boot mode was 3 which is SD0 which is not present in the zcu102. boot mode 5 is SD1 with level shifters which zcu102 supports. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28zc1275-zynqmp.conf: Add support for zc1275 evaluation boardJaewon Lee
Add initial support for the zc1275 evaluation board which has the following main features: * XCZU29DR-FFVF1760 * Samtec BullsEye cable access to: * 16 GTY transceivers * 4 GTR transceivers * 16 ADCs * 16 DACs This patch adds machine configuration file for ZC1275 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 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>
2019-06-28zc1254-zynqmp.conf: Add support for zc1254 evaluation boardJaewon Lee
Add initial support for the zc1254 evaluation board which has the following main features: * RFSoC XCZU28DR-FFVE1156 * Samtec BullsEye cable access to: * 8 high speed analog-to-digital converters (HSADC) * 8 high speed digital-to-analog converters (HSDAC) * 8 GTY transceivers * 4 GTR transceivers This patch adds machine configuration file for ZC1254 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 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>
2019-06-28tune-zynq.inc: Build zImage in addition to uImageVineeth Chowdary Karumanchi
Build zImage in addition to uImage, this is useful for jtag booting purpose Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28linux-xlnx.inc: Add support to build kernel for versal devicesManjukumar Matha
Add support to build kernel for versal devices Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28arm-trusted-firmware.inc: Add support to build ATF for versal devicesManjukumar Matha
Add support to build ATF for versal devices Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28qemu-system-aarch64-multiarch: Enable plm argument in runqemuManjukumar Matha
Adding plm args to enable plm in runqemu for Versal devices The PLM (Platform Loader/Manager) is responsible for: • System Initialization • Boot and Configuration of various devices in system • Secure boot • Platform Management • Error Management • Partial Reconfiguration • Subsystem restart • Health monitoring With the addition of plm args in the machine configurations (and appending -multiarch to QB_SYSTEM_NAME), runqemu will support multiarch emulation and will spin up one instance for the APU and one instance for the PLM. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28kernel-module-mali: Fix errors associated with kernel upgrade to 4.19Madhurkiran Harikrishnan
These patches fixes errors caused by removal of ancient init_timer API. Also, addresses the removal of hot/cold cache pages in the kernel. Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28zcu111-zynqmp.conf: Add support for ZCU111 evaluation boardManjukumar Matha
The Zynq® UltraScale+™ RFSoC ZCU111 Evaluation Kit enables designers to jumpstart RF-Class analog designs for wireless, cable access, early-warning(EW)/radar and other high-performance RF applications. This kit features a Zynq Ultrascale+ RFSoC supporting 8x 4GSPS 12-bit ADCs, 8x 6.5GSPS 14-bit DAC, and 8 soft-decision forward error correction (SD-FECs). Complete with ARM Cortex A53 and ARM Cortex-R5 subsystems, UltraScale+ programmable logic, and the highest signal processing bandwith in a Zynq UltraScale+ device, this kit provides a rapid, comprehensive RF Analog-to-Digital signal chain protoyping platform. This patch adds machine configuration file for ZCU111 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 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. Tested-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-06-28libmali-xlnx_git.bb: Fix the package arch for libmaliManjukumar Matha
Package arch for libmali cannot be soc_variant specific since it will cause the same library to be packaged differently between 'eg' and 'ev' devices. This has to be soc_family specfic package which applies to 'zynqmp' family. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-03-04tune-zynqmp.inc: Use arch-armv8a tune instead of arch-armv8Manjukumar Matha
Use the updated arch-armv8a tune instead of the old tune file Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-03-04pmu-firmware: Fix pmu-firmware build to include backend code for ZynqMP FPGA ↵Andreas Galauner
configuration Move the appropriate backend code for the ZynqMP FPGA configuration from the interface subdirectory of the xilfpga library into the src directory so that the files are picked up by the Makefile. Otherwise the FPGA configuration code is non-functional. Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Andreas Galauner <andreas@galauner.de> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-03-04machine-xilinx-board.inc: Remove include fileManjukumar Matha
As per the commit f24275598687bcec0252186cb1d9c54b426fef9f, this include file is no longer required. Remove it from the layer Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-29README.building.md: Update regarding pmu-firmware patch for SPL flowManjukumar Matha
Update README to include the required pmu-firmware patch for SPL flow Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01README: Add information related to multiconfigManjukumar Matha
Add information related to multiconfig Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2019-01-01kc705-bitstream_2018.3.bb: Add 2018.3 bitstream for kc705Manjukumar Matha
Add 2018.3 bitstream for kc705 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>