summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
Commit message (Collapse)AuthorAgeFilesLines
* lopper.bbappend: Backport latest lopper from meta-virtualization (master)Mark Hatle2022-03-282-45/+37
| | | | | | | | | | | | | The bbappend essentially replaces the existing lopper.bb from meta-virt (honister). When meta-virt is updated, most of this bbappend will no longer be necessary. Also update the SRCREV and PV to indicate we're now based on version 1.0.2. Also update xilinx-lops path to match. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* kernel-module-vcu: Add vcu rules to video groupSandeep Gundlupet Raju2022-03-282-1/+20
| | | | | | | | | Adding vcu rules file changing permissions and ownership group to video so that any new user added to video groups can run allegro vcu encoder and decoder devices. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Pass --continue-without-input when launching westonChristian Kohn2022-03-282-2/+2
| | | | | | | | | | | | | | | | | | This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> This commit is based on 762a20b493cc219a46d9ac188fe4895a111ee7b4 from meta-openembedded-core. It was later reverted in master because it breaks the fbdev backend. At Xilinx, we are using the drm backend so it is safe to add this. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Copy init and service file from openembedded-coreChristian Kohn2022-03-282-0/+125
| | | | | | | | | Current as of honister commits e09625b31c6dbe7121665a554e26e267b809beb1 and a849f29bcbd85c6d30d2ef4e061ef332ea555450 Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* weston-init: Use 644 permission for ini fileChristian Kohn2022-03-281-1/+1
| | | | | | | | | Use 644 permission for the Xilinx ini file which matches the default ini file permissions from upstream. This allows non-root users to also load this ini file. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* lopper: Update SRCREV to upstream masterSandeep Gundlupet Raju2022-03-281-7/+6
| | | | | | | | 1. Update SRCREV to upstream master commit id. 2. Update do_install based on new directory structure in source. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* pmufw: Fix dependency variable typoMark Hatle2022-02-041-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* virglrenderer: Fix override syntaxMark Hatle2022-02-041-1/+1
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Update to skip checks in eSDK build/installMark Hatle2022-02-045-7/+13
| | | | | | | | | | | | device-tree, fsbl, plmfw, pmufw, psmfw do basic validation checks, when in an eSDK skip these checks. Otherwise a partially configured system can't generate an eSDK for the end user. Sync Core and Standalone usages to be consistent. Also cleanup the BB_DONT_CACHE to be consistent in all usages. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Set dfx-mgr COMPATIBLE_MACHINES to zynqmp/versalJohn Toomey2022-02-041-0/+4
| | | | | | | | | The dfx-mgr package depends on libdfx which is restricted to zynqmp and versal and it follows that this package should have the same restriction as it is not used on other platforms. Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-bootbin: Sync versal and ensure items can be defined in local.confMark Hatle2022-02-043-13/+17
| | | | | | | | | | Use ??= to define the default values. This ensures a ?= (or =) can be used in a .bbappend, or a user can define a default value in the local.conf or machine.conf file. Also add a default config for versal that matches zynqmp and zynq. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-zynq: Fix BIT_PARITION_ATTR pathSandeep Gundlupet Raju2022-02-041-4/+12
| | | | | | | | Fix BIF_PARTITION_ATTR paths for fsbl and u-boot components. Also add missing BIF_PARTITION_ATTR for device-tree. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-bootbin: Ensure do_configure pays attention to all of the valuesMark Hatle2022-02-041-0/+1
| | | | | | | | | do_configure processes the BIF_PARTITION_ATTR based on python getVar. This prevents the system from automatically discovering the variables needed for hash calculations to determine if something has changed. Manually add in the list of standard variables processed to ensure the hash updates. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Add missing LAYERRECOMMENDS to meta-xilinx-coreJohn Toomey2022-02-041-0/+1
| | | | | Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove hardknott from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | We do not maintain support for hardknott so it is being removed Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Remove gatesgarth from LAYERSERIES_COMPATJohn Toomey2022-02-041-1/+1
| | | | | | | | We do not build, test or support gatesgarth in any of our layers so it makes sense to remove this for the various layer.conf files Signed-off-by: John Toomey <jtoomey@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu: Move to latest in-progress development versionMark Hatle2022-01-248-46/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move from the initial qemu-xilinx 6.1.0 version to the current development version. Changelog qemu-devicetrees: versal-psm: Add psm err management module versal: Add vitis variant for xcvc2802 versal: Add xcvc2802 & xcve2802 devices versal: memmap: npi: Allow AIE2 NPI range to be overriden versal: Make generic npi default for all boards versal: remote-port: Add a PL to XRAM port versal: lpd: Move the XRAM into a separate memory region zynqmp: Fix DDR aliasing onto qemu_sysmem versal-pmc-sys: Connect efuse-cache to sysmon versal: smmu: Versal has 1 global + 32 context interrupts vpk180: Add new board dts xcvp1802: Add ssit property board-versal-ps-virt: Add include guards xcvp1802-virt: This virt board is for VPK180 emulation versal: Add pmc error management node vitis: versal: Prepare for NPI forwarding versal: remote-port: Allocate device for NPI forwarding versal: memmap: Add the AIE2 adress range versal-ps-iou: Configure the number of interrupts an slots on usb_dwc3 zynqmp-iou: Configure the number of interrupts an slots on usb_dwc3 versal-pmc-sec: Improve the error message board-versal-pmc-virt: Fix DDR size Changelog qemu-xilinx: versal-psm-error-mng: Fix the mask reg updates versal-psm-error-mng: Add PSM error management module versal-pmc-error-mng: Update MASK regs based on EN/DIS versal: puf: Fix puf-id generation versal: xram-slcr: Reflect XRAM power up/down status versal: sysmon: Model secure efuse transfer versal: pmc: efuse-cache: Implement sysmon data-source interface xlnx-efuse: Introduce sysmon data-source interface Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* qemu-xilinx*: Upgrade Qemu 5.1.0 -> 6.1.0Sai Pavan Boddu2022-01-246-97/+74
| | | | | | | | Upgrade Qemu from 5.1.0 -> 6.1.0 for 2022 release Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Revert "dfx-mgr: **** TEMPORARILY **** disable zocl, due to linux 5.15"Mark Hatle2022-01-241-2/+1
| | | | | | | (dfx-mgr was moved from meta-xilinx-tools, the reverted patch was from before the move) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dfx-mgr: Fix override syntaxChristian Kohn2022-01-241-2/+2
| | | | | | | Fix override syntax in systemd variables. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* bootbin: Adjust BIF_PARTITION_ATTRMark Hatle2022-01-241-1/+19
| | | | | | | | | | | The order is critical for the system to boot properly. Add a comment explaing the requirements, making the various parts parameterized to allow the optional parameters to be adjusted. The bitstream element will typically be added by a bbappend in a layer such as meta-xilinx-tools. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-microblaze.bbclass: Fail if meta-microblaze is not includedMark Hatle2022-01-233-16/+14
| | | | | | | | | | When the user uses a microblaze tune, we need to check if meta-microblaze is part of their build. If not stop, and tell them they need to add it. meta-microblaze is not a layers dependency as it is not needed for most builds. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-core: README.md update to explain recent changesMark Hatle2022-01-231-1/+32
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: Only include microblaze when enabledMark Hatle2022-01-232-2/+7
| | | | | | | This prevents meta-microblaze from being required, and hash values changing unless microblaze processor is enabled. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* base-pdi: Move COMPATIBLE_MACHINE to .*Mark Hatle2022-01-232-14/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynqmp-generic: Enable pmu-rom-native as a qemu-native dependencyMark Hatle2022-01-231-1/+4
| | | | | | qemu-native requires pmu-rom-native when building for zynqmp based systems. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* machine-xilinx-default.inc: Fix bootbin and UBOOT SUFFIX typeMark Hatle2022-01-231-3/+2
| | | | | | | | | The default for virtual/boot-bin should be xilinx-bootbin. The default UBOOT_SUFFIX should be 'bin'. Otherwise u-boot-xlnx may fail being able to not find u-boot.img. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* embeddedsw: Rework the embeddedsw copy firmware recipesMark Hatle2022-01-236-62/+168
| | | | | | | | | | | | | | | | | | fsbl, plmfw, pufw, and psmfw are reworked to provide earlier error messages, and better handle multiconfig builds. Also adjust MACHINE specific changes to use .* for compatibility based on the SOC_FAMILY override. The system doesn't always set the SOC_FAMILY as COMPATIBLE_MACHINE, so this avoids an error of incompatible machine. Align all of the expected firmware filenames to be <firmware>-${MACHINE}. The user can override as necessary. The license moves to CLOSED as we don't know the license of the software being provided by the user or other dependencies. It'll be up to the user to reconcile it. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Merge experimental and standard flowsMark Hatle2022-01-221-4/+40
| | | | | | | | | | | We need a method for regular building to specify a device tree. Since the experimental flow already contained this, merge it in and connect to the existing SYSTEM_DTFILE as a fall back. Also enable addition 'early package failure' messages to alert the user as soon as possible they need to pass in additional information. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* core: Move lopper and python modules to dynamic-layersMark Hatle2022-01-217-0/+4
| | | | | | | Lopper comes from meta-virtualization, the python modules are required by it and the related changes. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* README.qemu.md: Update to reflect the new pmu-rom-native recipeMark Hatle2022-01-211-14/+9
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* pmu-rom-native: Remove PACKAGE_ARCH and skip do_configureMark Hatle2022-01-141-1/+1
| | | | | | | | | PACKAGE_ARCH is not relevant to native recipes, remove this do_configure is not used as the package is simply loading in a binary. Skip this as an optimization Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dfx-mgr: Enable systemd hooksSai Hari Chandana Kalluri2022-01-142-6/+29
| | | | | | | | Enable SYSTEMD hooks by default as DISTRO_FEATURE is systemd. Enable sysvinit hooks only if DISTRO_FEATURE is sysvinit. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Resolved DRI compilation for xserver and xwaylandNeel Gandhi2022-01-142-0/+3
| | | | | Signed-off-by: Neel Gandhi <neel.gandhi@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* pmu-rom-native: Automatically download from public site for QEMU usageMark Hatle2022-01-143-42/+28
| | | | | | | | Move the pmu-rom to pmu-rom-native recipe. The ROM is only deployed in the standard directory for qemu-xilinx usage when required by a zynqmp-generic system. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* dfx-mgr/libdfx: Move from meta-xilinx-toolsMark Hatle2022-01-142-0/+89
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* zynq-generic: Remove hardcoded -initrd and use runqemu insteadMark Hatle2022-01-142-3/+2
| | | | | | Change rootfs to cpio.gz, and runqemu will automatically load it as an initrd Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"Mark Hatle2022-01-1410-38/+11
| | | | | | | PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is being used for compatibility. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Adjust generic BSPs to support the inheritance modelMark Hatle2022-01-144-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each inherited BSP must set a MACHINEOVERRIDES and PACKAGE_EXTRA_ARCHS to ensure that various overrides can be set along the way. The general format for this is (in the caller): require conf/machine/<inherited machine>.conf The callee is responsible for adding to the MACHINEOVERRIDES and PACKAGE_EXTRA_ARCHS. It does this by setting the following at the beginning and end of the file, respectively. MACHINEOVERRIDES =. "${@['', '<machine>:']['<machine>' != '${MACHINE}']}" ... ... PACKAGE_EXTRA_ARCHS_append = "${@['', ' <machine_arch>']['<machine>' != '${MACHINE}']}" where <machine> is the <machine>.conf file the line appears in; <machine_arch> is the <machine>.replace('-', '_') (matching MACHINE_ARCH) if the machine file was used by itself. The MACHINEOVERRIDES uses =. or .= everywhere in the Yocto Project. Doing it via =. in the load order ensures in order evaluation. PACKAGE_EXTRA_ARCHS is set via 'append', but needs to be the last operation to ensure that we are always added AFTER anything we include along the way. Effectively this is a late binding evaluation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Deprecate BOARD and BOARD_VARIANT supportMark Hatle2022-01-1411-21/+216
| | | | | | | If the BOARD and/or BOARD_VARIANT is set, continue to allow this to work, however warn the user it is deprecated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-*: Move BSP settings to meta-xilinx-bspMark Hatle2022-01-142-13/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* platform-init: Split into board specific entriesMark Hatle2022-01-143-13322/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* arm-trusted-firmware: Split board specific entriesMark Hatle2022-01-141-4/+3
| | | | | | Cleanup some of the override syntax. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* xilinx-mcs: Remove obsolete board specific configMark Hatle2022-01-141-1/+0
| | | | | | The board config matches the default config, it's not needed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* device-tree: Break into base bb and board specific bbappendMark Hatle2022-01-149-1210/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* kc705-bitstream: Move to bsp layer, bsp specificMark Hatle2022-01-141-48/+0
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Initial restructure/split of meta-xilinx-bspMark Hatle2022-01-14171-0/+21024
Create a new meta-xilinx-core, move core functionality to the core, keeping board specific files in the bsp layer. zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp is not available it will not fail. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>