summaryrefslogtreecommitdiff
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2020-10-17linux-toradex-mainline-5.4: drop separate defconfigsMax Krummenacher
Change to use the defconfig which is part of the kernel tree. In order to provide a defconfig from your bbappend add a file 'defconfig' through SRC_URI which will take precedence. Related-to: ELB-3035 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0006e2a7616674e768a698123a13caff5c1661ba)
2020-10-17linux-toradex-mainline: add preempt-rt configs as scc fileMing Liu
Change to add preempt-rt configs as scc file by including linux-imx.inc, also avoid setting KERNEL_FEATURES to empty, it could be used in torizoncore layer. Related-to: ELB-3171 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 6737ce79c453953be6faf02519d9fc920dd58bb9)
2020-10-17Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Sep 29 12:07:53 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 81 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/81 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 15385a89f3aff2a13f316c26ef23abc7efa19cab)
2020-09-23linux-toradex-mainline: tegra: enable can_j1939Max Krummenacher
Add CAN_J1939 as a module. and run savedefconfig. This is a copy of tegra_defconfig from the kernel sources. Related-to: ELB-3023 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-23linux-toradex-mainline: imx 32bit: use a common defconfig and enable can_j1939Max Krummenacher
Use the common defconfig from the kernel sources toradex-imx_v6_v7_defconfig. This increases the kernel size for the so far smallest kernel by about 200k. We need a file for each machine as we do not have a common override to use in the use-mainline-bsp case. This additionally adds CAN_J1939 as a kernel module. Related-to: ELB-3023 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-10linux-toradex-mainline: update to 5.4.61 and 5.4.61-rt37 respectivelyMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-03device-tree-overlays-mainline: update to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-06linux-toradex-mainline: fix src_uri nameMax Krummenacher
Add the accidently dropped file reference name so the checksums are found. fixes 9b13de4 ("linux-toradex-mainline: update to latest") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-06linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit cf3aca30b171672fe011b404d0c12378b7c79f5d)
2020-08-06linux-toradex-mainline-5.4: enable GPIO/serial sources for PPSOleksandr Suvorov
Enable GPIO and serial-port (CD-signal) sources for the PPS (pulse-per-second) module. Related-to: ELB-2837 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit b736ab934b1067d032c1ac61bb753a8039222096)
2020-07-11linux-toradex-mainline: add lzop-native to DEPENDSMing Liu
This fixes a following compilation error when compiling zImage: | /bin/sh: lzop: command not found Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-07-06linux-firmware: use mrvl sdsd8997_combo_v4 from linux-firmwareMax Krummenacher
The firmware for Marvell 8997 using SDIO as the interface is also available from the regular linux-firmware repo, although with an other filename. Use that one and provide a symlink to cope with the old name. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-30linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 5c82f9ec57e0676de240acaa40b78ce4d3cd2181)
2020-06-30device-tree-overlays: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 14ccfef1cb6334ca165cae84173476cb6d961383)
2020-06-30linux-toradex-mainline: enable adv7180 configMarcel Ziswiler
This driver is also applicable to the ADV7280 e.g. as found on our Analogue Camera Adapter V2.0B. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 441c2eec6c7b59331642395e5d962540b214aaae)
2020-06-30linux-toradex-mainline-rt: drop obsolete recipeStefan Agner
With the addition of preempt-rt support using the 5.4 mainline based kernel tree the 4.19 mainline based preempt-rt kernel tree can be considered obsolete. Drop the recipe. Related-to: ELB-2631 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 5f773cd50f387c92f9511c173cb08a8af8263075)
2020-06-30linux-toradex-mainline: fix adding symbols to dtb filesOleksandr Suvorov
There is a dead code in the linux-toradex-mainline.inc, that doesn't really install dtb files into the final image. Remove this code add add the option to compile dtb files with symbols in the proper place. Related-to: ELB-2797 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit e0beff9f048259b24b147b21f49c1463ebd70511)
2020-06-18backports: add WiFi drivers for Gumstix AutoBSPStefan Agner
Add WiFi drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit a84d18c541f5525e7821c389fb41339be8c702c2)
2020-06-18linux-toradex: build dtb with symbolsOleksandr Suvorov
Symbols are required for overlay dtbo files to resolve external links. Related-to: ELB-1316 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 9818a0bac82a8059668ab9062deac69c8fae9c56)
2020-06-09device-tree-overlays: split into a per kernel flavour recipeMax Krummenacher
Create a seperate recipe for each kernel flavour and move the recipe into the same directory as the kernel recipe. This allows to have a better control over which machine needs which device-tree-overlays. E.g. apalis-tk1 does not make use of the NXP use-mainline-bsp facility. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5b3099862584aff19af6bdc28e8ce87043b92210)
2020-06-09backports: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 32aeba91e07c0f3ed043e3b7e9714eba7fa429d7)
2020-06-09linux-toradex-mainline: update to latest incl. rt-patchMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 4ec7f0934fc019ab5f98a7e7bc21fca645ee6b83)
2020-06-01apalis-tk1-mainline: follow renamed machine nameMax Krummenacher
The downstream kernel gets to old to be used with the new zeus userspace components. Reuse the apalis-tk1 machine name to build a mainline kernel and drop the apalis-tk1-mainline machine. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bd9bbe90a379468c60f689c99c3940bfb4a4181d)
2020-06-01linux-toradex-mainline: allow to build with rt-patch appliedMax Krummenacher
With preempt-rt in overrides, the recipe now builds an RT kernel. i.e.: - downloads the rt patch as specified in SRC_URI and applies it - uses the provided defconfig but modifies the configuration to use PREEMPT_RT. Related-to: ELB-2631 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 363288efc5d559b2a97da02a16f796a795af5215)
2020-06-01backports: replace hardcodeded path with oe prefixMax Krummenacher
Related-to: TOR-992 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 7ed9958daea91fa3116132b5788495caa18db51d)
2020-06-01linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit d5cf98d28411b3dc0a63db2367df70ebf401d70c)
2020-06-01linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 64579c21bf256efa9373ff7c030fab4f62a3e07f) (cherry picked from commit 5fd71587b58e4e63d1e9953eddb5cf5efeac6a09)
2020-06-01backports: upgrade from 4.19 to 5.4Oleksandr Suvorov
backports-5.4 provides latter drivers. Squashed cherry-pick which added 5.4 backports. The main issue that fixes with these backports: the earlier mwifiex drivers for Marvel 8997 WiFi module stucks on firmware crash (ELB-2596). Only backported drivers should depend on backported common modules. Deploying the 99-backports.conf file allows depmod to build modules.dep dependancies file properly. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 43140e494897d670f085425232e57c5ed86b7055) (cherry picked from commit 1b0f1b0b3c11af54aba3c76c086cedd101dd5202) (cherry picked from commit a4b3686f00eda0e85ae76a8808229eeccc37406d) (cherry picked from commit 5ffefe1cb25ebdc5b2db410a4b59fed548973ff4) (cherry picked from commit d8bf36f3999dcf5805c308dbfa4fbd4ca49d0c17) (cherry picked from commit 13e31066facf3a28a3458407513e79d2e15aadcc) (cherry picked from commit 56887d44144c03781d6d08d015ddb3949ca1e03d) (cherry picked from commit 7fa2f4f8b33caa5dd4beefd85979bd32bd49d86a) (cherry picked from commit 19b4909b3550c1b4a4f7346879ec28a4943d66e2)
2020-06-01depmodwrapper: add config directory optionOleksandr Suvorov
Backports recipe deploys the custom config file for depmod. Use it in depmodwrapper to generate modules dependencies properly. Related-to: ELB-2687 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit ce4619fdc1f2c1c6fcf3b54eaa6fc3bf1d23106c) (cherry picked from commit 774a5a74df9f4cef193816edca9c111490fc89cb)
2020-06-01linux-toradex-mainline: colibri-imx6ull: defconfig: add nand supportMarcel Ziswiler
NAND support may help (;-p). Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit c6be4ddf709f00546caa534f96cb553b883d1ea3)
2020-04-01linux-toradex-mainline: update to 5.4.28Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-02-14linux-toradex-mainline-rt-4.19: cleanup defconfigsMax Krummenacher
Both colibri-imx7 use the same defconfig, however we do not have a common mx7 override so provide it for each machine. Add a apalis-tk1-mainline defconfig using the 4.19.59 tegra_defconfig with enabled CONFIG_PREEMPT_RT_FULL. Add a default defconfig, use the 4.19.59 arm64 defconfig with enabled CONFIG_PREEMPT_RT_FULL. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 60f4dbc77be23abfe2995f9f2bd448694157d020)
2020-02-14linux-toradex-mainline-5.4: revert common mx7 defconfigMax Krummenacher
Using "use-mainline-bsp" override removes the SOC specific overrides and thus the defconfig is not found in the mx7 directory. Compare with: MACHINEOVERRIDES_EXTENDER_FILTER_OUT in meta-freescale. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 47bba89a6a09dc0e353cabb343b04f9322f7e3c2)
2020-02-14linux-toradex-mainline: update to 5.4.18 and add use-head-nextMax Krummenacher
While at it, add the use-head-next override which builds head instead of the pinned version. This is useful for integration work. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2b6a199e309ff610ec716e6df39d512da42b49f4)
2020-02-13linux-toradex-mainline-5.4: cleanup defconfigsMax Krummenacher
Both colibri-imx7 use the same defconfig, only provide it once. Add a apalis-tk1-mainline defconfig using the 5.4.6 tegra_defconfig. Add a default defconfig, use the 5.4.6 arm64 defconfig. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-13linux-toradex-mainline: fix version and update to latestMarcel Ziswiler
Fix Linux version to really represent 5.4.6. Update to latest which includes the following two commits: e87dbbae2576: ARM: dts: imx7: Fix Toradex Colibri iMX7S 256MB NAND flash support 575bd2d69a82: arm64: dts: freescale: add initial support for colibri imx8x Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit f28e4b6a631e0f1c5f1925acc09890176031ef5f) (cherry picked from commit 2d17ca347694cd4616d234ca72db4ecddb877138)
2020-01-03linux-toradex-mainline: bump to Linux 5.4.6Marcel Ziswiler
Bump to latest LTS release Linux 5.4.6 plus Apalis T30/TK1 patches. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit ac6df0b7458c551e915cf186481c23401a4b6824)
2019-12-20linux-toradex-mainline: bump to Linux 5.4.5Marcel Ziswiler
Bump to latest LTS release Linux 5.4.5. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-12-11linux-toradex-mainline: bump to Linux 5.4Stefan Agner
Bump to latest LTS release Linux 5.4.2. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-12-03linux-toradex-mainline: make use of new version classStefan Agner
Implement the new versioning scheme in the Linux mainline recipes. This leads to a version string like this: 5.3.10-4.0.0-dev+git.401bf3f29b1a Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-10-15linux-toradex-mainline: follow 5.3 with package versionMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-14linux-toradex-mainline: set package version to full Linux versionStefan Agner
Set the package version to reflect the complete Linux kernel version plus the git hash it has been built from. This could be done in the inc file only once, however, the Yocto kernel recipes set PV in the individual recipies as well. The close proximity to LINUX_VERSION also makes it obvious what PV will be. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-10-04linux-toradex-mainline: bump to Linux 5.3Stefan Agner
Bump mainline Linux kernel to Linux 5.3.2. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-09-04linux kernel & u-boot recipes: update to latestMax Krummenacher
2019-09-04linux-toradex-mainline: initial add of mainline based PREEMPT_RT kernelStefan Agner
Add initial version of a recipe to build the mainline based PREEMPT_RT kernel for Toradex modules. This kernel has been maintained for TorizonCore and is now moving to the official BSP. At this point the kernel is working well for the platforms supported by TorizonCore, but the hardware support hasn't been completed or verified. The defconfig files are the same configurations as generated by the TorizonCore kernel-cache (kernel configuration metadata) commit fd3d3be08c05 ("features/usb-net: enable some LTE/GSM modems"). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-09-04linux-toradex-mainline: initial add of mainline based kernelStefan Agner
Add initial version of a recipe to build the mainline based kernel for Toradex modules. This kernel has been maintained for TorizonCore and is now moving to the official BSP. At this point the kernel is working well for the platforms supported by TorizonCore, but the hardware support hasn't been completed or verified. The defconfig files are the same configurations as generated by the TorizonCore kernel-cache (kernel configuration metadata) commit fd3d3be08c05 ("features/usb-net: enable some LTE/GSM modems"). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-06-22backports: support menuconfigDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from commit 8109e0a87240489e6bc698e79f2cc748cbe40b17) (cherry picked from commit 95e057e986e782e85c7ed37e61d27ff389ea4239)
2019-06-22backports: update config fileDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from commit d02ed084d1c4a13e77898affc1b48beabef956f4) (cherry picked from commit 5bf79f8880f4193bd9c7fd490a25c90383aa0514)
2019-06-22backports: update backportsDominik Sliwa
Backports based on 4.19 kernel. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from commit 78e1cdabe0baeb794945bd4926c28058f9f12aa9) (cherry picked from commit 5d59a8eddb01c439281970496529e0e9a3d6f493)
2019-06-22backports: update backportsDominik Sliwa
Backports based on 4.19 kernel. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from commit 56829b6d643fa5dfdac42c0adddf5d41e7fb982e) (cherry picked from commit 85f6a85b8a8cc400a6f4e201ff5c5cbc43ac1d85)