summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* u-boot-xlnx: Add u-boot-tools-xlnxMark Hatle2023-04-1014-55/+123
| | | | | | | | | Update the PREFERRED VERSION to select the new u-boot version, add preferred provider for u-boot-tools to be u-boot-tools-xlnx. Split the microblaze configs to support older and newer versions as well. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Make it clear it uses 2GB of memoryMark Hatle2023-04-101-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Add a comment explaining network configMark Hatle2023-04-101-0/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Fix network device configurationMark Hatle2023-04-101-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Fix nativesdk-qemu disablingMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager_custom: Add support for dtsi and prebuilt dtboSandeep Gundlupet Raju2023-04-101-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>
* machines: Remove LOADADDR from kernel argsMark Hatle2023-04-103-6/+0
| | | | | | | The arguments will be added by gen-machine-conf, if the user requires them. The default configurations do not use these. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-deprecated: Remove support for BOARD and BOARD VARIANTMark Hatle2023-04-107-116/+1
| | | | | | | | | | | We still warn the user. This will likely be moved to fatal in the near future, but this would impact some automated test cases so preserve it as a warning for now. Also remove all of the support infrastructure for the BOARD/BOARD_VARIANT values. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-gl: Use of mesa-gl assumes you have libmali-xlnxMark Hatle2023-04-101-2/+12
| | | | | | | | | | If a program wants OpenGL, but not GLE you still need files from libmali in order to compile. Add necessary links to header files in the -dev package. Since we now depend on libmali-xlnx, we also now have a machine specific package. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware.inc: Use softer assignmentRaju Kumar Pothuraju2023-04-101-6/+8
| | | | | | | | | | | Use softer assignemnt for ATF_CONSOLE zynqmp to override from .conf file. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Adjusted to use an intermediate default, so no override is required. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dynamic-layers: Move YAML_DT_BOARD_FLAGS to machine conf filesSandeep Gundlupet Raju2023-04-101-13/+0
| | | | | | | | Move YAML_DT_BOARD_FLAGS from device-tree.bbappend to respective generic machine conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-17/+21
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing kc705 xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Use UIMAGE_LOADADDR in KERNEL_EXTRA_ARGS instead of LOADADDR. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-net-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-2/+13
| | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing versal-net static xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-11/+41
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing vck190 xsa. 2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynq-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-18/+50
| | | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing zc702 xsa. 2. Add UIMAGE_LOADADDR to KERNEL_EXTRA_ARGS. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 4. Add uImage to IMAGE_BOOT_FILES. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-44/+85
| | | | | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing zcu102 xsa. 2. Use TFA_BL33_LOAD for TF-A preloadded bl33 base address. 3. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 4. Remove uEnv.txt from IMAGE_BOOT_FILES. 5. Disable U-boot SPL boot by default. User has to set explicitly to use it. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware: Add BL33 preloadded base addressSandeep Gundlupet Raju2023-04-101-0/+3
| | | | | | | | | Add BL33 preloadded base address to EXTRA_OEMAKE for ZynqMP and Versal. In machine or local configuration file user can set TFA_BL33_LOAD value. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston-init: Don't replace weston.iniChristian Kohn2023-04-102-10/+2
| | | | | | | | | | | | | Instead of replacing the template weston.ini from the original recipe, augment it as needed: 1. There is a PACKAGECONFIG option to set idle-time=0. Use it. 2. For zynqmp device enablement, set gbm-format=rgb565. This keeps the template weston.ini intact so the user can easily uncomment the desired options while running on the target. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Refactor to enable qemu ver 7.1Mark Hatle2023-04-1013-62/+46
| | | | | | Refactor QEMU integration as the versions now match the Langdale core version. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-tune-include.inc: Make crypto tune availableChristian Kohn2023-04-101-0/+1
| | | | | | | | Make cortexa72-cortexa53-crypto tune available so it can be easily turned on by the user. Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* standalone gcc-runtime_%.bbappend: Add workaround for getentropy and relatedMark Hatle2023-04-101-0/+2
| | | | | | | | | | | | | | getentropy and the related arc4random function are defined in unistd.h, they appear to be defined in some iterations of libgloss. However the defintion is not enough in the general case, which causes C++ linkage to fail with: libstdc++.a(random.o): in function `std::(anonymous namespace)::__libc_getentropy(void*)': (.text._ZNSt12_GLOBAL__N_117__libc_getentropyEPv+0x14): *undefined reference to `getentropy'* This change doesn't remove getentropy or arc4random, but does instruct libstdc++ to not use either function. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Remove unused autologin variableJohn Toomey2023-04-101-1/+0
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Refactor lima enablementMark Hatle2023-04-101-5/+6
| | | | | | Set when DISTRO_FEATURES ! 'libmali' and MACHINE_FEATURES = 'mali400' Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* various: Refactor mali400 related bbappendsMark Hatle2023-04-1010-31/+60
| | | | | | Combination of MACHINE_FEATURES = 'mali400' and DISTRO_FEATURES = 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Enable lima when not using libmalMark Hatle2023-04-101-3/+3
| | | | | | Enabled when MACHINE_FEATURES 'mali400' and DISTRO_FEATURES ! 'libmali'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-vcu: Move to using a kernel feature for VCUMark Hatle2023-04-101-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa-demos: Move mesa-demos from meta-petalinuxMark Hatle2023-04-105-5/+165
| | | | | | | Move mesa-demos work from meta-petalinux, fix libmali integration and remove the testapps workaround. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine: Refactor mali400 supportMark Hatle2023-04-102-12/+22
| | | | | | | | | | | | | | | Define a new MACHINE_FEATURE called mali400 that is used to determine if the hardware has a mali400. Define a new DISTRO_FEATURE called libmali, as well as one called lima to indicated which configuration to build. Both the MACHINE_FEATURE and DISTRO_FEATURE must be enabled to activate the new code. This means any recipe that gets libmali-xlnx is expected to be: PACKAGE_ARCH = "${MACHINE_ARCH}" Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* glmark2: Move mali related items from meta-petalinuxMark Hatle2023-04-103-0/+585
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-zynqmp: Move from vcu override to MACHINE_FEATURESMark Hatle2023-04-101-5/+6
| | | | | | | | | | The override was not being used anywhere, this was just acting as a potential tigger for recipes. Instead, we define the MACHINE_FEATURES vcu and will use that to determine if VCU functionality is enabled. By default the zynqmp-ev has VCU feature present. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* vcu: Move vcu recipes to trigger off MACHINE_FEATURES vcuMark Hatle2023-04-107-17/+24
| | | | | | Side effect of this change, all vcu recipes are now package arch of machine. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemuboot-xilinx: Return empty if soc_family not definedMark Hatle2023-04-101-0/+2
| | | | | | Fix an issue when soc_family is not defined that an exception was thrown. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* fpgamanager-custom: Remove zynqmp and zynq COMPATIBLE_MACHINE overridesChristian Kohn2023-04-101-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>
* *-tc.conf: Update machines to define qemu-xilinx as preferredMark Hatle2023-04-104-0/+4
| | | | | | | Each Xilinx machine.conf should include the qemu file to ensure the correct PREFERRED_PROVIDERS_qemu (and related) are defined properly. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mali400: Added patch for compatibility with 6.1 kernelYash Ladani2023-04-102-0/+68
| | | | | | | | | Added 0025-Import-DMA_BUF-module-and-update-register_shrinker-f.patch which has register_shrinker API changes and DMA_BUF Import to make mali400 compilation compatible with 6.1 kernel. Signed-off-by: Yash Ladani <yash.ladani@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Sync embeddedsw and git versionMark Hatle2023-04-104-109/+10
| | | | | | Update the integration to match latest changes. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone: Remove obsolete machine referencesMark Hatle2023-04-101-29/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xrt_git:zocl_git:update commitidrbramand2023-04-101-1/+1
| | | | | Signed-off-by: rbramand <rbramand@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-scr: Load openamp.dtbo if presentMark Hatle2023-04-105-1/+41
| | | | | | | Loading the devicetree/openamp.dtbo if present and merge into the loaded system dtb. (Note, not all boot modes support this behavior.) Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-uenv: Dynamically load openamp.dtbo if presentMark Hatle2023-04-101-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* open-amp-device-tree: Add a DTBO generating recipe for OpenAMPMark Hatle2023-04-104-0/+90
| | | | | | The recipe will generate a DTBO for OpenAMP Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree.bbappend: Add bbappend for openamp usageMark Hatle2023-04-104-0/+314
| | | | | | | | | If meta-openamp is available, ENABLE_OPENAMP_DTSI is set to 1, automatically add the openamp nodes to the system-top.dts. This may not work in all configurations, but should work in most. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* conf/layer.conf: Add dynamic-layers for openamp related itemsMark Hatle2023-04-101-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-default-sd.wks: Enable a new rootfs based sd/mmc imageMark Hatle2023-04-075-5/+12
| | | | | | Switch the machine files to use the new 'xilinx-default-sd.wks' file. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot-xlnx-scr: Add package generationMark Hatle2023-04-071-2/+11
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: Enable both bootimg and rootfs image /bootMark Hatle2023-04-071-6/+30
| | | | | | | | | | | | | | IMAGE_BOOT_FILES and WKS_FILE_DEPENDS are used in the bootimg technique. THis ensures that an bootimg will continue to work in the future. The MACHINE_ESSENTIAL_EXTRA_RDEPENDS is also filled out based on the same IMAGE_BOOT_FILES. This ensures that the packages used to generate the filesystem's /boot partition is matching and full. The end result of both approaches is slightly different, but the rootfs method must be used for on-target package upgrade to work properly. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* initramdisk-xilinx: Add a recipe to package the INITRAMFS_IMAGEMark Hatle2023-04-071-0/+37
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* arm-trusted-firmware: Sync packaged and deploy filesMark Hatle2023-04-071-2/+13
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: Update the IMAGE_BOOT_FILES devicetree/*.dtbMark Hatle2023-04-071-1/+1
| | | | | | | | | | Previously the system was copying the boot files directly to the /boot partition. This does not match the package behavior, where dtbs exist in /boot/devicetree. Adjust the configuration to keep them in the subdirectory. This also adjust uEnv.txt and or other users of the image-wic-utils functions. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Ensure the system.dtb is written to the /boot directoryMark Hatle2023-04-071-1/+8
| | | | | | | | The system.dtb should be a symlink to the system-top.dtb in the devicetree subdirectory. This matches the expected behavior for u-boot-zynq-scr and possibly other users. Signed-off-by: Mark Hatle <mark.hatle@amd.com>