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-5669
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
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)
|
|
The upstream Linux recipe in meta-toradex-bsp-common was split into
a pinned (currently to 6.5.5) and a mainline recipe building current
HEAD of the master branch.
For a OE master branch we always use the latest development version.
Related-to: ELB-5359
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
|
|
Pick proper default overlays when building for downstream due to
changed overlay naming scheme.
Related-to: ELB-4754
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit b70c8f33240dead59d75d8331a60bcab819b2413)
|
|
The device-trees got merged and we can revert this commit again that
disables most of the devicetrees.
This reverts commit 56806394031c06b6d2d45f7c3d913cc8e3138658.
Related-to: ELB-5056
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 8c7c6ef95ebc39785931ad0fe2d7a3373eb777e8)
|
|
It's already added in meta-freescale layer.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit bb13a03251aa0d3311fe74c853805f1aa880d29d)
|
|
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>
(cherry picked from commit 310715ee5f84da7267a039b8adee63614015c61e)
|
|
Do comment out the device-trees that are not yet ported to the 5.15
kernel. Just give it the eval device-tree that came in through mainline
so that it builds.
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>
|
|
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>
|
|
We recently added the missing device trees. Follow them in the machine
file.
Related-to: ELB-2800
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 58602d640c5dd853393174804fd8f18702b26b57)
|
|
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>
|
|
'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)
|
|
Remove display-edt7 panel timings from the list
of pre-enabled overlays. Use display-vga_overlay.dtbo
Related-to: ELB-3887
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
(cherry picked from commit 06037dd7b8b5232d5d84dc30b46d13970b499981)
|
|
follow the removal in kernel and also remove them in OE.
Related-to: ELB-3846
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit a2c41a85fac38f908934536826fbedb96a39c9ca)
|
|
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)
|
|
meta-freescale changed the way the SoC revision is selected.
It used to default to rev B0 with the override imx8qxpc0 selecteing rev C0.
Now it defaults to rev C0 with the MACHINE_FEATURE soc-revb0 selecting rev B0.
https://github.com/Freescale/meta-freescale/commit/80345fbe89c5ac96975f9c7ef38e8dc8d2a36346
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
IMX_DEFAULT_BSP is now set to use-mainline-bsp by default.
Explicitely set use-nxp-bsp for colibri-imx8x.
Building with use-mainline-bsp currently fails.
- imx-boot is not building.
- device tree overlays are not present.
- the mainline kernel only provides basic features for i.MX 8X.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9fa609d46425041007ba1bb58ffb3c1efecf7d29)
|
|
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>
|
|
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)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 40da4d5c230785fb0fe2deff62686ebb37aeadc1)
|
|
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)
|
|
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 changed in the u-boot-toradex toradex_imx_v2020.04_5.4.24_2.1.0.
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>
|
|
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>
|
|
- Drop use-mainline-bsp from MACHINEOVERRIDES for upstream, it's
already being handled by IMX_DEFAULT_BSP, we should use that to avoid
multiple use-mainline-bsp in MACHINEOVERRIDES.
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)
|
|
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)
|
|
Change the machine 'colibri-imx8x' to build for the C0 silicon SoC version.
Add an additional machine 'colibri-imx8x-v10b' which builds for the
B0 SoC version.
Related-to: ELB-2729
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0911ad890d40dfc9bd7df886c0dcde74a1b41fa7)
|
|
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 77e97f0d6e1c131b8039cd62937177b8f9688411)
|
|
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)
|
|
PREFERRED_PROVIDER_virtual/kernel_upstream_preempt-rt
So far colibri-imx8x is not supported yet in linux-toradex-mainline-rt
source, we need spin it to linux-toradex-mainline temporarily, add note
for this to not confuse developers.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit f22d1f900a27ec90660f3dd3f4993c604e59006b)
|
|
The seco firmware is now split out of firmware-imx.
The seco firmware has now a i.MX8X B0 and C0 silicon version.
Related-to: ELB-2351
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 78802e3ecd139a5031c06821526f249e060894c1)
(cherry picked from commit 264c9e55a59849b1370e4638020cb364662357b0)
|
|
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>
|