summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Move from 2021.2 to 2022.1Mark Hatle2022-05-0228-42/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename recipes from 2021.2 to 2022.1 as necessary. Move internal references to 2022.1 (layer.conf and local.conf.sample) Move kernel to 2022.1 branch, as well as various kernel modules. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* | | | xserver-nodm-init: limit the number of restart for serviceRohit Visavalia2022-03-282-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With current option "Restart=always", xserver-nodm service will keep on restart if it fails. By limiting the restart count(5) unnecessary restart can be avoided. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | zynqmp: xorg: Update xorg configuration file to use busidRohit Visavalia2022-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of relying in Xorg's default flow(dri/card0) use DP PS busid for Display device. User can update busid based on display device used. Signed-off-by: Rohit Visavalia <rohit.visavalia@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | u-boot-xlnx: oe-core now provides an xxd-native if requiredMark Hatle2022-03-282-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove host-tool requirement, switch to using Yocto Project provided xxd-native, provided by vim-native. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | ltp: Disable ltp gdb dependency only on MicroblazeMark Hatle2022-03-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On-target gdb does not work on microblaze, disable the dependency. This may affect certain ltp test cases. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | gdb: Disable on-target GDB for microblazeMark Hatle2022-03-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure: ../../gdb-10.2/bfd/cpu-microblaze.c:75:1: warning: missing initializer for field 'max_reloc_offset_into_insn' of 'bfd_arch_info_type' {aka 'const struct bfd_arch_info'} [-Wmissing-field-initializers] | 75 | }, | | ^ | In file included from ../../gdb-10.2/bfd/cpu-microblaze.c:23: | ./bfd.h:1998:14: note: 'max_reloc_offset_into_insn' declared here | 1998 | signed int max_reloc_offset_into_insn; | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | device-tree: Allow the CONFIG_DTFILE to be a dts and cleanupMark Hatle2022-03-281-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup the conditionals, as only one file is allowed to be specified. Also use the converted version so if a dts is passed in, the dtb will be installed after it is generated. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | Revert "device-tree: Allow the CONFIG_DTFILE to be a dts"Mark Hatle2022-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f03941e1d98828e17d2bd9d6de56f61baa712f52. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | dt-processor: Avoid warning messages for baremetalMark Hatle2022-03-281-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Baremetal doesn't use tpm, virtualization or security layers. Avoid the checks, as these layers are often used by the Linux configuration. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | fsbl-firmware: Move to explicit psu_init settingsMark Hatle2022-03-282-18/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The location for psu_init is now explicitly set. If the psu_init files are not available, a warning will be presented to the user. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | dt-processor.sh: Remove SYSTEM_DTFILE Linux specific settingMark Hatle2022-03-281-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SYSTEM_DTFILE points to the original system-top.dts. CONFIG_DTFILE will point to the configuration specific device tree (dtb). Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | device-tree: Allow the CONFIG_DTFILE to be a dtsMark Hatle2022-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of processing the CONFIG_DTFILE, process the converted (generated) DTB files. This resolves an issue where a user passes in a DTS, the system generated a DTB and attempts to install both the DTS and DTB triggering an unexpected file problem during package generation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | xilffs: Allow per recipe configurationMark Hatle2022-03-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The recipe can have: use_mkfs, read_only, and word_access specified as a per recipe configuration. Only read_only is enabled by default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | dt-processor.sh: Add -l argument to write local.conf to a fileMark Hatle2022-03-281-30/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The -l argument will write the local.conf fragment to a file of the user's choice. This can help automation that uses the dt-processor.sh. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | meta-xilinx-standalone-experimental: Change from lopper.py to lopperMark Hatle2022-03-2838-98/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade of lopper changed the executable name to lopper. Switch all of the users. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | 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>
* | | | embeddedsw: Update fsbl image nameSandeep Gundlupet Raju2022-03-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update FSBL_IMAGE_NAME to align with expected file name to be fsbl-${MACHINE}. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@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>
* | | | meta-microblaze: Move to glibc backportMark Hatle2022-03-283-51/+35
| | | | | | | | | | | | | | | | | | | | | | | | Move to a backport of the official fix for glibc BZ #28883. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | meta-microblaze: Set OLDEST_KERNEL version is 3.15Mark Hatle2022-02-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 3.15 is required to enable pselect instead of (new)select syscall when using the select function. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | meta-microblaze: Fix glibc issues related to select/pselectMark Hatle2022-02-124-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *) Select syscall is not implemented on microblaze, newselect should be used instead, but commit 4c3df0eba5e8fe98f0de917ade9b2ebba6951c5f from glibc removed this behavior. Presumably by accident. *) When the code path that doesn't use select, but instead uses pselect32 is used, microblaze provides it's own implementation but this implementation is only available when ASSUME_PSELECT is disabled. We need to fallback to the default Linux implementation. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | gcc standalone: Add workaround for microblaze -Os bugMark Hatle2022-02-122-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove -enable-target-optspace, which forces -Os when building various internal libraries. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | meta-xilinx-pynq: xilinx-pynq: Fix incorrect overrideMark Hatle2022-02-041-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | pmufw: Fix dependency variable typoMark Hatle2022-02-042-2/+2
| | | | | | | | | | | | | | | | 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-049-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Revert "*TEMPORARY* Disable wifi and blutetooth packages to pass do ↵Vishal Patel2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | populate_sdk_ext step" This reverts commit 51e48cc7acd766a6d84dbcc65d7b64de6f5d707e. linux-firmware, linux-firmware-ti-bt, and petalinux-image-minimal now build successfully. Signed-off-by: Vishal Patel <vishal.patel@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | microblaze binutils: Integrate community binutils contributionsMark Hatle2022-02-044-0/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three bug fixes suggested by community member dednev@rambler.ru: *elf*-microblaze-relaxation.patch short description: The roots of invalid data offsets (pointer) after relaxation are in internal symbol table cache handling. If symbol table was cached while section processing for garbage collection, the elf_tdata (abfd)->symtab_hdr pointer is not NULL, but (Elf_Internal_Sym *) symtab_hdr->contents array contains data for local symbols only. But in the repeated relocation processing there is no check whenever the symbol index is local (ELF32_R_SYM (irelscan->r_info) < symtab_hdr->sh_info) or global. This leads to the buffer overflow (global symbol index is out of bounds) and following invalid relocation processing, especially in extra relocation data modifications (f.e. irelscan->r_addend could be decreased by arbitrary values). *elf*-microblaze-no-keep-memory.patch short description: There is incorrect newly allocated buffers handling if internal memory caching is disabled (without --no-keep-memory ld switch). This leads to possible double free(...) calls for such data and results in unexpected ld termination with abort(). I've fixed this issue by implementing similar to the elf32-avr.c data buffer handling. *elf*-imm-check-for-relaxation.patch short description: I've reverted Xilinx path to the original GNU binutils bfd code for microblaze, because this patch incorrectly leaves some "imm -1" instructions in resulting binary file after relaxation and increases executable size. If you look at the IMM instruction argument processing in binutils/gas/config/tc-microblaze.c you will see, that gas checks are similar to the original bfd microblaze_elf_relax_section(...) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | Remove hardknott from LAYERSERIES_COMPATJohn Toomey2022-02-046-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-046-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Add missing README.mdJohn Toomey2022-02-041-0/+28
| | | | | | | | | | | | | | | | | | | | 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>
* | | | meta-xilinx-standalone: Remove obsolete machinesMark Hatle2022-01-237-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These machines are no longer necessary, as the regular "generic" machine with an alterantive DEFAULTTUNE should be used instead. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | meta-xilinx-standalone-experimental: Require meta-virtualization for lopper ↵Mark Hatle2022-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | support Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* | | | xilinx-microblaze.bbclass: Fail if meta-microblaze is not includedMark Hatle2022-01-233-0/+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>