summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-imx: remove SoC-specific defconfig to use in-tree defconfigrework-kernelOtavio Salvador2023-04-304-2803/+5
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* linux-fslc-imx: remove SoC-specific defconfig to use in-tree defconfigOtavio Salvador2023-04-301-4/+9
| | | | | Fixes: cb4b1f2d ("linux-fslc: remove SoC-specific defconfig to use in-tree defconfig") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1514 from Freescale/rework-firmware-imxOtavio Salvador2023-04-254-66/+65
|\ | | | | imx-boot-firmware-files: consolidate deploy firmware files across SoCs
| * imx-boot-firmware-files: consolidate deploy firmware files across SoCsrework-firmware-imxOtavio Salvador2023-04-244-66/+65
| | | | | | | | | | | | | | | | | | The firmware-imx-8 and firmware-imx-8m recipes are mostly code duplication and some parts even used by i.MX93 so consolidating it allows code reuse and clearness. Fixes: #1426. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | Merge pull request #1513 from Freescale/rework-kernel-recipesOtavio Salvador2023-04-2514-6653/+18
|\ \ | |/ |/| Remove SoC-specific defconfig, linux-fslc.inc and linux-fslc-lts 5.15 recipe
| * linux-fslc: remove SoC-specific defconfig to use in-tree defconfigrework-kernel-recipesOtavio Salvador2023-04-247-4747/+13
| | | | | | | | | | | | | | | | | | | | | | In the past, we preferred to use the defconfig inside the layer, so it served as a reference for users. However, a lot of time passed, and users are now more used to using configuration fragments and Linux kernel forks, so it seems to be time to make it easier for us, maintainers, to manage the kernel and to use in-tree defconfig. Fixes: #1427. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * linux-fslc: remove linux-fslc.incOtavio Salvador2023-04-244-16/+8
| | | | | | | | | | | | | | The .inc file is pointless as it is dead simple and splitting it just adds complexity, so we can remove it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * linux-fslc-lts: remove 5.15 recipeOtavio Salvador2023-04-244-1893/+0
|/ | | | | | We moved to 6.1 so this recipe is untested. Drop it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* linux-fslc: bump revision to 4c5917cbOtavio Salvador2023-04-241-2/+2
| | | | | | This upgrades the kernel to 6.1.24. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1510 from thochstein/firmware-nxp-wifiOtavio Salvador2023-04-211-4/+31
|\ | | | | Fix firmware-nxp-wifi update
| * firmware-nxp-wifi: Fix iw416 and iw612 additionsTom Hochstein2023-04-201-1/+23
| | | | | | | | | | | | | | | | Complete the installation for the just-added iw416 and iw612 and add the packaging. Fixes: e513c53 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * firmware-nxp-wifi: Fix install -DTom Hochstein2023-04-201-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The install -D option does unfortunately have idiosyncratic requirements on the destination format. If you don't get the format right, it fails: ``` install: target 'tmp/work/all-poky-linux/firmware-nxp-wifi/1.0-r0/image/lib/firmware/brcm' is not a directory ``` This commit also fixes a missing -D option. Fixes: f9ce2b8 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #1509 from thochstein/firmware-nxp-wifiOtavio Salvador2023-04-201-1/+1
|\| | | | | firmware-nxp-wifi: Fix license after update to lf-6.1.1_1.0.0
| * firmware-nxp-wifi: Fix license after update to lf-6.1.1_1.0.0Tom Hochstein2023-04-201-1/+1
|/ | | | | Fixes: e513c53 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1504 from MrCry0/master-lf-6.1.1_1.0.0Otavio Salvador2023-04-198-33/+37
|\ | | | | Update linux kernel and related recipes to 6.1.1-1.0.0
| * linux-fslc-imx: Upgrade to 6.1-1.0.x-imxOleksandr Suvorov2023-04-193-16/+18
| | | | | | | | | | | | | | | | | | | | | | Upgrade the kernel to 6.1-1.0.x-imx based on NXP lf-6.1.y and mainline stable linux-6.1.y. Stable version: 6.1.24 Actualize defconfig. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * jailhouse: Update lf-5.15.71_2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov2023-04-181-3/+3
| | | | | | | | | | | | | | | | | | | | Update license: COPYING is renamed to LICENSE. Relevant changes: - 8faaeb45 Rename COPYING TO LICENSE - b0817a39 tools: demos: ivshmem-demo: force has_msix to 0 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * firmware-nxp-wifi: Update lf-5.15.71-2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov2023-04-181-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add installing firmware for IW416 and IW612. Relevant changes: - bacbeb4 MA-2102-1 [Android-powersave-image] Remove android_wifi_mod_para_powersave.conf - 09b5e3d FwImage: update firmware to mxm5x17368.p2 - 6b9248a FwImage: IW612: rename the IW612 firmware subdirectory - 87d2442 FwImage: update firmware to mxm5x17368 - 6fa6713 EULA.txt: update Software License to v40 - 5c66cfa FwImage: SD8801: change the ed_mac value for muRata 2DS module Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * firmware-imx: firmware-nxp-wifi: remove unneeded commandsOleksandr Suvorov2023-04-181-6/+2
| | | | | | | | | | | | | | Do not use separate commands to install target directories. Instead, add a proper option when files are installed. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * imx-lib: Update lf-5.15.71-2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov2023-04-181-2/+2
| | | | | | | | | | | | | | | | Relevant changes: - 43e5ee7 Add SCR file SCR-imx-lib.txt for imx-lib - 1636fbe Update the hard-coded '/usr/lib' location to libdir variable Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * imx-test: Update from 5.15.71_2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov2023-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant changes: - 75cb486 Rename COPYING to LICENSE - 206abc4 LF-7974: imx-jpeg: Fix description for 12-bit formats - f719f59 LF-7974: imx-jpeg: Fix for "yuv420s-12" format - 3818814 LF-7974: imx-jpeg: Add 12-bit formats in jpeg unit test - 78a3fb0 LF-7956: mxc_v4l2_vpu_test: pass special timestamp for 8q - 49560fc LF-7861: mxc_v4l2_vpu_test: negotiate fourcc with it's v4l2 source - b0942f2 LF-7446: mxc_v4l2_vpu_test: avoid segmentation fault in ofile_run - 28bca3d LF6658: imx-jpeg: Add back support for contiguous NV12 - 290aa31 LF-6654: imx-jpeg: Add crop support for encoder - 576253e LF-6654 imx-jpeg: Use selection API in unit test app Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
| * imx-mkimage: Update lf-5.15.71-2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov2023-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Relevant changes: - d489494 Add SCR file SCR-imx-lib.txt for imx-mkimage - 9c3eae7 imx93: Add bootaux container for M33 - a9deaa5 MA-20928 Add support for TEE compression - c015c34 iMX93: support flash XIP boot - e72c588 iMX8DXL: update default hash algorithm for kernel image to SHA256 - 11fedfb Revert "iMX8DXL: add flash_kernel_sha256 target for sha256 hash alogorithm" Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
* | Merge pull request #1505 from junzhuimx/masterOtavio Salvador2023-04-191-1/+1
|\ \ | |/ |/| qoriq-atf: Remove mbedtls from DEPENDS
| * qoriq-atf: Remove mbedtls from DEPENDSJun Zhu2023-04-191-1/+1
|/ | | | | | mbedtls is included in SCR_URI into fetched source code tree. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* Merge pull request #1501 from Freescale/topic/u-boot-2023.04Otavio Salvador2023-04-173-3/+3
|\ | | | | u-boot-fslc: 2023.01 -> 2023.04
| * u-boot-fslc: 2023.01 -> 2023.04Otavio Salvador2023-04-173-3/+3
|/ | | | | | | U-Boot fork has been updated to include tagged version v2023.04 from upstream. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1500 from junzhuimx/masterOtavio Salvador2023-04-175-26/+67
|\ | | | | qoriq-atf: Upgrade to v2.6
| * qoriq-atf: Upgrade to v2.6Jun Zhu2023-04-175-26/+67
|/ | | | Signed-off-by: Jun Zhu <junzhu@nxp.com>
* Merge pull request #1499 from Freescale/fix/duplicated-binaries-for-uuuOtavio Salvador2023-04-141-5/+5
|\ | | | | classes/image_populate_mfgtool: avoid error copying duplicated files
| * classes/image_populate_mfgtool: fix basehash value changeOtavio Salvador2023-04-141-3/+3
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * classes/image_populate_mfgtool: avoid error copying duplicated filesOtavio Salvador2023-04-131-3/+3
|/ | | | | | | | | | | | Eventually, multiple `uuu` script may install same binaries. We need to ensure we install them once, otherwise it'll fail as it might try to override a existing binary. This commit ensure all dependencies and binaries are mentioned once, removing duplication. Fixes: ae7af6f8 ("classes/image_populate_mfgtool: init") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1494 from Freescale/fix/issue-1290Otavio Salvador2023-04-132-10/+10
|\ | | | | imx6qdlsabre*: ensure UBOOT_CONFIG setting is always available
| * imx6qdlsabre*: ensure UBOOT_CONFIG setting is always availablefix/issue-1290Otavio Salvador2023-04-122-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot tie the UBOOT_CONFIG setting to the U-Boot recipe otherwise if kernel-fitimage is added in KERNEL_CLASSES, the following build errors is raised: ,---- | Nothing PROVIDES ‘virtual/kernel’ | ... | Either UBOOT_MACHINE or UBOOT_CONFIG must be set in the imx6qdlsabresd machine configuration. `---- kernel-fitimage class inherits uboot-sign which inherits uboot-config. uboot-config class checks UBOOT_CONFIG and it is not defined. The fix is essentially to move the conditional for the variable assignment instead of using the recipe override. Fixes: #1290 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | Merge pull request #1493 from Freescale/rework/remove-mfgtool-specific-recipesOtavio Salvador2023-04-1311-99/+6
|\ \ | |/ |/| linux-*-mfgtool, u-boot-*-mfgtool: Remove specific recipes
| * linux-*-mfgtool, u-boot-*-mfgtool: Remove specific recipesrework/remove-mfgtool-specific-recipesOtavio Salvador2023-04-1211-99/+6
|/ | | | | | | | | | | | | The use of a specific recipes are not need anymore. For the U-Boot specific case, the UBOOT_CONFIG mechanism allows multiple binaries using different configurations so we can remove this recipes and default to the IMX_DEFAULT_BOOTLOADER as provider. The Linux specific case is completely unnecessary as the USB gadget is supported in all versions we support. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1461 from Freescale/topic/inital-mfgtools-supportOtavio Salvador2023-04-124-1/+178
|\ | | | | Allow generation of mfgtool bundle
| * classes/mfgtool-initramfs-image: remove u-boot-mfgtool dependencytopic/inital-mfgtools-supportOtavio Salvador2023-04-121-1/+1
| | | | | | | | | | | | | | The initramfs image doesn't use the U-Boot binaries so there is no reason for a dependency on it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * classes/image_populate_mfgtool: initOtavio Salvador2023-04-122-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class provides the infrastructure for MFGTOOL generation and is tied to images. To generate the bundle, the task populate_mfgtool must be called. For example: ,----[ Running populate_mfgtool for core-image-minimal image ] | $: bitbake core-image-minimal -c populate_mfgtool `---- The class behavior is controlled through the MFGTOOLCONFIG (analogous to PACKAGECONFIG) variable. The MFGTOOLCONFIG variable itself specifies a space-separated list of the script to enable. Following the script, you can determine the behavior of each script by providing up to two order-dependent arguments, which are separated by commas. You can omit any argument you like but must retain the separating commas. The order is important and specifies the following: 1. Extra dependencies that should be added to the do_populate_mfgtool task, if the script is enabled. 2. Extra binaries that should be added to the bundle, if the script is enabled. For example: ,----[ Defining foo.uuu.in and bar.uuu script ] | MFGTOOLCONFIG = "foo.uuu.in bar.uuu" | MFGTOOLCONFIG[foo.uuu.in] = "dep-foo1:do_deploy dep-foo2:do_deploy,file-foo1" | MFGTOOLCONFIG[bar.uuu] = "dep-bar1:do_deploy,file-bar1 file-bar2" `---- The dep-foo1:do_deploy, dep-foo2:do_deploy, and dep-bar1:do_deploy are added to do_populate_mfgtool dependencies. In addition, file-foo1, file-bar1, and file-bar2 are copied to the bundle, only if the script is enabled. During the mfgtool bundle generation, the uuu.in files are processed and some variables replaced. The variables are: - MACHINE - UBOOT_BINARY - SPL_BINARY - IMAGE_BASENAME Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * uuu-bin: init at 1.4.243Otavio Salvador2023-04-121-0/+35
|/ | | | | | | | | | This recipe uses the pre-built binaries provided by NXP itself so we can offer Linux, Windows and MacOS binaries. Those binaries are intended for use in the mfgtool-bundle and not for execution in the host. We install the binaries in '${libdir}/uuu'. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1492 from Freescale/fix-boot-containerOtavio Salvador2023-04-121-2/+5
|\ | | | | Add boot container dynamic selection to imx-base.inc
| * imx-base.inc: dynamically choose if boot container should be usedfix-boot-containerOtavio Salvador2023-04-121-1/+4
| | | | | | | | | | | | | | The boot container should be used only if we're not using u-boot-imx as IMX_DEFAULT_BOOTLOADER. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * imx-base.inc: fix typo in a commentOtavio Salvador2023-04-121-1/+1
|/ | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #1488 from MaxKrummenacher/master-imx-bootOtavio Salvador2023-04-102-19/+18
|\ | | | | imx-boot-container: drop from machine overrides
| * imx-boot-container: drop from machine overridesMax Krummenacher2023-04-102-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving the override from the <machine>.conf files to the common imx-base.inc and setting the use of imx-boot-container unconditionally on the used SoC makes the use of an extra override obsolete. Simply set UBOOT_PROVIDES_BOOT_CONTAINER depending on the used SoC is enough. Both the U-Boot recipe and the class implementing the logic don't need the override but only look at the variable. This also simplifies overriding the value set in imx-base.inc in an individual <machine>.conf should that be needed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* | Merge pull request #1487 from MaxKrummenacher/master-fwOtavio Salvador2023-04-104-15/+15
|\ \ | |/ |/| imx: fw: allow to build for mainline bsp too
| * imx: fw: allow to build for mainline bsp tooMax Krummenacher2023-04-104-15/+15
|/ | | | | | | | SECO/SC FW/HDMI FW and friends should not be restricted to imx-nxp-bsp. If one wants to build machines for a mainline kernel / user space these would be required to build the boot container too. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Merge pull request #1486 from junzhuimx/masterOtavio Salvador2023-04-091-1/+5
|\ | | | | fsl-eula-unpack.bbclass: Update EULA for NXP release 6.1.1-1.0.0
| * fsl-eula-unpack.bbclass: Update EULA for NXP release 6.1.1-1.0.0Jun Zhu2023-04-091-1/+5
|/ | | | | | EULA is V42 now. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* Merge pull request #1485 from thochstein/overridesOtavio Salvador2023-04-071-10/+10
|\ | | | | imx-base.inc: Fix 8M overrides
| * imx-base.inc: Fix 8M overridesTom Hochstein2023-04-071-10/+10
|/ | | | | | | | | | | | | | | 8MQ video is not working. The problem is traced to a change in `weston.ini`, specifically that the file is now from OE-Core layer instead of meta-freescale. This problem is traced to the move of the `imx-boot-container` override [1], specifically that the override was moved with a trailing `:` that inserts an empty override. ``` MACHINEOVERRIDES="aarch64:armv8a:use-nxp-bsp:imx-generic-bsp:imx-nxp-bsp:imxdrm:imxvpu:imxgpu:imxgpu3d:imxvulkan:mx8-generic-bsp:mx8-nxp-bsp:mx8m-generic-bsp:mx8m-nxp-bsp:mx8mq-generic-bsp:mx8mq-nxp-bsp:imx-boot-container::imx8mq-evk" ``` [1] https://github.com/Freescale/meta-freescale/commit/0ee4cb24eba5171da75ab8eeb72c7eab06083339 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>