summaryrefslogtreecommitdiff
path: root/conf/machine/apalis-imx8.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: apalis-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-5670 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-03-04machine: apalis-imx8: Add Apalis Eval Board v1.2 to DTB listHiago De Franco
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)
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-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-04apalis-imx8: 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 d521345d807d703affb4e23bb2709a087516ce0f)
2023-01-05machine: apalis-imx8: apply spidev device-tree overlaysMax Krummenacher
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)
2023-01-05Revert "machine: apalis-imx8: disable non-existent device-trees"Max Krummenacher
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)
2022-08-11machine: apalis-imx8: 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 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>
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-05-16machine: apalis-imx8: add new 0067 8gb productPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit da3b3020c9aeb378a2e90dc88e3fe20ca4821d05)
2022-04-26firmware-imx-8: drop a Toradex specific fixMing Liu
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)
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-06apalis-imx8: deploy device-trees for ixora-v1.2Denys Drozdov
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)
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-08-08machine: apalis-imx8.conf: deploy Apalis iMX8QP DTsDenys Drozdov
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)
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-22machine: apalis-imx8: load hdmi overlay on-bootOleksandr Suvorov
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)
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-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-29machine: apalis-imx8: adjust devicetrees to deploy what we actually havePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-24deploy imx8 firmware to /lib/firmwarePhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
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-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-08-06apalis-imx8.conf: deploy ar0521 device treesMarcel Ziswiler
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)
2020-06-18apalis-imx8.conf: set IMX_DEFAULT_BSPMing Liu
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>
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-09meta: fix some inconsistent code styleMing Liu
Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 77e97f0d6e1c131b8039cd62937177b8f9688411)
2020-06-09apalis-imx8.conf: deploy additional device treesMax Krummenacher
Related-to: ELB-1254 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ad827347548201612eee97129b63db07b3e9a884) (cherry picked from commit e64e8892ddc0527ec157ed82bf917929774f0916)
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>
2020-03-02machines: i.mx 8/8X/8MM: keep tune pinned to aarch64Max Krummenacher
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>
2020-02-13meta:mx8: add UBOOT_ENTRYPOINT and UBOOT_RD_LOADADDRESSMing Liu
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)
2020-01-30meta: drop do_image_teziimg dependenciesMing Liu
That's already handled by WKS_FILE_DEPENDS, drop the redundant dependencies. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-12-03machines: unify name and descriptionMing Liu
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-11-03Revert "machine: apalis-imx8: use newer devicetree only for use-head-next"Philippe Schenker
This reverts commit e3e5aba1c725ad3ff4daf128ad525625923a653d.
2019-10-09imx graphics: revert out of tree updatesMax Krummenacher
meta-freescale master (for zeus) now updates to these recipes versions. Drop these here. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>