summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/classes
Commit message (Collapse)AuthorAgeFilesLines
* image-types-xilinx-qemu.bbclass: Add sector size as 512KManjukumar Matha2019-12-131-3/+3
| | | | | | | Add sector size as 512K for larger SD, this is according to specifications Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kernel-simpleimage.bbclass: Fix do_prep_simpleimage `[[: not found`Michael Monaghan2019-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* kernel-simpleimage.bbclass: Deploy simpleImage stripManjukumar Matha2019-06-281-0/+2
| | | | | | | Deploy simpleImage strip file generated during kernel build of simpleImage elf. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kernel-simpleimage.bbclass: Deploy simpleImage unstrip fileManjukumar Matha2019-06-281-0/+10
| | | | | | | 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>
* kernel-simpleimage.bbclass: Use dts for simpleImage generation for MicroblazeManjukumar Matha2019-06-281-1/+2
| | | | | | | | 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>
* xilinx-testimage.bbclass: Include IMAGE_AUTOLOGIN and IMAGE_FSTYPES values ↵Sai Hari Chandana Kalluri2019-06-281-0/+2
| | | | | | | | | | | | | | | | | 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>
* linux-xlnx.inc: Add support for simpleImageManjukumar Matha2019-01-011-0/+22
| | | | | | Add a new class to enable build simpleImage. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* xilinx-testimage.bbclass: Create xilinx testimage bbclassSai Hari Chandana Kalluri2019-01-011-0/+9
| | | | | | | | | | | | The testimage class from core does not support wic.qemu-sd as fstype hence incorrect arguments are passed when launching qemu instances with *.wic.qemu-sd as rootfs. This patch creates a custom testimage bbclass specific to xilinx to support wic.qemu-sd fstypes and ensure right arguments are passed. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@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-0/+51
| | | | | | | | | | | | | 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>
* zynqmp-pmu: Remove class that uses a multilib hack to build standalone ↵Alejandro Enedino Hernandez Samaniego2019-01-011-122/+0
| | | | | | | | | | | | 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>
* meta-xilinx: Restructuring meta-xilinx to support multiple layersManjukumar Matha2017-12-135-0/+208
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>