summaryrefslogtreecommitdiff
path: root/conf/machine/verdin-imx8mm.conf
AgeCommit message (Collapse)Author
2024-04-06verdin-imx8mm: add new 0087 pidJoao Paulo Goncalves
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)
2024-02-15verdin-imx8mm: add new pid4Joao Paulo Goncalves
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)
2024-02-07mx8: machines: fix kernel imagetypeMax Krummenacher
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>
2024-01-29verdin-imx8mm: remove mallow device trees for upstreamMax Krummenacher
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>
2024-01-21verdin: add tpm2 machine featureJoao Paulo Goncalves
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)
2024-01-21machine: verdin-imx8mm: add mallow device treeJoao Paulo Goncalves
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)
2023-11-30machines: add mwifiexconf to all machines featuring wifiMarcel Ziswiler
Add mwifiexconf to all machines (optionally) featuring Wi-Fi. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 88aa268d1698747e6ecb9531022858351da861b0)
2023-10-11machines: follow upstream linux recipe changesMax Krummenacher
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>
2023-09-24machines: follow upstream u-boot recipe changesMax Krummenacher
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>
2023-08-15verdin-imx8mm: mainline: fix having dropped modprobe-confMarcel Ziswiler
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>
2023-08-06linux-imx-headers: provide 5.15 versionMax Krummenacher
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>
2023-08-03Revert "verdin-imx8mm: mainline: don't load etnaviv and hantro modules"Marcel Ziswiler
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.
2023-08-02machine: verdin-imx8mm: load same overlays also on upstream by defaultMarcel Ziswiler
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>
2023-07-07machines: arch arm64: use var to set relative path to dtbMax Krummenacher
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>
2023-06-28machines: fix fitimage ramdisk load addressSergio Prado
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)
2023-05-01u-boot: imx-boot: build with u-boot binmanMax Krummenacher
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>
2023-02-26machine: verdin-imx8m*: Add yavia devicetreesPhilippe Schenker
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)
2022-12-07machine: verdin-imx8m*: Move AT-F boot UART configuration to machine confEmanuele Ghidoli
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)
2022-12-07machines: follow mainline-rt kernel recipe splitMax Krummenacher
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)
2022-12-07machine: verdin-imx8mm: verdin-imx8mp: mainline overlaysMarcel Ziswiler
Pick proper overlays when building for mainline. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 4cec03039eb82142329aecd3e1efb0f2c1d2c9e8)
2022-10-27machine: verdin-imx8m*: Switch to new namingPhilippe Schenker
Related-to: ELB-4838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 91f253942aef769901bc5e5058851fdc4d49a64c)
2022-10-14colibri-imx6ull-emmc/verdin-imx8mm/verdin-imx8mp/imx-boot: fix overridesMarcel Ziswiler
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)
2022-10-04machine: verdin-imx8mm: verdin-imx8mp: adapt memory layoutMarcel Ziswiler
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)
2022-10-04machine: verdin-imx8mm: verdin-imx8mp: restructureMarcel Ziswiler
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)
2022-08-29machines: u-boot: build from our own recipeMax Krummenacher
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>
2022-08-29machine: verdin-imx8mm: add spidev overlayAishwarya Kothari
This overlay enables spidev by default. Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-08verdin-imx8mm: verdin-imx8mp: follow changed dtb file nameMax Krummenacher
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>
2022-07-15Switch U-Boot to toradex_imx_lf_v2022.04Andrejs Cainikovs
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com> Related-to: ELB-4581
2022-07-01machine: verdin-imx8mm: add new sku 0068Philippe Schenker
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)
2022-05-16machines: follow kernel deployment changesMax Krummenacher
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>
2022-04-26verdin-imx8mm: mainline u-boot: build imx-boot with u-bootMax Krummenacher
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>
2022-04-07machines: verdin: don't apply any upstream overlays by defaultMax Krummenacher
They currently do not apply and the display functionality is not available in mainline. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-04-07verdin-imx8mm: mainline: don't load etnaviv and hantro modulesMax Krummenacher
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>
2022-04-03verdin-imx8mm: enable mainline kernelMax Krummenacher
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>
2022-04-03machines: use armv8a-crypto as the default tune for arm64 machinesMax Krummenacher
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>
2022-03-06layer: finish rework recipes to use soc familiy overridesMax Krummenacher
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>
2022-01-23machine: configs: update addresses to load 64M kernelDenys Drozdov
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)
2021-11-16machines: use mainline u-bootMax Krummenacher
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>
2021-09-21manual override syntax fixes for use-mainline-bsp and preempt-rtMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-06machines: Adjust for new location of tune files in coreMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
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>
2021-06-11meta:machine: set PREFERRED_PROVIDER_u-bootMing Liu
'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)
2021-03-23meta:machine: set dtb/dtbo load address for fitimageMing Liu
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)
2021-02-22verdin-imx8mm: drop support for v1.0 hardwareMax Krummenacher
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)
2020-12-15machines: mx8m*: follow changes in meta-freescaleMax Krummenacher
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>
2020-12-08machine: add on-boot overlaysOleksandr Suvorov
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)
2020-11-23verdin-imx8mm: set fit image addresses within ramMax Krummenacher
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)
2020-10-17machines: verdin-imx8mm: deploy v1.1 device treesMarcel Ziswiler
 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)
2020-10-17machines: verdin-imx8mm: add additional product idsMax Krummenacher
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)
2020-10-17u-boot-toradex: add wildcard after perferred versionMax Krummenacher
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)