summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes-recipe/qemuboot-xilinx.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* qemuboot-xilinx: Add QB_SD_DRIVE_INDEX variableSandeep Gundlupet Raju2024-08-021-6/+17
| | | | | | | | | | | | | | | | | | | | | | SD drive index value was fixed in bbclass for SD0 and SD1 device. With this if user is booting QEMU with eMMC0(secondary boot mode) or eMMC1 device then QEMU doesn't boot. Hence add QB_SD_DRIVE_INDEX variable where user can set the drive index to SD/eMMC device as shown below. SoC Device Drive Index ------------------------------------------------------------------- Zynq-7000, ZynqMP, Versal SD0 0 ZynqMP, Versal SD1 1 ZynqMP, Versal eMMC0(secondary boot only) 2 ZynqMP, Versal eMMC1 3 Also do not set drive index based on boot mode some boards may have primary boot mode as QSPI/OSPI which use QSPI/OSPI bin file for mtd and secondary boot mode as SD/eMMC. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemuboot-xilinx.bbclass: Rename QB_DEVICE_MODE to QB_BOOT_MODESandeep Gundlupet Raju2024-06-051-2/+2
| | | | | | | | Rename QB_DEVICE_MODE to QB_BOOT_MODE to align with TRM boot mode table. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@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-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* qemuboot-xilinx: Add QB_DEVICE_MODE optionJohn Toomey2024-05-221-2/+7
| | | | | | | | | | | Add QB_DEVICE_MODE variable to allow setting of QEMU boot mode - the default value is unchanged but can be modified per machine Signed-off-by: John Toomey <john.toomey@amd.com> Add zynqmp boot-mode reference Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* classes: Move classes to match bbclass scope functionalitySandeep Gundlupet Raju2023-12-081-0/+140
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>