summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes
Commit message (Collapse)AuthorAgeFilesLines
* fpgamanager_custom: Remove LICENSE and LIC_FILES_CHKSUMChristian Kohn2022-08-021-3/+0
| | | | | | | | | | Don't set the LICENSE and LIC_FILES_CHKSUM variables as otherwise the values set at the recipe or inc file level don't get honored, depending on where the inherit line is placed in the file. The user shall explicitely set the LICENSE at the inc file or recipe level. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemuboot-xilinx.bbclass: Defaults should be ?= as classes load after confMark Hatle2022-07-281-5/+5
| | | | | | | | | | | The conf file(s) should specify board specific defaults, but if left not set should fall back to what is implemented here. Since the load order is: machine.conf -> *-generic.conf -> xilinx-machine-qemu.conf ---| |--> inherits -> qemuboot-xilinx.bbclass Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx cleanupJohn Toomey2022-07-281-1/+118
| | | | | | | | | | | | | | | | | | | | | | | | | Refactor qemuboot-xilinx.bbclass and machine-xilinx-qemu.inc. Following the example of the core version of qemu.bbclass and match inc file. Refactor some of the functions to make them more readable. Specifically around qemu_rootfs_params. Code may not be as compact, but it'll be easier to read (and update) in the future. Add mising qemu-system-native PREFERRED_PROVIDER (and recipe PROVIDE). This resolves the issue where occasionally you use runqemu and the qemu binary appears to be missing. *-generic.conf: Remove overrides that are the same as the default qemu settings. Remove :append operations on QB_OPT_APPEND, this allows easy override when someone includes a generic machine. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> (cherry picked from commit b0baa647143aab6815af13cc9e66061c9e25a07c) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemuboot-xilinx:machine-xilinx-default: Update kernel imagesRaju Kumar Pothuraju2022-06-271-0/+4
| | | | | | | | | For zynq,microblaze qemu supports direct kernel boot by specifying kernel image name to QB_DEFAULT_KERNEL. Adjusting the kernel image based on the bundle image selection. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* image-types-xilinx-qemu: Add qemu-sd-fatimg supportRaju Kumar Pothuraju2022-06-271-3/+52
| | | | | | | | | | | | | | | | | | qemu-sd: Qemu 6.X onwards SD image should be of power of 2, this patch will read the generate qemu-sd image and find out its next power of 2 and adjust the size using qemu-img resize command. qemu-sd-fatimg: Due to circular dependencies in yocto when we enable INITRAMFS_IMAGE + wic and we need SD fat image to boot versal on qemu. For this added new image conversion type qemu-sd-fatimg, it will generate the sd fatimg containing boot.bin,boot.scr,rootfs.cpio.gz.u-boot files. Usage: IMAGE_FSTYPES += "cpio.gz.u-boot.qemu-sd-fatimg" NOTE: qemu-sd-fatimg creation is a workaround fix for circular dependencies. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Split SRC_URI with spaceRaju Kumar Pothuraju2022-02-281-4/+4
| | | | | | | | | | | | | Splitting with file:// is not extracting the file name when git path is in between (Ex: file://rp.xsa git://devicetree-xlnx.git file://base.tcl) with above example the xsa path will be "rp.xsa git://devicetree-xlnx.git" which is not proper. To fix this splitting the SRC_URI with space and removes the prefix 'file://'. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-microblaze.bbclass: Fail if meta-microblaze is not includedMark Hatle2022-01-232-16/+11
| | | | | | | | | | When the user uses a microblaze tune, we need to check if meta-microblaze is part of their build. If not stop, and tell them they need to add it. meta-microblaze is not a layers dependency as it is not needed for most builds. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Deprecate BOARD and BOARD_VARIANT supportMark Hatle2021-12-221-0/+73
| | | | | | | If the BOARD and/or BOARD_VARIANT is set, continue to allow this to work, however warn the user it is deprecated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2021-12-229-0/+284
Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>