summaryrefslogtreecommitdiff
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2021-03-04toradex-devicetree.bbclass: introduce bbclass fileMing Liu
The major reason for doing this is because we are currently deploying all dtbo files to ${DEPLOY_DIR_IMAGE}/devicetree, but not machine specific ones, and they will be unnecessarily bundled into fitimage when kernel-fitimage.bbclass is being inherited. To fix that, we introduce a extra task do_collect_overlays to collect machine specific overlays to ${DT_FILES_PATH} before do_compile, where dtb compilation is being compiled in. In this way, only machine specific overlays would be compiled and deployed. Now we can drop device-tree-overlay-filter recipe with this change. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-03-02linux-toradex: export DTC_FLAGSMing Liu
Export DTC_FLAGS instead of passing it to make command by EXTRA_OEMAKE, this ensures 'make dtbs' in a devshell also get 'DTC_FLAGS=-@' option. Related-to: ELB-3578 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-03-01linux-toradex: upstream: update to latestMax Krummenacher
Related-to: ELB-3341 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-01Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Wed Feb 10 22:59:24 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 215 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/215 Signed-off-by: ci.toradex <cicd@toradex.com> Bump SRCREV Bump SRCREV hashes as used in build of Tue Feb 23 21:40:40 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 228 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/228 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-02-02Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Feb 2 05:36:13 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 207 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/207 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-01-28device-tree-overlay-filter: initial addMax Krummenacher
This recipe deploys from the available device tree overlays those which are applicable for the current machine. Additionally it creates the file overlays.txt containing a list of overlays which should be started by default. The files to deploy in the final image are: "overlays.txt overlays/*" The deploy code is a adapted copy of the image_type_tezi function tezi_deploy_dt_overlays(). Related-to: ELB-3197 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-05backports:: use https to fetch git repoMax Krummenacher
This helps people which can't access the web with the git protocol. Related-to: ELB-3475 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-12-28Bump SRCREVToardex CI
Bump SRCREV hashes as used in build of Thu Dec 24 23:56:45 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 169 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/169 Signed-off-by: ci.toradex <cicd@toradex.com> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-11-30Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri Nov 27 22:22:56 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 143 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/143 Signed-off-by: ci.toradex <cicd@toradex.com>
2020-11-30linux-toradex-mainline: add usbgadget/libcomposite as autoload modsIgor Opaniuk
Add usbgadget and libcomposite as autoload modules. Related-to: ELB-3152 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-11-17linux-toradex-mainline: update to 5.4.74 and 5.4.74-rt42 respectivelyMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-11-15linux-firmware: drop bbappendMax Krummenacher
The package split for sd8997 has been upstreamed to openembedded-core. openembedded-core provides now a rtl8188 package which contains the firmware for rtl8188 and rtl8188eu. Use that one. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 48ea0df0902cf3b52d937e3e8f3405c34f862228) Additionally deleted the now empty file. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-11-12linux-toradex-mainline: disable configs that lead to latencyMing Liu
Explicitly disable kernel configs that could lead to latency on preempt-rt kernel. Also explicitly enable CONFIG_EXPERT which is being depended by CONFIG_PREEMPT_RT. Related-to: TOR-1354 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-11-12linux-toradex-mainline: add 'real-time' to SUMMARYMing Liu
Related-to: TOR-1354 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-11-12linux-toradex-mainline: drop a deprecated defconfig fileMing Liu
It's being referred nowhere, let's drop it. Related-to: ELB-3035 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-10-31Bump SRCREV hashes as used in build of Fri Oct 30 22:09:52 UTC 2020ci.toradex
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 115 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/115 Signed-off-by: ci.toradex <cicd@toradex.com>
2020-10-20linux-toradex-mainline-rt-4.19: drop deprecated defconfigsMing Liu
This is complementary commit of: [ 09fa0594: linux-toradex-mainline-rt: drop obsolete recipe ] The main recipe of linux-toradex-mainline-rt-4.19 has been dropped, drop the defconfigs as well. Related-to: ELB-2631 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-10-15linux-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>
2020-10-15linux-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>
2020-09-29Bump 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>
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)