summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-21layer.conf: add dunfell, drop warrior in compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-21linux-toradex-mainline-4.14: drop recipeMax Krummenacher
With 'c6427ee apalis-tk1-mainline: use 5.4 kernel' linux-toradex-mainline-4.14 is no longer used. For a mainlinish kernel linux-toradex-mainline in meta-toradex-bsp is now used. This currently builds a 5.4.y based kernel. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-24linux-toradex-mainline: allow build with latest libbfdMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-03apalis-tk1-mainline: use 5.4 kernelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-02-03u-boot-toradex-tk1: use python3 for buildMax Krummenacher
OE post zeus dropped Python 2. Provide a workaround so that one can still build the TK1 U-Boot. When we update U-Boot to 2020.01 or later Python 3 will be supported and this patch can be reverted. Completes '691b446 u-boot.inc: use python3 for build'. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-28linux-toradex-mainline: update to 4.14.168Max Krummenacher
Remove upstreamed patch: Commit acab21ffa8c0951f2180f80184c921fa4799c786 'mmc: core: fix possible use after free of host' fixes the issue with the same change as 0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit db41fd66b3b56ef1f33ac2ef9eacb33d41cd1738) Conflicts: recipes-kernel/linux/linux-toradex-mainline_4.14.bb Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-28apalis-tk1: move install of the x11 driversMax Krummenacher
Move installing of the driver package from machine firmware to the XSERVER variable where it belongs. This allows an image without X11 to not pull in unnedded userspace drivers. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8c8b350b079619edde97e0c11b90f85062532911)
2020-01-25u-boot.inc: use python3 for buildMax Krummenacher
OE dropped python2 support. Unify u-boot.inc with openembedded-core which now uses python3 for the build. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-31linux kernel & u-boot recipes: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 8d3d527425b592480900d006c76694877755486a) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: recipes-kernel/linux/linux-toradex-mainline_4.14.bb recipes-kernel/linux/linux-toradex_3.10.40.bb
2019-12-18linux-toradex-mainline: use new versioningStefan Agner
Use toradex-kernel-localversion class to implement the new versioning scheme for U-Boot. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-12-18linux-toradex: use new versioningStefan Agner
Use toradex-kernel-localversion class to implement the new versioning scheme for U-Boot. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-12-18u-boot-toradex: use new versioningStefan Agner
Use toradex-u-boot-localversion class to implement the new versioning scheme for U-Boot. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-12-16u-boot-tk1.inc: put python2 from python-native in the pathMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-15u-boot: make u-boot*.inc file uniqueMax Krummenacher
Otherwise the picked u-boot.inc file depends on the bblayers variable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-11-21linux-toradex-mainline: update to latest 4.14.155Max Krummenacher
0026-apalis_t30-fix-mmc1-cmd-pull-up.patch is now applied upstream Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 09dac9171391c90a6cfa0ae8c9ce4029a130b7e6)
2019-11-02linux-toradex-mainline: update to latest 4.14.151Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 6adc58486ec75545ba6b3918ae72e0a7fe2cbd2c)
2019-10-26perf: remove scripting from configurationMax Krummenacher
Latest Openembedded (Zeus) builds perf with python 3 which requires a 5.x kernel or a kernel patch. Remove scripting from the perf configuation to allow building against the 3.10 L4T kernel. While at it change all overrides to the CPU specific tegra124 override rather than using apalis-tk1. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-26linux-toradex-mainline: allow perf scripting with python3Max Krummenacher
Latest Openembedded (Zeus) builds perf with python 3 which requires a 5.x kernel or a kernel patch. Backport the patch to 4.14. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-23layer.conf: add zeus, drop thud from compatible layersMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-22README: rework for master branchesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-17linux-driver-package: fix libglx deploymentMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-17xserver-xorg_1.17.4: merge bbappendMax Krummenacher
After moving the bb file here, there is now value in keeping the bbappend. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-29linux-driver-package, mesa: rework the recipeMax Krummenacher
Recent OE adds additional shared object checks which errors out on the way the binary Tegra drivers are injected. Rework the recipes, so that - mesa no longer PROVIDE any OpenGL shared objects and the binaries. - linux-driver-package now depends on mesa to install development headers - linux-driver-package PROVIDE and RPROVIDE the OpenGL shared objects. - linux-driver-package drops the additional arm-linux-gnueabihf/tegra path to the *.so* files. - the apalis-tk1 machine PREFERS linux-driver-package as the OpenGL provider. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-29linux-driver-package: merge our bbappendMax Krummenacher
While at it unify whitespace usage. This commit does not change any configuration or behaviour, it prepares for a rework of the recipe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-29perf: limit bbappend to apalis-tk1Max Krummenacher
The issue only manifests on the old 3.10.40 kernels. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-29libgstomx-0.10: remove recipeMax Krummenacher
OE dropped the obsolete gstreamer version 0.10. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-14mesa: rework pkgconfig patch to mesonMax Krummenacher
OE-core changed to build mesa with meson. Rework our patches accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-14xserver-xorg: Backport patch to remove using sys/io.hMax Krummenacher
latest glibc dropped support for sys/io.h on arm, which is fixed in upstream xserver, as a bonus we can drop musl specific patch which was doing something similar up until now. Fixes |In file included from ../../../../xorg-server-1.20.4/hw/xfree86/int10/generic.c:15: | ../../../../xorg-server-1.20.4/hw/xfree86/common/compiler.h:767:10: fatal error: 'sys/io.h' file not found | #include <sys/io.h> | ^~~~~~~~~~ | 1 error generated. (From OE-Core rev: 1c72953b6c890b8411fec997b5c28a17eed82897) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-14linux-driver-package: add additional rdepsMax Krummenacher
The gstreamer plugins now require addional runtime depends or one gets qa errors of the following form: | ERROR: linux-driver-package-21.7.0-r7 do_package_qa: QA Issue: /usr/bin/nvgstplayer-1.0 contained in package linux-driver-package-nvgstapps | requires libgstvideo-1.0.so.0, but no providers found in RDEPENDS_linux-driver-package-nvgstapps? [file-rdeps] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-13eglinfo: drop bbappend, as the recipe has been droppedMax Krummenacher
OE-core dropped eglinfo, thus drop the bbappend on said recipe. aa36510ebe eglinfo: remove the recipe Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-13layer.conf: add warrior, drop sumo from compatible layersMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-13linux-driver-package: no longer deploy gstreamer 0.10 based filesMax Krummenacher
meta-openembedded dropped gstreamer 0.10 with commit 010c2f388. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-07linux-toradex-mainline: fix a inconsistent indentionMing Liu
Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-09-07linux: drop linux-toradex-mainline.incMing Liu
This file is conflicting with another include file with same name in meta-toradex-bsp-common layer, and no recipe is actually including this file, so drop it. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-08-26apalis-tk1-mainline: pin kernel version to 4.14Apalis-TK1_Console-Image_3.0b2.65-20190830Apalis-TK1-Mainline_Console-Image_3.0b2.65-20190830Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-26linux kernel & u-boot recipes: update to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-20tdx-k20-fw: drop a invalid license settingMing Liu
There is not a generic license called "FREESCALE_SEMICONDUCTOR_SOFTWARE_LICENSE_AGREEMENT", drop it, use "CLOSED" instead, this fixes a following QA warning: | tdx-k20-fw: No generic license file exists for: FREESCALE_SEMICONDUCTOR_SOFTWARE_LICENSE_AGREEMENT in any provider Also remove a relative path reference in LIC_FILES_CHKSUM. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-08-20meta: drop useless EXTRA_IMAGEDEPENDSMing Liu
For the recipes listed in EXTRA_IMAGEDEPENDS, bitbake would create a dependency as: | image_pn:do_image_complete -> imagedepends_pn:do_populate_sysroot but we actually need a image task depend on the deploy tasks of EXTRA_IMAGEDEPENDS recipes, setting EXTRA_IMAGEDEPENDS would not help with that, so drop it, use WKS_FILE_DEPENDS instead. We also need drop "IMAGE_BOOT_FILES +=", that would override "WKS_FILE_DEPENDS ?=". Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-08-16apalis-tk1: linux-toradex: load module xhci-hcd on bootPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-16linux-driver-package: move firmware where gk20a expects it to bePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-08-16linux-driver-package: Fix nv and nvfb services to be enabledPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-22apalis-tk1: machines: deploy a distro boot scriptMax Krummenacher
This depends on and deploys the distro boot script provided by u-boot-distro-boot. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-22linux-driver-package: fix commit rework to allow building for SysVMax Krummenacher
commit 8691ba636cb2 allowed to also use SysV init. However, if only systemd is configured in DISTRO_FEATURES the content of /etc/init.d is deleted after the install step. This results in the scripts nv and nvfb not being present. Fix this by installing them additionally in /usr/bin so that the systemd service can call them. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-11apalis-tk1: enable wic.bmap image generation as defaultMax Krummenacher
The bmap file allows to use the bmap tools to flash the wic image. Using bmap is faster than using dd. bmaptool copy --bmap <image>.wic.bmap <image>.wic.gz /dev/sdX Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-11linux-toradex_3.10.40: add cflags for kernel modulesMax Krummenacher
In the thud setups modules no longer load because they seem to be compiled with pic by default. E.g. at runtime: [ 9.302483] apalis_tk1_k20: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0) Adding -fno-pic makes them load again. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-10u-boot-fw-utils: choose flavour though prefered providerMax Krummenacher
This allows to use u-boot-fw-utils in image recipes. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-10u-boot-toradex: update to 2019.07 basedMax Krummenacher
Update to a 2019.07 based U-Boot. Use the openembedded master recipes for u-boot_2019.07 as a base. While at it append -tk1 to PN to have a name different from the u-boot recipe name for our NXP based SoM and set the prefered provider accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-19machines: provide a machine name stringMax Krummenacher
Provide the MACHINE_NAME variable which can be e.g. used as part of the image name. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-04apalis-tk1: unconditionally install linux-driver-packageMax Krummenacher
linux-driver-package* contains more than just X11 components. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-04linux-driver-package: fix do rootfsMax Krummenacher
Assign the systemd service in the package providing them. Prevents the following do_rootfs error if linux-driver-package is installed but linux-driver-package-*boot is not: | WARNING: linux-driver-package.postinst returned 1, marking as unpacked only, configuration required on target. | ERROR: Postinstall scriptlets of ['linux-driver-package'] have failed. If the intention is to defer them to first boot, | then please place them into pkg_postinst_ontarget_${PN} (). This is caused by sytemctl trying to enable the not existing services nv.service and nvfb.service. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>