summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-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-072-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>
* 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>
* image-wic-utils.bbclass: Support subdirectory parsingMark Hatle2023-04-071-1/+4
| | | | | | | | | | | | | | | | Syntax for IMAGE_BOOT_FILES is <source>;<dest> where either or both source can include a directory. In the case of: devicetree/*.dtbo;devicetree/ The system will copy all of the contents (*.dtbo) from devicetree directory and place it into a corresponding devicetree directory (using the same filename) in the boot partition. The code wasn't paying attention to this directory syntax, which caused boot configuration errors. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xrt: Depend on libmetal so we can use PREFERRED_PROVIDERMark Hatle2023-04-071-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Enable ptests, based on YP configMark Hatle2023-04-071-2/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu/qemu-native/qemu-system-native: Allow preferred provider to select XilinxMark Hatle2023-04-0712-4/+55
| | | | | | | | Implement Xilinux versions to work with the PREFERRED_PROVIDER syntax. This will prevent the non-preferred version of being used with the anonymous python in the 'alt.inc' files. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx-helper-native: Remove, replace with standard upstream versionMark Hatle2023-04-075-24/+2
| | | | | | | | | qemu-system-helper contains support for general system items, there is no reason for us to provide our own version. We can then add a dependency for the specific xilinx multiarch component as needed to the system-native versions. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx-system-native: Add qmp python support to match oe-coreMark Hatle2023-04-072-2/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xrt/zocl: Update PV, SRCREVrbramand2023-04-071-3/+3
| | | | | Signed-off-by: rbramand <rbramand@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Fix mesa-native when mali400 is enabledMark Hatle2022-11-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-zynqmp.inc: Reorder the mali400 and vcu machineoverridesMark Hatle2022-11-101-2/+2
| | | | | | | | We need the mali400 and vcu overrides to override the SOC and SOC_FAMILY overrides. So adjust the order so they are higher priority, just under the machine name itself. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Add CONFIG_DRM_XLNX direct rendering supportMark Hatle2022-11-103-0/+32
| | | | | | Also update the kernel to enable this support as part of the lima work. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mesa: Enable lima support on zynqmp-eg and zynqmp-evMark Hatle2022-11-101-0/+8
| | | | | | | Also completely disable if mali400 is enabled, the mesa-gl should be used instead. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Add local kmeta with drm-lima supportMark Hatle2022-11-103-0/+11
| | | | | | | drm-lima will be enabled if mali400 is NOT enabled, via MACHINE_FEATURES on the zynqmp-eg and zynqmp-ev. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* mali400: mali400 is now a MACHINE_FEATURE, set package arch to MACHINE_ARCHMark Hatle2022-11-1012-19/+20
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libmali-xlnx: Use REQUIRED_MACHINE_FEATURES for better error messagesMark Hatle2022-11-101-3/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Use REQUIRED_MACHINE_FEATURES for better error messagesMark Hatle2022-11-101-3/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-zynqmp: Enable mali400 support using MACHINE_FEATURESMark Hatle2022-11-101-2/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libmali-xlnx: Move to enable via mali400 overrideMark Hatle2022-11-101-2/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Enable based on :mali400 overrideMark Hatle2022-11-101-2/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Switch to using community device-tree namesMark Hatle2022-11-102-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | The community LIMA driver uses a series of names that are different then the legacy Xilinx names. Moves from the legacy names to the more standard names. This will allow us to have a single device tree that works with both the mali driver, as well as the lima driver. Interrupt-names: IRQGP -> gp IRQGPMMU -> gpmmu IRQPP0 -> pp0 IRQPPMMU0 -> ppmmu0 IRQPP1 -> pp1 IRQPPMMU1 -> ppmmu1 ... Clock-names: gpu_pp0 -> core gpu_pp1 -> bus Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* soc-zynqmp.inc: Break the vcu and mali400 overrides into two partsMark Hatle2022-11-101-2/+8
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx-udev-rules: Add udev rules for mali deviceSandeep Gundlupet Raju2022-11-102-0/+3
| | | | | | | | | Add udev rules for mali device and change permissions of device node from 0600 to 0660 so that users can access mali device(/dev/mali) without using sudo from linux userspace. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* packagegroup-core-tools-testapps: Disable mesa-demos when libmali-xlnx is usedMark Hatle2022-11-101-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston: Fix build with libmali/mali400Mark Hatle2022-11-102-0/+78
| | | | | | | | libmali provides GLESv1 and v2, but not v3 which Weston is using. Implement workarounds for v3 usage Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* weston: Disable dmabuf-feedback, not supported due to mali-xlnx incompatibilityMark Hatle2022-11-101-0/+3
| | | | | | | Dependency gbm found: NO found 17.3 but need: '>= 21.1.1' (cached) Message: dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: No support for jack disable PACKAGECONFIGMark Hatle2022-11-101-0/+1
| | | | | | | The 'jack' PACKAGECONFIG is inherited from oe-core, disable this, as it is not supported. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp-generic: Move default soc variant to cg to match zynqmp-genericMark Hatle2022-11-102-5/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* conf/machine: Add all of the zynqmp and versal variantsMark Hatle2022-11-1010-2/+110
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* layer.conf: Add SOC_VARIANT to the build configurationMark Hatle2022-11-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal-net-generic: Cleanup overridesMark Hatle2022-11-101-6/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* conf/machine: Better document inheritence expectationsMark Hatle2022-11-104-9/+121
| | | | | | | | | | | | | | | | See the README files for specific requirements, but we have designed the machine configurations into an inheritance model. This module can be further broken into 3 distinct categories of variables: 1 - Variables that MUST be declared BEFORE inheriting the base machine 2 - Variables that SHOULD be declared BEFORE inheriting the base machine, as they are commonly overridden. (This will need continual review.) 3 - All remaining variables that should only be declared in the machine .conf file, and MUST be declared AFTER inheriting the base machine. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* linux-xlnx: Add the LINUX_VERSION_EXTENSION to the PVMark Hatle2022-11-101-1/+1
| | | | | | | This makes it clear a particular kernel version is related to a particular Xilinx release. For example, 5.15.36 becomes 5.15.36-xilinx-v2022.2. Signed-off-by: Mark Hatle <mark.hatle@amd.com>