summaryrefslogtreecommitdiff
path: root/conf/machine/colibri-imx8x.conf
AgeCommit message (Collapse)Author
2024-03-21machine: apalis/colibri-imx8/imx8x: Replace U-Boot 2022.07 with mainlineHiago De Franco
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>
2024-03-21machine: colibri-imx8: Build U-Boot/Kernel mainline for upstream distroMax Krummenacher
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>
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>
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-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-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-04-04machine: colibri-imx8x: fix default overlays nameEmanuele Ghidoli
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)
2023-04-04Revert "machine: colibri-imx8x: disable non-existent device-trees"Philippe Schenker
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)
2023-04-04colibri-imx8x: drop duplicated firmware-imx-vpu-imx8 from MACHINE_FIRMWAREMing Liu
It's already added in meta-freescale layer. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit bb13a03251aa0d3311fe74c853805f1aa880d29d)
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-08-11machine: colibri-imx8x: disable non-existent device-treesPhilippe Schenker
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>
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-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-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-09-21manual override syntax fixes for use-mainline-bsp and preempt-rtMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-06machine: colibri-imx8x: follow device tree changesPhilippe Schenker
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)
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
Fix the leftovers which the script didn't catch. 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-06-11colibri-imx8x: Default VGA overlay for upstream kernelDenys Drozdov
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)
2021-03-23machine: colibri-imx8x: remove lvds devicetreesPhilippe Schenker
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)
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-01-27machines: i.mx 8x: follow changed soc revision selectionMax Krummenacher
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>
2021-01-21colibri-imx8x: follow IMX_DEFAULT_BSP changeMax Krummenacher
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)
2020-12-30machines: mx8/mx8x: 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-10-17machines: colibri-imx8x and includes: cosmetic dtb clean-upMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 40da4d5c230785fb0fe2deff62686ebb37aeadc1)
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)
2020-10-17machines: drop image_bootloaderMax Krummenacher
This variable is not used. Drop its definition. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bfaa623b5a7a8d4a866aa6784dceaf58a0897176)
2020-09-16imx-sc-firmware: add full recipe for imx-sc-firmwareStefan Agner
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>
2020-09-07machines: imx8: use Image.gz as kernel image typeIgor Opaniuk
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>
2020-08-20u-boot config: change to colibri-imx8x_defconfigMax Krummenacher
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>
2020-08-20linux-toradex-rt: update to downstream 5.4-2.1.xMax Krummenacher
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>
2020-08-20machines: imx8: drop fsl- dtb prefixMax Krummenacher
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>
2020-08-20u-boot-toradex: update to nxp 2020.04Max Krummenacher
Related-to: ELB-2758 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-10meta: change to use libubootenv to provide u-boot-fw-utilsMing Liu
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>
2020-06-18colibri-imx8x.conf: several machine overrides fixesMing Liu
- 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>
2020-06-09machines: set prefered provider for mainlinish device-tree-overlaysMax Krummenacher
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)
2020-06-09machines: u-boot: use full config nameMax Krummenacher
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)
2020-06-09machines: colibri-imx8x: build for c0 siliconMax Krummenacher
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)
2020-06-09meta: fix some inconsistent code styleMing Liu
Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 77e97f0d6e1c131b8039cd62937177b8f9688411)
2020-06-09machines: rt mainline kernel: use the common linux-toradex-mainlineMax Krummenacher
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)
2020-06-09meta: replace upstream with use-mainline-bsp overrides in some placesMing Liu
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)
2020-06-09colibri-imx8x.conf: add comment on ↵Ming Liu
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)
2020-06-09firmware: update to 4.14.98 2.3.1Max Krummenacher
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)
2020-04-06meta: adapt to the latest changes in meta-freescale-3rdparty layerMing Liu
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>