summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable tree-loop-distribute-patterns CFLAGMark Hatle2021-07-142-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: CR-1086247 GCC 10.2.0 added -ftree-loop-distribute-patterns by default with -O2. This is causing a condition where the kernel will no longer boot. This is a temporary workaround until we can identify the true cause of the boot failure. Symtoms: earlycon: uartlite_a0 at MMIO 0x40600000 (options '115200n8') printk: bootconsole [uartlite_a0] enabled cma: Reserved 16 MiB at 0xaec00000 Linux version 5.10.0-xilinx-v2020.2 (oe-user@oe-host) (microblazeel-xilinx-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #1 Mon Mar 1 12:58:36 UTC 2021 setup_memory: max_mapnr: 0x40000 setup_memory: min_low_pfn: 0x80000 setup_memory: max_low_pfn: 0xb0000 setup_memory: max_pfn: 0xc0000 Zone ranges: DMA [mem 0x0000000080000000-0x00000000afffffff] Normal empty HighMem [mem 0x00000000b0000000-0x00000000bfffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080000000-0x00000000bfffffff] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff] <hang> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Enable support for linux-xlnx v5.10Sai Hari Chandana Kalluri2021-07-147-464/+2
| | | | | | Remove stale patches and enable support for linux-xlnx v5.10 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Rename u-boot-xlnx and linux-xlnx to 2021.1 versionMark Hatle2021-07-141-1/+0
| | | | | | | Both components now have in-development changes that are incompatible with gatesgarth 2020.2 version. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: Fix build with patch from upstream kernel for gcc-10.Philip Balister2021-01-282-0/+52
| | | | | Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
* linux-xlnx.inc: Update overlay config fragmentsRaju Kumar Pothuraju2020-12-221-1/+1
| | | | | | | Updating overlay config fragments path. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* ultra96: Using BOARD level hiearchy for ultra96 overridesJaewon Lee2020-12-222-5/+6
| | | | | | | | Using BOARD level hierarchy to rewire ultra96 specific overrides. Each package using BOARD override has to also redefine PACKAGE_ARCH using BOARD_ARCH Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* Update LICENSE_CHECKSUM for kernel-module-hdmiSai Hari Chandana Kalluri2020-12-221-1/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx_2020.2: Fix previous git cherry-pickSai Hari Chandana Kalluri2020-11-171-0/+9
| | | | | | | Previous git cherry-pick for linux-xlnx_2020.2 recipe happens incorrectly as a result the SRC_URI_append patches are removed. Include them back for successful compilation of perf Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit id and branch for components for 2020.2 releaseSai Hari Chandana Kalluri2020-11-172-15/+5
| | | | | | | | Update commitid and branch for the following components: arm-trusted-firmware, vcu, linux-xlnx, qemu, u-boot-xlnx,xrt,zocl,bootgen git cherry-pick 9f8d8d7 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* perf: Fix compilation issuesSai Hari Chandana Kalluri2020-11-035-1/+401
| | | | | | | | | | | Fix perf variable definition and libtraceevent with binutils. The above errors are fixed by including the following patches to the kernel tree: 0001-libtraceevent-Fix-build-with-binutils-2.35.patch 0001-perf-bench-Share-some-global-variables-to-fix-build-.patch 0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch 0001-perf-tests-bp_account-Make-global-variable-static.patch Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-hdmi: Update commit id and license md5sum for 2020.2Vishal Sagar2020-11-031-3/+3
| | | | | | | Update branch, commit id and LICENSE md5sum for 2020.2 Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-dp: Add support for Xilinx DP driversSandeep Gundlupet Raju2020-10-291-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This recipe will pull in the Xilinx DP drivers and associated components, for soft IP, to be built as an out-of-tree modules. Following out-of-tree modules will be built dp-rx (v4l2): The DisplayPortPlay 1.4 Rx Subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with PHY layers and provide DP decoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP RX-related IP sub-cores and outputs them as a single IP. The subsystem outputs multi-pixel video to AXI4-Stream Protocol interface. dp-tx (drm): The DisplayPortPlay 1.4 Tx subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with xilinx PHY layers and provide DP encoding functionality. The subsystem is a hierarchical IP that bundles a collection of DP TX-related IP sub-cores and outputs them as a single IP. The subsystem takes incoming video and transfers them to an DP stream. The stream is then forwarded to the video PHY layer. video-phy (phy): Xilinx Video Phy implements the physical layer for enabling the plug-and-play connectivity with dp MAC transmit and receive subsystems. This driver is also used as the repository for common files used by dp rx and tx drivers including hdcp1.4 and hdcp2.x software stack. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx: move versal and zynqmp to a common defconfigMark Hatle2020-09-081-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-yocto-xilinx.inc: Remove reference to xilinx-kmetaSai Hari Chandana Kalluri2020-08-111-4/+0
| | | | | | | xilinx-kmeta is no longer maintained. Clean up all references to kmeta in yocto recipes Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xilinx-kmeta: Remove xilinx-kmeta stale config fragmentsSai Hari Chandana Kalluri2020-08-1115-289/+0
| | | | | | | Remove unused locally maintained xilinx-kmeta config fragments. Use all fragments from upstream yocto-kernel-cache Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* hdmi-module: pull from upstream yocto-kernel-cacheSai Hari Chandana Kalluri2020-08-113-230/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* upstream overlay config fragmentsSai Hari Chandana Kalluri2020-08-113-9/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* uio.scc: Remove stale config filesSai Hari Chandana Kalluri2020-08-112-9/+0
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Upstream v4l2-xilinx config fragments and update zybo-linux-bd to use ↵Sai Hari Chandana Kalluri2020-08-113-28/+1
| | | | | | fragment from kernel-cache Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kc705-microblazeel-features.scc: Pick config fragments from upstream kmetaSai Hari Chandana Kalluri2020-08-114-24/+3
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Upstream zybo-linux-bd-zynq7 config fragment to YP kernel-cacheSai Hari Chandana Kalluri2020-08-113-27/+1
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* mipi-config-ultra96 - upstream mipi configs to YP kernel-cacheSai Hari Chandana Kalluri2020-08-113-134/+2
| | | | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx: perf: Make perf able to build with latest libbfdSai Hari Chandana Kalluri2020-08-112-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | libbfd has changed the bfd_section_* macros to inline functions bfd_section_<field> since 2019-09-18. See below two commits: o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html Backport commit from mainline to make perf be able to build with both old and new libbfd. Fixes errors: <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: <builddir>/perf/1.0-r9/perf-1.0/perf-in.o: in function `find_address_in_section': | /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:200: undefined reference to `bfd_get_section_flags' | <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:204: undefined reference to `bfd_get_section_vma' | <builddir>/perf/1.0-r9/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/10.1.0/ld: /usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/util/srcline.c:205: undefined reference to `bfd_get_section_size Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* python3-dtc_1.5.1.bb: Explicitly set the path to run make during configureSai Hari Chandana Kalluri2020-08-111-1/+1
| | | | | | | | | | | | | | With current recipe,during build it fails with the following error: xecuting Tasks ERROR: python3-dtc-native-1.5.1-r0 do_configure: Execution of 'x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600' failed with exit code 1: make: *** No rule to make target 'version_gen.h'. Stop. WARNING: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/run.do_configure.26600:1 exit 1 from 'do_configure' ERROR: Logfile of failure stored in: x86_64-linux/python3-dtc-native/1.5.1-r0/temp/log.do_configure.26600 Explicitly set the path to change directory into so that the make command is succesful. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* lopper: update to work with upstreamBen Levinsky2020-07-151-5/+12
| | | | | | | | | | Update lopper to work with upstream as follows: - use latest commit - update do_install such that only relevant files are installed, not dependency mgmt related artifacts as yocto otherwise handles this Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
* kernel-module-hdmi: Update license checksumSai Hari Chandana Kalluri2020-06-091-1/+1
| | | | | | Update license checksum for kernel-module-hdmi Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx: Add kmeta for hdmi-module compilation for versalSai Hari Chandana Kalluri2020-06-093-1/+229
| | | | | | | Add hdmi-module kernel config fragments to enable sound, I2C for versal boards. This is needed to compile kernel-module-hdmi. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-hdmi: Update commit id and license md5sum for 2020.1Vishal Sagar2020-05-201-2/+2
| | | | | | | | | | Update the commit id and md5sum of LICENSE.md for 2020.1 release. The external github repo is updated to have same commits as internal git repo. The LICENSE.md md5sum has changed due to whitespace being removed. Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* lopper: Fix python3 reference in lopper_sanity.pyMark Hatle2020-05-201-0/+1
| | | | | | | | | Issue: CR-1065813 To avoid an error about requiring /usr/bin/python3, we need to move lopper_sanity.py to also invoke it using /usr/bin/env python3. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* lopper: Update commit id for 2020.1 releaseSai Hari Chandana Kalluri2020-05-191-4/+4
| | | | | | | Update commit id and SRC_URI for lopper Include python3-core as RDEPENDS as the package has a runtime dependency on python3 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update commit ids for 2020.1 releaseSai Hari Chandana Kalluri2020-05-182-2/+2
| | | | | | Update commit ids and branches for atf,u-boot,linux-xlnx,vcu Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-hdmi: Update for 2020.1 releaseVishal Sagar2020-05-181-2/+2
| | | | | | | Update the branch and commit id for rel-v2020.1 Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* xilinx-kmeta: Upstream xen and ocicontainer configs to YP kernel-cacheSai Hari Chandana Kalluri2020-04-2714-130/+4
| | | | | | | | Upstream xen and ocicontainer configs to YP kernel-cache. Update the commit id to pull from HEAD of kernel-cache tree. Clean up xilinx-kmeta post upstreaming. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-hdmi: Update LICENSE_CHECKSUM for kenrel-module-hdmiSai Hari Chandana Kalluri2020-04-141-1/+1
| | | | | | Update LICENSE_CHECKSUM for kernel-module-hdmi Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* kernel-module-hdmi_git.bb: Add versal supportVishal Sagar2020-04-021-0/+1
| | | | | | | Add support for versal. Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Revert "linux-xlnx: Use new default defconfigs"Mark Hatle2020-03-231-2/+2
| | | | | | | | This reverts commit d01f811d4672c30581d68edf3c79fd07a64c61a9. Go back to three separate configs per discussion with Petalinux team. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* meta-xilinx-bsp: Update recipes to use SOC_FAMILY_ARCH and SOC_VARIANT_ARCHMark Hatle2020-03-131-1/+1
| | | | | | | Using the defaults will ensure that a machine or soc can override the default version. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: Use new default defconfigsMark Hatle2020-03-131-2/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* linux-xlnx: cleanup and make yocto-kernel-cache availableBruce Ashfield2020-03-132-3/+5
| | | | | | | | | | | | | | | | | | | The following cleanups are done: - remove the invalid KBRANCH setting of xlnx_rebase_v4.19, this doesn't belong below the LINUX_VERSION = "5.4" variable, since it confuses users - explicitly set the SRCREV_FORMAT to MACHINE, since we are not using the kernel-cache SRCREV as a rebuild trigger - make the yocto-kernel-cache avialable by default, since there are re-usable kernel features which can be exploited in its directory structure. We use the latest (v5.4) branch and set the SRCREV Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* lopper: Add runtime dependency of python3-dtcMark Hatle2020-03-091-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* lopper: Add lopper utilityMark Hatle2020-03-021-0/+32
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* python3-dtc: Add python3 dtc moduleMark Hatle2020-02-271-0/+27
| | | | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
* Enable kernel configurations for viruatlization distro featureSai Hari Chandana Kalluri2020-02-2112-0/+79
| | | | | | | Enable kernel configurations to support docker/oci containers when virtualization is set as distro feature Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Update KERNEL_VERSION to 5.4Sai Hari Chandana Kalluri2020-02-211-1/+1
| | | | | | Update KERNEL_VERSION to 5.4 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* "**TEMPORARY**" linux-xlnx.inc: Trim PV variable expansionSai Hari Chandana Kalluri2020-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | PV variable is set to expand as PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" where: XILINX_RELEASE_VERSION ?= "" LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" During package compilation, the sstatecache generates a siginfo filename using the packagename, PV, machine arch and SRCPV. For microblaze machines i.e microblazeel-v11.0-bs-cmp-mh-div-generic and microblazeel-v11.0-bs-cmp-ml-generic, when signinfo file is generated it fails with the following error: OSError: [Errno 36] File name too long: 'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sigtask.v21dhivl' -> 'yocto/2020.1/2020.1-next/build/sstate-cache/bd/sstate:linux-xlnx:microblazeel_v11.0_bs_cmp_ml_generic-xilinx-linux:4.19-xilinx-v2020.1+gitAUTOINC+3120d3694a:r0:microblazeel_v11.0_bs_cmp_ml_generic:3:bd73041379cd33962d98eb44c1b73f20f24daf3ace4a4ddc605548dc63e7f62d_kernel_version_sanity_check.tgz.siginfo' To fix the error, trim the PV variable by removing the LINUX_VERSION_EXTENSION to get PV = "${LINUX_VERSION}+git${SRCPV}" Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* Upgrade recipes to 2020.1Sai Hari Chandana Kalluri2019-12-091-0/+0
| | | | | | Upgrade u-boot, qemu, linux, atf to 2020.1 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
* linux-xlnx.inc: Add MIPI kernel configuration for Ultra96Sai Hari Chandana Kalluri2019-12-093-0/+133
| | | | | | | Add MIPI kernel configuration for Ultra96 Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* linux-firmware_git.bbappend: Add hook for wl18xx and bts fileManjukumar Matha2019-12-091-0/+28
| | | | | | | | | Ultra96 board needs the wl8xx and bts file to enable wireless and bluetooth on the TI part. This recipe uses linux-firmware and modify to include only wl18xx binaries. We also depend on TIInit_11.8.32 bts, add an append to fetch the right bt firmware Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* kernel-module-hdmi_git.bb: New Yocto recipe for Xilinx HDMI driversManjukumar Matha2019-12-091-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This recipe will pull in the Xilinx HDMI drivers and associated components, for soft IP, to be built as an out-of-tree modules. Following drivers will be pulled-in hdmi-rx (v4l2): The HDMI 1.4/2.0 Receiver Subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with PHY layers and provide HDMI decoding functionality. The subsystem is a hierarchical IP that bundles a collection of HDMI RX-related IP sub-cores and outputs them as a single IP. The subsystem receives the captured TMDS data from the video PHY layer. It then extracts the video and audio streams from the HDMI stream and converts it to AXI video and audio streams. It includes support for HDCP 1.4 and 2.2 protocols hdmi-tx (drm): HDMI Tx subsystem is a feature-rich soft IP incorporating all the necessary logic to properly interface with xilinx PHY layers and provide HDMI encoding functionality. The subsystem is a hierarchical IP that bundles a collection of HDMI TX-related IP sub-cores and outputs them as a single IP. The subsystem takes incoming video and audio streams and transfers them to an HDMI stream. The stream is then forwarded to the video PHY layer. It includes support for HDCP 1.4 and 2.2 protocols video-phy (phy): Xilinx Video Phy implements the physical layer for enabling the plug-and-play connectivity with HDMI MAC transmit and receive subsystems. This driver is also used as the repository for common files used by hdmi rx and tx drivers including hdcp1.4 and hdcp2.2 software stack si5324 (ccf): Silicon labs clock generator driver specifically targeting the xilinx hdmi use-case. i.e. implemented only functionality required for xilinx hdmi soft IP at this time. dp159 (ccf): SNxDP159 device is a dual mode display port to TMDS retimer supporting DVI 1.0 and HDMI 1.4b and 2.0 output signals. When working as a retimer, the embedded clock data recovery cleans up the input high frequency and random jitter from video source. It also supports TMDS output amplitude adjust and output slew rate control. Signed-off-by: Rohit Consul <rohit.consul@xilinx.com> Signed-off-by: Shikhar Mishra <shikhar.mishra@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* Update recipes for 2019.2 releaseJaewon Lee2019-12-092-7/+6
| | | | | | | | | | | Update u-boot, kernel, ATF, QEMU, pmu-firmware, multimedia recipes for 2019.2 release. The patch also upgrades gcc microblaze, newlib and libgloss versions. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>