summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-bsp/bootbin
Commit message (Collapse)AuthorAgeFilesLines
* meta-xilinx-core: xilinx-bootbin: Instead of always calling UNPACKDIR use SMark Hatle2024-11-241-2/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Fix variable usageMark Hatle2024-11-211-2/+2
| | | | | | | | | | Remove most direct references to WORKDIR. S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR ${WORKDIR}/package is also incorrect, adjust to ${PKGD}. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* trusted-firmware-a: Replace arm-trusted-firmware with trusted-firmware-aMark Hatle2024-09-161-1/+2
| | | | | | | | | | meta-arm integration adds trusted-firmware-a, use this integration instead. We do need to add some compatibility instructions to avoid unexpected behavioral changes. Over time these compatibility additions will likely be removed. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Add BOOTBIN_INCLUDE default valueJohn Toomey2024-09-041-0/+2
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Move BIF_BITSTREAM_ATTR from meta-xilinx-tools layerSandeep Gundlupet Raju2024-09-041-0/+2
| | | | | | | | | | Using MACHINE_FEATURES += "fpga-overlay" for dynamic configuration use cases is not specific to xsct build, this is also required for SDT builds. Hence move BIF_BITSTREAM_ATTR variable from meta-xilinx-tools to meta-xilinx layer. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Move versal qspi or ospi implementationSandeep Gundlupet Raju2024-08-021-1/+24
| | | | | | | | Move versal qspi or ospi implementation from meta-xilinx-tools to meta-xilinx as this is required for both SDT and XSCT build flows. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Remove hardcoded qspi image nameSandeep Gundlupet Raju2024-08-021-1/+3
| | | | | | | | | Remove hardcoded qspi image name for QEMU flash bin and use QEMU_FLASH_TYPE variable to set image name as qspi or ospi bin file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Tweaks to enable version string format changeJohn Toomey2024-06-172-6/+14
| | | | | | | | | | | Minor updates to the amd_spi_image bbclass and bootbin version files to support updated version strin format for Kria, SC and emb-plus Also fix an issue with IMAGE_NAME_SUFFIX being set to ".rootfs" by default Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Remove SOC_VARIANT, split versal and versal-net, add machine_featuresMark Hatle2024-06-042-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | SOC_VARIANT has been remove, we are now only using the YP standard SOC_FAMILY configuration. The defined families are: zynq, zynqmp, versal and versal-net. Our decision of breaking up versal-net from versal, is based on the SoC CPU changes from cortexa72/r5 to cortexa78/r52, thus we're treating it as a different SoC family. In order to capture the individual capabilities that we used to handle via SOC_VARIANT, we have defined the following features (some may have been previously defined): - mali400 (zynqmp eg and ev) - vcu (zynqmp ev) - rfsoc (zynqmp dr RF capabiltiies) - aie - (versal ai & premium) - vdu - (versal ai) SOC_VARIANT_ARCH and SOC_FAMILY_ARCH are now obsolete and replaced by MACHINE_ARCH. This is based on the guideline that any recipes that use MACHINE_FEATURES should be MACHINE_ARCH specific. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* bootbin-version-string: Add text version fileJohn Toomey2024-04-031-0/+32
| | | | | | | | | | | Add a version header file in plain text format required for Versal machines using the optional data field in the BIF file for version information Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit c6ae24ee38a69e4bcd463337aed43276d70845df) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Add optional data section to BIFJohn Toomey2024-04-032-0/+7
| | | | | | | | | | Add optional data section to BIF file generation code to be used with version or other information Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit cdeb46c57358e579be9f1c1be95a544fd0e713e4) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* bootbin-version-header: Move recipe from meta-kriaJohn Toomey2024-01-311-0/+54
| | | | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> (cherry picked from commit fe1fee9a45076aab2e39e38b5705d1ad0aa06de5) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Refactor create_bif functionsJohn Toomey2023-06-011-4/+17
| | | | | | | | | | | | Remove the biffunc dict which was used to map arch to a specific bif creation function and replace with simple if/elif/else logic. The default bif file functions are defined for zynq/zynqmp and versal as well as and empty default function which could be redefined in a bbappend with new logic or mapped back to one of the existing functions. Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Enable versalnet arch command optionSandeep Gundlupet Raju2023-02-061-1/+15
| | | | | | | | | 1. Enable versalnet -arch command option for versal-net devices. 2. Add COMPATIBLE_MACHINE for SOC and don't allow building for Microblaze. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: machine-xilinx-zynq, remove obsolete BIG_PARTITION_DEPENDSMark Hatle2022-10-251-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Update Zynq and ZynqMP bitstream to use RECIPE_SYSROOTMark Hatle2022-10-252-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: If a file is missing, avoid a backtraceMark Hatle2022-10-251-0/+2
| | | | | | | Provide a better user experience with a reasonable error message instead of a python backtrace! Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-bootbin: Sync versal and ensure items can be defined in local.confMark Hatle2022-02-043-13/+17
| | | | | | | | | | Use ??= to define the default values. This ensures a ?= (or =) can be used in a .bbappend, or a user can define a default value in the local.conf or machine.conf file. Also add a default config for versal that matches zynqmp and zynq. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-zynq: Fix BIT_PARITION_ATTR pathSandeep Gundlupet Raju2022-02-041-4/+12
| | | | | | | | Fix BIF_PARTITION_ATTR paths for fsbl and u-boot components. Also add missing BIF_PARTITION_ATTR for device-tree. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-bootbin: Ensure do_configure pays attention to all of the valuesMark Hatle2022-02-041-0/+1
| | | | | | | | | do_configure processes the BIF_PARTITION_ATTR based on python getVar. This prevents the system from automatically discovering the variables needed for hash calculations to determine if something has changed. Manually add in the list of standard variables processed to ensure the hash updates. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* bootbin: Adjust BIF_PARTITION_ATTRMark Hatle2022-01-241-1/+19
| | | | | | | | | | | The order is critical for the system to boot properly. Add a comment explaing the requirements, making the various parts parameterized to allow the optional parameters to be adjusted. The bitstream element will typically be added by a bbappend in a layer such as meta-xilinx-tools. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-141-3/+1
| | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-mcs: Remove obsolete board specific configMark Hatle2022-01-141-1/+0
| | | | | | The board config matches the default config, it's not needed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-145-0/+326
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>