Age | Commit message (Collapse) | Author |
|
Add new verdin-imx8mm PID4 0087 support that is based on PID4 0059 with
the SPI CAN controller chip removed.
Related-to: ELB-5631
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
(cherry picked from commit b119c8585daa546a09b755bbd88667c0b9a7bc3e)
|
|
Add new PID4 0086 support that is based on PID4 0059 Verdin iMX8M Mini
Quad 2GB IT V1.1D with some hw changes:
* SoC Change to DualLite
* eMMC change from 16GB to 8GB
* Removal of the ADC
Related-to: ELB-5578
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
(cherry picked from commit 1b5eecef5ea8e074484092bad4e1846d22a8fe47)
|
|
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>
|
|
The mallow device tree sources are not yet merged in mainline.
Don't try to build them for now.
Revert this commit once mainline has the sources merged.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Verdin SoM can have a hardware TPM with them (for now on carrier boards),
so add the tpm2 machine feature to enable software support for the device.
The tmp2 means that the software supports TPM 2.0 specification.
Related-to: ELB-5500
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
(cherry picked from commit 89ee719c06f69a28d8b6c2af5cacf6bd946878b7)
|
|
Add Mallow device tree to verdin imx8mm machine configuration.
Related-to: ELB-5216
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
(cherry picked from commit 082a8fb7fb8fdacf8a4ffab58e3549b55790a8b5)
|
|
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>
|
|
The upstream U-Boot recipe in meta-toradex-bsp-common was split into
a pinned (currently to 2022.07) and a mainline recipe building current
HEAD.
For a OE master branch we always use the latest development version.
Related-to: ELB-5357
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The revert of don't load etnaviv and hantro modules dropped
modprobe-conf. However, a subsequent update of linux-imx-headers
providing 5.15 version inadvertently re-introduced it again.
Drop modprobe-conf for good.
Fixes: 718e9b380f06 ("linux-imx-headers: provide 5.15 version")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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>
|
|
This reverts commit da2e5ab836c8b81497ec7e97727b33dea3a7b719.
Now with display output available in master/upstream both etnaviv and
hantro_vpu do serve real purpose so let us enable them again.
|
|
Load the same overlays also on upstream by default. While the
verdin-imx8mm_spidev_overlay.dtbo got already loaded, this now also
loads the verdin-imx8mm_dsi-to-hdmi_overlay.dtbo by default.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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>
|
|
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>
(cherry picked from commit 5a1617c4d363e6b1ac23d6884b47cd113b395d84)
|
|
The imx-boot binary can be put together with the imx-mkimage/imx-boot
recipe or now also with U-Boot/binman. meta-freescale changed the default
for all machines from using imx-mkimage to use binman.
Move to use binman, change the downstream U-Boot recipe accordingly.
Related-to: ELB-5155
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add wifi and nonwifi devicetrees to both verdin-imx8mm and verdin-imx8mp
machines.
Related-to: ELB-4681
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 2547f335dc277ba173340f366f1e5bff096cc9df)
|
|
Add SOC_ATF_BOOT_UART_BASE in relevant machine conf instead of having
IMX_BOOT_UART_BASE added to EXTRA_OEMAKE in imx_atf_%bbappend, this
change remove the dependency on our .bbappend to have a working ATF binary.
SOC_ATF_BOOT_UART_BASE variable support was introduce in commit
453def7956c8 ("imx-atf: allow setting the UART used during boot")
in meta-freescale.
Related-to: ELB-4889
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit b2db48cac3b2384857e9b6c2b418533122c5e03a)
|
|
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)
|
|
Pick proper overlays when building for mainline.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 4cec03039eb82142329aecd3e1efb0f2c1d2c9e8)
|
|
Related-to: ELB-4838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 91f253942aef769901bc5e5058851fdc4d49a64c)
|
|
Turns out that somehow we still have some old override syntax stuff
laying around!
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 70bc6c6d11a0d1c693fa63bdcbcafee8cd793bdf)
|
|
Adapt to new U-Boot env memory layout:
UBOOT_DTB_LOADADDRESS = "0x50200000"
UBOOT_DTBO_LOADADDRESS = "0x50240000" (using $fdt_addr_r + 256k)
UBOOT_ENTRYPOINT = "0x48200000"
UBOOT_RD_LOADADDRESS = "0x50300000" (not used in regular BSP)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit d319cae50f2e18f696c4a2aac5b2d22b9b21e1e7)
|
|
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>
(cherry picked from commit 6c823e67ef91b8d25e6b2c06e3cff6ce3af9ba04)
|
|
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>
|
|
This overlay enables spidev by default.
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
|
|
After v2022.07 the device tree files were unified with the kernel
ones including using their file names.
Follow that if building with use-head-next override.
Related-to: ELB-4315
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Related-to: ELB-4581
|
|
Add new Toradex SKU "0068 Verdin iMX8M Mini Quad 2GB WB IT".
This SKU is similar to "0055 Verdin iMX8M Mini Quad 2GB WB IT", but has
compared to 0055 no SPI-to-CAN transceiver placed.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit cef0c925da692e7db1c23ad9260f7475a48b12fe)
|
|
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>
|
|
U-Boot is now able to build imx-boot as part of the u-boot build.
Use that instead of using imx-boot and imx-mkimage recipes.
Also remove a comment on missing USB functionality as that starts
to work.
Related-to: ELB-4243
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
They currently do not apply and the display functionality is not
available in mainline.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Suspend/resume seems to not work if these modules are loaded and currently
the display output doesn't work so they serve no real purpose.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the distrooverride 'upstream' set override 'use-mainline-bsp' and
use the mainline kernel recipe.
Related-to: ELB-4243
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)
|
|
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>
|
|
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)
|
|
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)
|
|
We drop support for Verdin iMX8M Mini V1.0B and restart with
the version marking in the device-tree names.
Related-to: ELB-3551
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit cd3fc64657d1ec5864803659871b6a772aaab35c)
|
|
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)
|
|
The DDR RAM on the i.MX8M Mini starts at 0x40000000. Set the
addresses used for FIT image creation close to the beginning so
that this also works for modules with only 1GB.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 511b5134a837e85fb79323d3316c498523b04651)
|
|

Related-to: ELB-3131
Related-to: ELB-3133
Related-to: ELB-3136
Related-to: ELB-3137
Related-to: ELB-3138
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 110db10c26c710ad99cdf013289ee82fdf65c841)
|
|
Add the following additional SKU product ids which are compatible
with the verdin-imx8mm machines.
0059: Verdin iMX8M Mini Quad 2GB IT
0060: Verdin iMX8M Mini DualLite 1GB WB IT
Related-to: ELB-3128
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 47ee60494d3d6579e2aaa5739ea515fcd86e6b90)
|
|
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)
|