summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes/dfx_user_dts.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* classes: Move classes to match bbclass scope functionalitySandeep Gundlupet Raju2023-12-081-267/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move classes to classes-global or classes-recipe as appropriate to match bbclass scope functionality. Below is the list. classes-recipe: (inherited by recipes) amd_spi_image.bbclass dfx_user_dts.bbclass image-wic-utils.bbclass kernel-simpleimage.bbclass qemuboot-xilinx.bbclass xilinx-fetch-restricted.bbclass xilinx-platform-init.bbclass classes-global: (inherited globally) xilinx-microblaze.bbclass classes: (usage context is not clearly defined) gen-machine-conf.bbclass image-types-xilinx-qemu.bbclass xilinx-testimage.bbclass xilinx-vars.bbclass xilinx-deprecated.bbclass Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dfx_user_dts: Add support for bin and dts use caseSandeep Gundlupet Raju2023-08-171-40/+56
| | | | | | | | | | | | | | | | 1. Add support for bin and single dts use case. 2. Skip reciep when both .bit and .bin files are used in SRC_URI. 3. Fix regular expression logic to handle .dts and .dtsi file search. For example if the file name is user-dts.dtsi then dts search count was set to one which results in build failures. 4. Skip devicetree do_compile task if input file is dtbo in SRC_URI for ZynqMP and Zynq-7000. 5. Using bootgen tool "-o" option user can specify output file name. Hence fix logic for .bin install as .bin file name doesn't have to be <filename>.bit.bin always. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dfx_user_dts: Add support for single dts inputSandeep Gundlupet Raju2023-07-121-13/+87
| | | | | | | | | | | | | Add support for single dts and multiple dtsi use case. Also check for valid combination of dtsi and dts files in SRC_URI and following file combinations are not supported use case. 1. More than one '.dtsi' and zero '.dts' file. 2. More than one '.dts' and zero or more than one '.dtsi' file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dfx_user_dts: Rename fpgamanager_custom to dfx_user_dts bbclassSandeep Gundlupet Raju2023-07-071-0/+177
Currently fpgamanager bbclass name doesn't fit for all design use cases nd soc architecture. Since dfx manager tools is used for loading and unloading .bit or .pdi and dt overlay for both flat and dfx design, So it makes more appropriate to rename fpgamanager_custom.bbclass to dfx_user_dts.bbclass. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>