summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* u-boot-xlnx: Split output packages between .bin and .elfMark Hatle2023-04-071-0/+12
| | | | | | | | During runtime we will rarely need BOTH .bin and .elf files, however we may need them both during build. Follow the kernel example and split the variations into subpackages, while the main package will install both. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-standalone-experimetnal: esw.bbclass: Define default PV as ↵Mark Hatle2023-04-071-0/+2
| | | | | | | | | | release version Most users will be '_git' or '_experimental'. So default the PV to the ESW version. If a recipe wants a specific version, it should set the PV after the inherit of esw. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* lwip_git: Fix incorrect override syntaxMark Hatle2023-04-071-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-vendor: Rename u-boot scripts and uenv packagesSandeep Gundlupet Raju2023-04-074-14/+4
| | | | | | | | | | | In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these in all the configuration files. Also move common EXTRA_IMAGEDEPENDS to zynq-generic.conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Rename u-boot scripts packagesSandeep Gundlupet Raju2023-04-071-2/+2
| | | | | | | | | In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these in all the files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zc706-zynq7.conf: Rename u-boot scripts and uenv packagesSandeep Gundlupet Raju2023-04-071-4/+1
| | | | | | | | | | | In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these in all the configuration files. Also move common EXTRA_IMAGEDEPENDS to zynq-generic.conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* meta-xilinx-core: Rename u-boot scripts and uenv packagesSandeep Gundlupet Raju2023-04-075-16/+24
| | | | | | | | | In meta-xilinx-core u-boot-zynq-scr and u-boot-zynq-uenv recipes are renamed to u-boot-xlnx-scr and u-boot-xlnx-uenv. Hence change these in all the configuraiton and inclusion files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot: Rename u-boot scripts and uenv recipes and directoriesSandeep Gundlupet Raju2023-04-0710-0/+0
| | | | | | | | | | | Rename u-boot script and uenv recipes. These recipes are used by all the generic machines not just specific to zynq. u-boot-zynq-scr -> u-boot-xlnx-scr u-boot-zynq-uenv -> u-boot-xlnx-uenv Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Fix file permissionsJohn Toomey2023-04-0716-0/+0
| | | | | Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* freeipmi: Add new recipeChristian Kohn2023-04-073-0/+455
| | | | | | | | | | | | | | The freeipmi project provides a utility named ipmi-fru which allows reading and interpreting FRU data based that can be read from a binary file or EEPROM. The patches add additional functionality to interpret the Xilinx OEM records and format them properly when printing the output. They're cherry-picked from upstream: http://git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-0-stable&id=181e279da345315efa06f593edaf0f04af614da5 http://git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-0-stable&id=c578c999b7d9aabbd6e54b0310a609b8f96ae962 Signed-off-by: Christian Kohn <chris.kohn@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Drop meta-browser supportMark Hatle2023-04-072-5/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx-dev: Move kria definition to meta-kriaMark Hatle2023-04-071-3/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Move kria definition to meta-kriaMark Hatle2023-04-071-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot: Add u-boot configs for kc705 boardSandeep Gundlupet Raju2023-04-072-0/+44
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Add kernel metadata for evaluation boardSandeep Gundlupet Raju2023-04-075-2/+59
| | | | | | | | | 1. Add kernel metadata for ac701 and vcu118 evaluation board. 2. Add kernel fragments and series configuration compiler(.scc) files for ac701 and vcu118 boards. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* u-boot: Add microbalze generic u-boot configsSandeep Gundlupet Raju2023-04-074-0/+103
| | | | | | | | | | | 1. Add microbalze-generic u-boot fragment cfg which is commonly used by all the microblaze families. 2. Add microblaze-generic-top.h include configs to enable commands and other options. 3. Add u-boot-xlnx-microblaze inclusion file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze_generic: Add microblaze common kernel configsSandeep Gundlupet Raju2023-04-071-14/+47
| | | | | | | | Add microblaze common kernel configs which is commonly used by all the microblaze families. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree.bbappend: Remove microblaze-generic YAML configsSandeep Gundlupet Raju2023-04-071-5/+0
| | | | | | | | Remove microblaze-generic YAML configs and move these configs to microblaze-generic.conf file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblaze-generic: Update generic machine configurationSandeep Gundlupet Raju2023-04-071-12/+47
| | | | | | | | | 1. Move YAML configs to microblaze-generic file with weak assignments. 2. Add bitstream, bootloader and u-boot-zynq-scr to EXTRA_IMAGEDEPENDS. 3. Use QB_KERNEL_CMDLINE_APPEND to pass bootargs to QEMU. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Rename Kria MACHINEOVERRIDEJohn Toomey2023-04-073-4/+4
| | | | | | | :k26 has been replaced with :kria and :k26-sm{,k} Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>