Age | Commit message (Collapse) | Author |
|
Debugging reveals that it is really also expecting certain firmware at
the original path:
[ 134.878913] firmware tegra12x!vic03_ucode.bin: firmware: requesting tegra12x/vic03_ucode.bin
So make a symbolic link rather then copying them.
Without older systemd's firmware usermode helper fallback in place using
an alternative file name leads to a very long timeout. Fix this by
linking the alternative nameed firmware to the one tried first.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 5d206eb3265bc6bc96442ffcd1cc4ce1f80f0714)
(cherry picked from commit 71f68117693bfd479774aac42412a18fdf77a2e8)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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)
|
|
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>
|
|
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
|
|
Use toradex-kernel-localversion class to implement the new versioning
scheme for U-Boot.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use toradex-kernel-localversion class to implement the new versioning
scheme for U-Boot.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use toradex-u-boot-localversion class to implement the new versioning
scheme for U-Boot.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Otherwise the picked u-boot.inc file depends on the bblayers variable.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 6adc58486ec75545ba6b3918ae72e0a7fe2cbd2c)
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
After moving the bb file here, there is now value in keeping the bbappend.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
The issue only manifests on the old 3.10.40 kernels.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE dropped the obsolete gstreamer version 0.10.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE-core changed to build mesa with meson. Rework our patches accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
meta-openembedded dropped gstreamer 0.10 with commit 010c2f388.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This depends on and deploys the distro boot script provided
by u-boot-distro-boot.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
This allows to use u-boot-fw-utils in image recipes.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
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>
|
|
linux-driver-package* contains more than just X11 components.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|