Age | Commit message (Collapse) | Author |
|
For use-head-next, choose the latest U-Boot rather then 2022.07, so it
builds the latest U-Boot for the mainline distro.
Related-to: ELB-5669
Related-to: ELB-5670
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Change to build an upstream U-Boot and Linux kernel when using the
upstream distro rather than using the NXP fork.
Related-to: ELB-5670
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
With the addition of the Apalis Evaluation Board v1.2 device tree file in
linux-toradex, include the required files for deployment in the final image as
well.
Related-to: ELB-5533
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 952884d1f9b75ed012609855112955aab97af600)
|
|
meta-freescale commit 1652e927 ("imx-base.inc: fix KERNEL_IMAGETYPE's
override") changed to set KERNEL_IMAGETYPE with an override of higher
priority than aarch64. Follow that so that we get Image.gz kernel
images again.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add mwifiexconf to all machines (optionally) featuring Wi-Fi.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 88aa268d1698747e6ecb9531022858351da861b0)
|
|
meta-freescale master moved to the 6.1 downstream fork which no longer
provides all headers needed with our 5.15 fork.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Follow the pattern used in commit ce9a5ef ("machines: arch arm: follow
change to vendor subdir for dtbs")
Set the variable KERNEL_DTB_PREFIX with the relative path to the device
tree source files and then use it. This variable can then be used
in the creation of the u-boot-distro-boot script.
Related-to: ELB-5263
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
It's already added in meta-freescale layer.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit d521345d807d703affb4e23bb2709a087516ce0f)
|
|
Add the spidev overlays to overlays.txt so that they get applied
out of the box.
Related-to: ELB-4894
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 5d9713e72fb530540198970b1e69d87225a4b4c6)
|
|
This reverts commit 1542cf213aa446e6883ca2f4e6698e0eb0f40232.
Reenable building the dtb now available in the 5.15-2.1.x kernel.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 08711132d7c2c0e28091f0275f42bff6f85e15db)
|
|
Do comment out the device-trees that are not yet ported to the 5.15
kernel. Just give it no device-tree so that at least the machine does
build for now.
This commit is intended to be reverted once the device-trees are back in
5.15.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Related-to: ELB-4581
|
|
The kernel binary image is by default deployed into the rootfs, /boot/.
openembedded-core changed the way it is done in a not backwards
compatible way.
I.e. it now RRECOMMENDS instead of RDEPENDS the package which contains
the kernel binary image.
Commit 1c90b27d2c ("kernel: make kernel-base recommend kernel-image, not depend")
So the way to not deploy also changed. Change machines and recipes
which want to prevent kernel deployment accordingly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit da3b3020c9aeb378a2e90dc88e3fe20ca4821d05)
|
|
We dont have to install HDMI firmwares to firmware-imx-8 main package
any more, they are now already in firmware-imx-hdmi subpackage.
Related-to: ELB-3046
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 4e347e7ea7e615cc4eedaa6e25ad700fa2ed2bcc)
|
|
All our ARM 64 bit machines have the required features for armv8a-crypto
optimization. So build with that rather than with the more generic
aarch64.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The <machine.conf> files need change too.
Follow meta-freescale commit 30f5ce1d ("Generalize overrides subsystem for
NXP and Mainline support").
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The memory map updated to match bootloader changes,
allowing loading Linux kernel with size up to 64M.
Allocate 64M to load the kernel from FIT image:
- 0x9600_0000 for Colibri iMX8X and Apalis iMX8
- 0x4000_0000 for Verdin iMX8M Mini/Plus
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit e7751bf81c3634161c14d16a0857d02ca0be02cb)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add device trees for Ixora-v1.2 carrier boards
Related-to: ELB-2801
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit 9171d788022f8abd8e56eca991ddb5635efbf980)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Fix the leftovers which the script didn't catch.
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>
|
|
Apalis iMX8QP device trees should be deployed
for the IMX8QP SKUs with prodid ID 48 and 49
Related-to: ELB-3338
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit f50e305d5396854c7df13e3bb9ea997b070bf58f)
|
|
'PREFERRED_PROVIDER_u-boot' is being checked in OE:
```
meta/classes/uboot-sign.bbclass
meta/classes/kernel-fitimage.bbclass
```
Let's set PREFERRED_PROVIDER_u-boot for some machines, so now all
Toradex's modules have it defined in machine files.
Related-to: TOR-1704
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 0fdc2e323e6230ded42ab7d2af1ffb0379a50b01)
|
|
This ensures the dtb/dtbo files in fitimage could be loaded correctly on
targets.
Related-to: TOR-1700
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 1392d014bcd9496e3fc1d8afa168e4c6ef1dada4)
|
|
As an HDMI interface should be turned on by default, make the
corresponding overlays to be applied on boot.
Related-to: ELB-3395
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit ff1e97ad3a20c66ac5d59263d75c86af07422dc1)
|
|
In order to build also with use-mainline-bsp ATF_PLATFORM and
IMX_BOOT_SOC_TARGET variable assignments are no longer generically
set with SoC override and are now to be set by the machine
configurations.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
As we add the git hash to PV otherwise one gets a warning that both
the 2020.07 and 2020.04 recipes can be built.
Due to COMPATIBLE_MACHINES the (correct) 2020.04 U-Boot is chosen also
without the patch for the i.MX 8 based machines.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit f0643dbc8548430458523f370bc902a5cef1e734)
|
|
This variable is not used. Drop its definition.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit bfaa623b5a7a8d4a866aa6784dceaf58a0897176)
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
In order to make git hash bumping work with the imx-sc-firmware we need
to have our own recipe in our layer. This also has the advantage that
the recipe name reflects the actual package version (PV) again. Use
imx-sc-firmware-toradex to make sure we do not interfere with the NXP
provided variant.
Make sure our machines pick imx-sc-firmware-toradex by setting
PREFERRED_PROVIDER accordingly.
Related-to: AUT-355
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The ARM64 Linux raw image now amounts to 32MB. Using Image.gz saves
about 20MB (Image.gz ~ 12MB). Use Image.gz as default boot image format.
Relates-to: ELB-1372
Signed-off-by: Igor Opaniuk <igor.opaniuk@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>
|
|
In the kernel sources that suffix was dropped.
Follow this in the machine configuration.
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The changes include:
- Drop PREFERRED_PROVIDER_u-boot-fw-utils from machine conf.
- Drop u-boot-toradex-fw-utils recipes.
- Drop fw_unlock_mmc.sh, that's not needed for libubootenv.
- Drop u-boot.inc, use default u-boot.inc from OE layer.
- Add fw_env.config to uboot recipe.
- Set UBOOT_INITIAL_ENV to u-boot-initial-env, which is being referred
in libubootenv.
Related-to: ELB-2552
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Deploy device trees for the e-con Systems e-CAM50_CUIMX8.
Related-to: ELB-2793
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit ce40f8cb4740fb8c4f825b0fab57a365f3f8a69d)
|
|
IMX_DEFAULT_BSP is set to 'mainline' by default, we should change it to
nxp for apalis-imx8.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
U-Boot used to be configured by 'make <board>_config', however with the
move integration of the Kconfig system that changed to use a config file
ending in _defconfig. Usually those names are <board>_defconfig.
So nowadays one configures with 'make <whatever>_defconfig'.
If make is called with <whatever>_config that is silently changed to
<whatever>_defconfig.
Change our config targets to the new name to prevent confusion.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 30b49e9696e82869cffc9994d7b5391d75c13dec)
|
|
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 77e97f0d6e1c131b8039cd62937177b8f9688411)
|
|
Related-to: ELB-1254
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ad827347548201612eee97129b63db07b3e9a884)
(cherry picked from commit e64e8892ddc0527ec157ed82bf917929774f0916)
|
|
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 started to set specialised tunes for the i.MX8 based
machines. Override that in our machine specific files so that the
user space packages all have the same ARCH 'aarch64' and need not be
built for each CPU flavour individually.
However change the tune include file so that one could change to one of
the more speciallized tune if one wants to do so at the expense of
additional compile time.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add UBOOT_ENTRYPOINT and UBOOT_RD_LOADADDRESS which are needed by
fitimage.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 3371f4972842fedb804d2a350e877ab51b5db6e6)
(cherry picked from commit 64f948358c954682cec75b1e76ac66e0cb93c660)
|
|
That's already handled by WKS_FILE_DEPENDS, drop the redundant
dependencies.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
This reverts commit e3e5aba1c725ad3ff4daf128ad525625923a653d.
|
|
meta-freescale master (for zeus) now updates to these recipes versions.
Drop these here.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|