Age | Commit message (Collapse) | Author |
|
After the imx6q-apalis-eval-v1.2.dts file was introduced to
meta-toradex-bsp-common, add the DTB to apalis-imx6.inc so the file will
be correctly deployed to the image under /boot/ folder.
Related-to: ELB-5532
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Add the following PID4 support for Apalis iMX6 without WinCE license:
- 0082 Apalis iMX6D 512MB
- 0083 Apalis iMX6Q 1GB
- 0084 Apalis iMX6D 1GB IT
- 0085 Apalis iMX6Q 2GB IT
Related-to: ELB-5556
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
|
|
Booting with a FIT image (that includes a ramdisk image) is failing on
several machines with the following error message:
Error: ramdisk overwritten
Ramdisk image is corrupt or invalid
This is because the boot script uses ramdisk_addr_r to load the FIT
image, and this is overlapping with the default fitimage ramdisk load
address.
Fix by adjusting the fitimage ramdisk load address:
UBOOT_RD_LOADADDRESS = ramdisk_addr_r + 32M
Build and boot time tested on all impacted machines.
Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
|
|
After change, the KERNEL_DEVICETREE contains the following DTBs:
```
imx6q-apalis-eval.dtb
imx6q-apalis-ixora.dtb
imx6q-apalis-ixora-v1.1.dtb
imx6q-apalis-ixora-v1.2.dtb
```
Also remove "+=" usage, change to ":append" instead, since "+=" might
not work if overrides being used somewhere.
Related-to: ELB-4906
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The mainline kernel now has two recipes, one for non RT and one for the
RT flavour.
Set the correct one depending on the set overrides.
Related-to: ELB-4868
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-4810
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Get to a readable and editable format how the overlays in
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT are written.
This commit intends no functional changes, only formatting.
Related-to: ELB-4810
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Adapt to new U-Boot env memory layout:
UBOOT_DTB_LOADADDRESS = "0x88200000"
UBOOT_DTBO_LOADADDRESS = "0x88300000" (using $pxefile_addr_r)
UBOOT_ENTRYPOINT = "0x84200000"
UBOOT_RD_LOADADDRESS = "0x88400000" (not used in regular BSP)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Restructure machine configuration files slightly to ease future
maintenance. Just cosmetic, no functional change at all.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This overlay enables the spidev driver on the apalis imx6 spi interface.
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
|
|
meta-toradex-bsp changed to build U-Boot from our own recipe rather
than bbappending to what openembedded-core provides. Change the
machines to use the new recipe.
Relates-to: ELB-4680
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Currently the VGA overlay does not work with mainline kernel,
disable it till a better solution is implemented to allow
booting/testing the current image.
Related-to: ELB-4649
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Related-to: TEI-919
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 1b63ba8741616a22be9bda723c49fabad389b696)
|
|
For the machines functional in mainline (sources.denx.de) switch
to build directly from the mainline repo.
While at it drop setting PREFERRED_PROVIDER for u-boot-fw-utils as this
is no longer used and replaced by libubootenv.
Related-to: ELB-4090
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is the result of automated script (0.9.3) conversion:
+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]
../openembedded-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
NXP provides proprietary VPU libraries with media codecs,
required for video/audio decoding.
The support of VPU libraries might be required for Torizon compatibility
Related-to: ELB-3945
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit a4f212ee0314ddab4129da607bfa922a94f7e6b9)
|
|
Following NXP proprietary VPU libraries are available
in meta-freescale recipe: firmware-imx-vpu-imx6q,
firmware-imx-vpu-imx6d.
Due to the decision to remove proprietary code
from the upstream build,these binaries have to be dropped.
Related-to: ELB-3945
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit e2d6c4046e46e8fffdad2df84f6c432cd586c2ca)
|
|
This is needed for booting fitimage.
Related-to: TOR-1700
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 25776f8a7992538ad721edd91b36c993057bf3ff)
|
|
Drop redundant IMAGE_BOOT_FILES_append/WKS_FILE_DEPENDS_append, they
are already in meta-freescale-3rdparty.
Related-to: ELB-3583
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit ddd76cf2bb716014a6a66604752803a306b1dc61)
|
|
As HDMI interface should be turned on by default, make the corresponding
overlays to be applied on boot.
Related-to: ELB-3146
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit ee9ace4e3b4b652b7128ef07c3bedb0617cb958d)
|
|
Add existing overlays which were choised to load on boot.
Parallel RGB: apalis-imx6, apalis-imx8x, colibri-imx8x
Display 7" Parallel: apalis-imx6-upstream
Resistve Touch: colibri-imx8x
DSI-HDMI: verdin-imx8mm
Related-to: ELB-3146
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 61f5657f8b1fb9c2f8d49bbbab198e1fcdcf494f)
|
|
Using "+=" overwrites "?=" in some cases which then dropes the
creation of wic images for apalis/colibri-imx6.
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This drops the linux-toradex-rt recipe in favour of combining its
functionality into the linux-toradex_5.4-2.1.x.bb recipe.
The override preempt-rt applies the RT patch and changes the kernel config
to use PREEMPT_RT.
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The package name change is now in imx-base.inc in meta-freescale, drop
the override. This prevents a build error if using use-mainline-bsp:
| ERROR: Nothing RPROVIDES 'xf86-video-imx-vivante' (but ...packagegroup-core-x11-xserver.bb RDEPENDS on or otherwise requires it)
| xf86-video-imx-vivante was skipped: incompatible with machine apalis-imx6 (not in COMPATIBLE_MACHINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
IMX_DEFAULT_BSP set in the distro decides on use-mainline-bsp and sets
the override in imx-base.conf.
Set PREFERRED_PROVIDER_virtual/kernel accordingly in apalis-imx6.inc.
Drop MACHINE_BOOT_FILES and use the boot file directly, following the
rename of the source file to boot.scr-${MACHINE}.
Also drop a redundant KERNEL_IMAGETYPE definition.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The prefered provider matching a downstream kernel is set in the distro.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 17d3d131d2d8f8a0bd68f639fdac6b2873c2dde8)
|
|
linux-toradex-mainline with prempt-rt in overrides now builds a kernel
with the RT patch applied. Change PREFERRED_PROVIDER to use
linux-toradex-mainline when use-mainline-bsp and prempt-rt are in
overrides.
Related-to: ELB-2631
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ac5028651745ea2b541dbc0a847ffd737fc5ef76)
|
|
There is a little bit messing with the usages of upstream and
use-mainline-bsp overrides, let's change to use use-mainline-bsp for
kernel and devicetree choosing, upstream would be used to set
use-mainline-bsp in MACHINEOVERRIDES.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 06e21ad7f07f03604c405a6ef0ca119f1d9aabc5)
|
|
Related-to: ELB-2593
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 20a52efb4a09b37cc4ce76fc0d1b57702997e3ac)
(cherry picked from commit 82f885af14e9dfd5f27a6b8b6f7237d065f542be)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 3d68713e7e28fae312fa869f0742a13edf1700c9)
|
|
The changes include:
- Set PREFERRED_PROVIDER_u-boot-default-script to u-boot-distro-boot.
- Drop MACHINE_BOOT_FILES, we dont have to maintain a extra variable.
- Drop colibri-imx7-emmc.conf file, it's already in
meta-freescale-3rdparty layer, move Toradex related definitions to
colibri-imx7-emmc.inc file.
- Drop u-boot-distro-boot from WKS_FILE_DEPENDS, to avoid multiple boot
scripts in it.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
meta-freescale master (for zeus) now updates to these recipes versions.
Drop these here.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The to be removed device trees are no longer part of the
KERNEL_DEVICETREE variable in the meta-freescale-3rdparty layer.
Avoid confusion and remove this unnecessary _remove.
Signed-off-by: Stefan Agner <stefan.agner@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.
Signed-off-by: Ming Liu <ming.liu@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>
|
|
Update to a 2019.07 based U-Boot.
Use the openembedded master recipes for u-boot_2019.07 as a base.
This makes the u-boot recipe in recipes-bsp/u-boot-mainline/ obsolete,
delete it.
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>
|
|
Use for all Toradex machines exept apalis-imx8 a mainline based U-Boot.
(For the i.MX8QM mainline is not yet able to boot the kernel)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
According to the Yocto manual v.2.6.1
(https://www.yoctoproject.org/docs/2.6.1/mega-manual/mega-manual.html#var-IMAGE_FSTYPES):
Due to the way the OpenEmbedded build system processes this variable, you
cannot update its contents by using _append or _prepend. You must use the +=
operator to add one or more options to the IMAGE_FSTYPES variable.
Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
|
|
Actually make use of them various upgrades.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is required since meta-freescale commit a4158e3425a7
("gstreamer1.0: Set DEFAULT_PREFERENCE as -1 to imx version") et. al.
and is analogous to meta-freescale-distro commit 29e7a3d322c7
("fsl-base.inc: Set PREFERRED_VERSION for Gstreamer to use i.MX Version"
).
Colibri iMX6ULL and Colibri iMX7 were added as according to the i.MX
Reference Manual L4.1.15_2.1.0-ga they at least could profit from the
Pixel Pipeline (PxP) DMA-ENGINE driver.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Switch to the generic compressed Kernel image type (zImage) instead of
the U-Boot specific uImage format.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
We move to use SPL/u-boot.img also in the recovery case.
Drop building the u-boot-recover.imx and no longer rename the
u-boot-spl.img file to the misleading name u-boot-spl.imx.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
These modules to not have the epdc IP, so there is no need to deploy the
large firmware files.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add a inc file to allow downstream specific amendments.
Currently used to inject Toradex Easy Installer image creation.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|