summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes/fpgamanager_custom.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* classes: Deprecate fpgamanager_custom bbclassSandeep Gundlupet Raju2023-11-221-24/+0
| | | | | | | | | Deprecate fpgamanager_custom.bbclass and this bbclass functionality is available in new dfx_user_dts.bbclass and going forward user should be using dfx_user_dts.bbclass. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Add deprecation warningsSandeep Gundlupet Raju2023-07-071-175/+22
| | | | | | | | | | | | | fpgamanager_custom bbclass will be deprecated in upcoming release. Users should start using dfx_user_dts bbclass for below firmware app. 1. Zynq-7000 iand ZynqMP full bitstream firmware app. 2. ZynqMP or Versal DFx Static firmware app. 3. ZynqMP or Versal DFx Partial firmware app. 4. Versal CSoC DFx Partial firmware app. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Rename bootgen generated bit bin fileSandeep Gundlupet Raju2023-03-171-3/+15
| | | | | | | | | | | | | | In case of Zynq-7000, using both "-process_bitstream bin" and "-o" in bootgen flag to convert bit file to bin format, "-o" option will not be effective and generated output file name is ${S}+${BIT_PATH}/<bit_file_name>.bit.bin file which causes build errors. Hence we need to rename this file from <bit_file_name>.bit.bin to ${PN}.bit.bin which matches the firmware name in dtbo and move ${PN}.bit.bin to ${B} directory. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Fix logic for deploying shell json fileSandeep Gundlupet Raju2023-03-151-4/+8
| | | | | | | | | | | | | | | fpgamanager_custom bbclass allowed only accel.json file as user input from firmware recipes, if user want to use flat or DFx static design using shell.json, then shell.json is not deployed in rootfs/${nonarch_base_libdir}/firmware/xilinx/${PN} directory. Fix the logic to deploy shell.json (flat or DFx Static) or accel.json (DFx RP) for flat, DFx Static and DFx RP use cases. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit 6d3f12d1feee8b90f3dc72a05266fb3614788ced) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Generate .bit.bin when .dtsi found in source directoryRaju Kumar Pothuraju2023-01-171-1/+1
| | | | | | | | | Validating SRC_URI for .dtsi failing when it points to git url. Check .dtsi file exists or not in S directory and generate .bin.bin if found. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Add support for dtsi and prebuilt dtboSandeep Gundlupet Raju2023-01-111-30/+105
| | | | | | | | | | | | | | | | | 1. Add support for prebuilt dtbo input from firmware recipe. 2. Add support for dtsi which is generated outside of dtg as input from from firmware recipe. 3. Add support for versal. bbclass can support three flows, flow is decided by user inputs in SRC_URI XSA + pl-partial-custom.dtsi -> dtg + dtc dtsi + bit/bin/pdi -> dtc (no xsct involved) dtbo + bit/bin/pdi -> none (no xsct involved) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager-custom: Remove zynqmp and zynq COMPATIBLE_MACHINE overridesChristian Kohn2022-12-151-2/+6
| | | | | | | | | | | Assignemnts like COMPATIBLE_MACHINE:zynqmp = ".*" won't allow recipes that inherit from this bbclass to restrict the COMPATIBLE_MACHINE via machine overrides. Therefore remove the COMPATIBLE_MACHINE assignments here and force downstream recipes set the desired value. Don't allow microblaze to use this bbclass. Also set PACKAGE_ARCH in this bbclass. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* 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>
* 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>
* Initial restructure/split of meta-xilinx-bspMark Hatle2021-12-221-0/+85
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>