summaryrefslogtreecommitdiff
path: root/conf/machine/include/colibri-imx6ull.inc
AgeCommit message (Collapse)Author
2023-11-30machine: colibri-imx7/6ull: Update u-boot make targetHiago De Franco
This commit updates the U-Boot make target to 'u-boot-nand.imx.' This change is necessary due to commit 0cdb7f9e in 'meta-toradex-bsp-common,' which deprecated the 'nand_padding' function in favor of a new U-Boot target ('u-boot-nand.imx') added to 'mach-imx.' This target now automatically handles NAND padding. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 78b1e2921f1d6670fb5783bc5199f7bb3c05e65d)
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-07machines: arch arm: rt: follow change to vendor subdir for dtbsMax Krummenacher
The RT kernel is now available in a 6.5-rc tree. Follow commit ce9a5ef ("machines: arch arm: follow change to vendor subdir for dtbs") accordingly. Related-to: ELB-5263 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-07machines: arch arm: follow change to vendor subdir for dtbsMax Krummenacher
With moving to kernel 6.5 the kernel commit 724ba67515320 ("ARM: dts: Move .dts files to vendor sub-directories") introduced a regression with our 32 bit machines. We have to add the relative path to the dts/dtb files in our list of device trees to be built per machine if the distro/kernel flavour is building a 6.5 and later kernel. Reassign the full list in the <MACHINE.inc> file to KERNEL_DEVICETREE, so that we can conditionally add the relative path for a 6.5 kernel. 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-01-05colibri-imx6ull: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx6ull-colibri-eval-v3.dtb imx6ull-colibri-wifi-eval-v3.dtb imx6ull-colibri-aster.dtb imx6ull-colibri-iris.dtb imx6ull-colibri-iris-v2.dtb imx6ull-colibri-wifi-aster.dtb imx6ull-colibri-wifi-iris.dtb imx6ull-colibri-wifi-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 503e86805db8a4ba0d278ee4fa2429981665783d)
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-10-04machine: apalis/colibri-imx6/imx6ull/imx7/-emmc: adapt memory layoutMarcel Ziswiler
Adapt to new U-Boot env memory layout: UBOOT_DTB_LOADADDRESS = "0x88200000" UBOOT_DTBO_LOADADDRESS = "0x88300000" (using $pxefile_addr_r) UBOOT_ENTRYPOINT = "0x84200000" UBOOT_RD_LOADADDRESS = "0x88400000" (not used in regular BSP) Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 258f608b216d8d9d8adc50900a19454b6f73174e)
2022-10-04machine: apalis/colibri-imx6/imx6ull/imx7/-emmc: 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 1c21865e978d1a9d9c48123f4d0c34502ca7537f)
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-07-01conf:machine: dont append use-mainline-bsp to MACHINEOVERRIDESMing Liu
This leads to a multiple use-mainline-bsp existing in MACHINEOVERRIDES and more importantly, it breaks the rules when handling FILESOVERRIDES, the machine overrides is not the last item in MACHINEOVERRIDES any more so bitbake might find a wrong path for files in SRC_URI. Related-to: ELB-4373 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 353c9afa529daf6d594c3b29e311dee92c79d9d3)
2021-12-21colibri-imx6ull: fix mistyped overrideTomas Vilda
Fix mistype in colibri-imx6ull machine include file when using nxp bsp Signed-off-by: Tomas Vilda <tomas.vilda@gmail.com>
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-06manual override syntax fixesMax 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-07-18firmware-imx: Drop proprietary firmware from upstreamDenys Drozdov
Following NXP proprietary VPU libraries are available in meta-freescale recipe: firmware-imx-vpu-imx6q, firmware-imx-vpu-imx6d. Due to the decision to remove proprietary code from the upstream build,these binaries have to be dropped. Related-to: ELB-3945 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit e2d6c4046e46e8fffdad2df84f6c432cd586c2ca)
2021-06-11colibri-imx6ull: set kernel/devicetree load addressesMing Liu
This is needed for booting fitimage. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit ada49a0e8b3e5c27f039eec5579dce6bfd3a3bbf)
2021-03-23meta: drop redundant variablesMing Liu
Drop redundant IMAGE_BOOT_FILES_append/WKS_FILE_DEPENDS_append, they are already in meta-freescale-3rdparty. Related-to: ELB-3583 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit ddd76cf2bb716014a6a66604752803a306b1dc61)
2020-12-31colibri-imx6ull: additonally create *wic.bmap fileMax Krummenacher
Currently no *wic.bmap file is created when building for colibri-imx6ull. With the "+=" assignment to IMAGE_FSTYPE we overwrite the default setting in imx-base.inc. As imx-base.inc adds both wic.bmap and wic.gz delete the assignment and use the default. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0c7f98eb2a3def760ff94f6aac00d94108d5730b)
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-09-03machines: includes: assign image_* consistentlyMax Krummenacher
Using "+=" overwrites "?=" in some cases which then dropes the creation of wic images for apalis/colibri-imx6. 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-06-18colibri-imx6ull.conf: drop machine confMing Liu
Use the one in meta-freescale-3rdparty layer, and append toradex specific definitions to conf/machine/include/colibri-imx6ull.inc. 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: 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-imx6ull: drop upstreamed machine and deploy additional device treesMax Krummenacher
Drop the upstreamed machine configuration file and move all differences into conf/machine/include/colibri-imx6ull.inc. Deploy additional device trees. Related-to: ELB-2593 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit f2f7e066e25c02da2f6448a015b38449c77b0b21) Corrected with changes to the machine conf files in meta-freescale-3rdparty. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Conflicts: conf/machine/include/colibri-imx6ull.inc
2020-06-09machines: choose upstream and upstream-rt kernelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3d68713e7e28fae312fa869f0742a13edf1700c9)
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-28colibri-imx6ull: reset UBOOT_ENTRYPOINTMing Liu
This fixes a problem of tezi fitimage not boot issue. Related-to: TEI-498 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 6eaffd7923d9f5905bbeb8db3cfc8071da993cbf) (cherry picked from commit aa92a5f987267f557aecf5d312fd7f99554a9515)
2019-09-19machines: specifiy rt kernelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-08-27meta: drop useless EXTRA_IMAGEDEPENDSMing Liu
For the recipes listed in EXTRA_IMAGEDEPENDS, bitbake would create a dependency as: | image_pn:do_image_complete -> imagedepends_pn:do_populate_sysroot but we actually need a image task depend on the deploy tasks of EXTRA_IMAGEDEPENDS recipes, setting EXTRA_IMAGEDEPENDS would not help with that, so drop it, use WKS_FILE_DEPENDS instead. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2019-07-22machines: deploy a distro boot scriptMax Krummenacher
This depends on and deploys the distro boot script provided by u-boot-distro-boot. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-10u-boot-toradex: update to 2019.07Max Krummenacher
Update to a 2019.07 based U-Boot. Use the openembedded master recipes for u-boot_2019.07 as a base. This makes the u-boot recipe in recipes-bsp/u-boot-mainline/ obsolete, delete it. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-20machines: provide a machine name stringMax Krummenacher
Provide the MACHINE_NAME variable which can be e.g. used as part of the image name. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-14machines: use mainline u-bootMax Krummenacher
Use for all Toradex machines exept apalis-imx8 a mainline based U-Boot. (For the i.MX8QM mainline is not yet able to boot the kernel) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-23machines: remove defines now set in our distroMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-17conf: machine: update IMAGE_FSTYPE appendsGerard Salvatella
According to the Yocto manual v.2.6.1 (https://www.yoctoproject.org/docs/2.6.1/mega-manual/mega-manual.html#var-IMAGE_FSTYPES): Due to the way the OpenEmbedded build system processes this variable, you cannot update its contents by using _append or _prepend. You must use the += operator to add one or more options to the IMAGE_FSTYPES variable. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
2018-12-18machines: Update to L4.9.123-2.3.0_8mm_ga releaseMarcel Ziswiler
Actually make use of them various upgrades. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-10-04colibri-imx6ull: add WiFi non-IT variantColibri-iMX7_LXDE-Image_2.8b4.129-20181005Colibri-iMX6_LXDE-Image_2.8b4.129-20181005Colibri-iMX6ULL_LXDE-Image_2.8b4.129-20181005Colibri-VF_LXDE-Image_2.8b4.129-20181005Apalis-iMX6_LXDE-Image_2.8b4.129-20181005Max Krummenacher
Add support for new SKU 0045 WiFi non-IT variant. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2018-09-26imx6, imx6ull, imx7: Set PREFERRED_VERSION for Gstreamer to use i.MX VersionMarcel Ziswiler
This is required since meta-freescale commit a4158e3425a7 ("gstreamer1.0: Set DEFAULT_PREFERENCE as -1 to imx version") et. al. and is analogous to meta-freescale-distro commit 29e7a3d322c7 ("fsl-base.inc: Set PREFERRED_VERSION for Gstreamer to use i.MX Version" ). Colibri iMX6ULL and Colibri iMX7 were added as according to the i.MX Reference Manual L4.1.15_2.1.0-ga they at least could profit from the Pixel Pipeline (PxP) DMA-ENGINE driver. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-06-26colibri-imx6ull: add non-WiFi IT variantStefan Agner
Add support for new SKU non-WiFi IT variant. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-12-22colibri-imx6ull: prepare for upstreaming to fslcMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>