summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-anytree: Set branch to resolve fetch warningMark Hatle2023-04-101-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* dt-processor.sh: Minor revisions for better user errorsMark Hatle2023-04-101-1/+4
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* libxil: Move from require to includeMark Hatle2023-04-101-1/+18
| | | | | | | | | | Due to the change of the machine.conf where LIBXIL_CONFIG is set to the multiconfig, some non-baremetal configurations may not generate a config file. Using include will prevent this from being an early parse error, while the python function will disble libxil when no configuration file is present. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-standalone.inc: Further sync with upstream disro settingsMark Hatle2023-04-102-15/+4
| | | | | | | | | | | | | Many of the settings/workaround have been replaced by changes in the upstream OE-Core tclibc-newlib. Additionally adding the DISTROVERRIDES with an append was potentially changing -native recipes hashes. Move this only where needed to avoid this behavior. Also sync settings with meta-petalinux, such as the buildhistory. This is now moved to the local.conf file. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx-system-native: Move pmu-rom enablement to recipeMark Hatle2023-04-103-3/+8
| | | | | | | | | | | | Setting the pmu-rom being required by QEMU within the machine.conf will cause the recipe's hash to change, which can cause a ripple effect causing other things to rebuild. Moving this to the recipe, and switching it on based on what licenses the user allows will avoid this conflict. Additionally add a warning message to the xilinx-vars.bbclass if the user has not enabled the license. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xilinx-standalone.inc: Sync with poky distro settingsMark Hatle2023-04-101-0/+18
| | | | | | | | | | | | | | | | | Certain settings appear to have an overall affect on recipe hashes. Use petalinux (poky) distro as an example for base settings to ensure native items built in one config SHOULD also be re-usable in the bareemetal config. This has a side effect of NOT disabling static binaries in baremetal, but this seems like a reasonable default, since there really isn't a concept of dynamically loaded libraries. If necessary, the user can still override this, but will need to specifically select class-target to do so. Similarly SECURITY_CFLAGS and SECURITY_LDFLAGS are available by empty by default. The default cflags/ldflags for baremetal usage are likely different from a Linux system, so can be used in the future if requried. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* base-pid: Allow microblaze as a supported archMark Hatle2023-04-101-0/+1
| | | | | | | In a multiconfig build, microblaze may be the current architecture. Allow both versal and microblaze to avoid confusing errors. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* device-tree: Remove YAML_DT_BOARD_FLAGS from bbappendSandeep Gundlupet Raju2023-04-102-42/+0
| | | | | | | | Remove YAML_DT_BOARD_FLAGS from bbappend as it is moved to board machine conf files. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* pmu-firmware: Move compiler flags from ultra96 machine fileSandeep Gundlupet Raju2023-04-101-2/+7
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zedboard-zynq7: Remove BOARD machineoverrideSandeep Gundlupet Raju2023-04-101-3/+0
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* ultra96-zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-12/+52
| | | | | | | | | | | 1. Update machine conf file using gen-machineconf tool by parsing ultra96 reva xsa. 2. Use use soc variant based generic machine inclusion. 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>
* versal: Add new vpk120-versal machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-101-0/+48
| | | | | | | | | 1. Add new versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. 2. Use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* microblazeel: Update kc705 machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-104-105/+43
| | | | | | | | | | | | | 1. Update below microblazeel eval board machine conf file using gen-machineconf tool by parsing respective 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> 3. Remove kc705-bitstream, use standard bitstream-extraction now Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* versal: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-103-16/+133
| | | | | | | | | | | | | | 1. Update below versal eval board machine conf file using gen-machineconf tool by parsing respective xsa. - vck190-versal - vck5000-versal - vmk180-versal 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Use use soc variant based generic machine inclusion. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynqmp: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-108-57/+342
| | | | | | | | | | | | | | | | | | | | | | | 1. Update below zynqmp eval board machine conf file using gen-machineconf tool by parsing respective xsa. - zcu102-zynqmp - zcu104-zynqmp - zcu106-zynqmp - zcu111-zynqmp - zcu1275-zynqmp - zcu1285-zynqmp - zcu216-zynqmp 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Disable U-boot SPL boot and kernel device tree by default. User has to set explicitly to use it. 4. Use use soc variant based generic machine inclusion Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Remove zcu208-zynqmp, no public XSA. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* zynq7: Update machine conf file using gen-machineconf toolSandeep Gundlupet Raju2023-04-102-37/+73
| | | | | | | | | | | 1. Update zc702 and zc706 machine conf file using gen-machineconf tool by parsing zc702 and zc706 xsa. 2. Move variables which changes based on xsa before required inclusion file to handle pre-expansion values. 3. Remove BOARD MACHINEOVERRIDES in conf file. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-fast: Add zynq and microblaze limitationsMark Hatle2023-04-101-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* kernel-module-mali: Add patch to fix mali probe issueParth Gajjar2023-04-102-0/+47
| | | | | | | Added 0026-Fix-gpu-driver-probe-failure.patch for probe fix Signed-off-by: Parth Gajjar <parth.gajjar@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* core-image-ptest-*: Update QEMU memory for SoCsMark Hatle2023-04-102-0/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* machine-xilinx-default.inc: Set default virtual/dtb providerMark Hatle2023-04-101-0/+3
| | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* 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>