Integrate meta-seco-imx/scarthgap_kickoff
Commit: clea-os/layers/seco/meta-seco-imx@0dd02693
[YCONFIG] Use full product names for SECO boards
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@48a9b834
[CI/CD] Add SRCREV.conf file
Add SRCREV.conf for the BSP integration made by CI/CD pipelines.
Involved recipes:
- u-boot-seco (virtual/bootloader)
- linux-seco (virtual/kernel)
- imx-mkimage (imx-mkimage from external repository)
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@96f83693
[NO-FUNCTIONAL] Update Copyright in README file
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@4b3328b6
[YCONFIG] Fix naming convention in Yconfig_machine
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@6c98c37e
[SECO-BOARDS][BOOTENV] Add dynamic selection for bootscript partition
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@0227fb05
[IMX8MP][D18][BOOTENV] Set default FDT and console parameters for boot script
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@f57959df
Update seco-imx8mp-d18.conf
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@d77029cc
[D18][MACHINE] Added D18 board support
Signed-off-by: Daniel daniel.rinaldi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@1179f2ea
[U-BOOT] Set UBOOT_VERSION variable
This variable is used together with the PV variable. The difference is that the UBOOT_VERSION variable has a reduced scope and is used for Clea OS specific tasks.
PV := "2024.04" UBOOT_VERSION := "${PV}"
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@f2ceb310
[IMX95EVK][BOOTENV] Add dynamic selection for bootscript partition
Clea OS provide a well defined GPT type GUID for its partitions. These are used to dynamically identify various partitions. This includes the selection of the parition where the bootscript is stored.
Inside the boot environment, this task has been added.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@c7216891
[IMX8MPEVK][BOOTENV] Add dynamic selection for bootscript partition
Clea OS provide a well defined GPT type GUID for its partitions. These are used to dynamically identify various partitions. This includes the selection of the parition where the bootscript is stored.
Inside the boot environment, this task has been added.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@d77e2f8c
[IMX93EVK][BOOTENV] Add dynamic selection for bootscript partition
Clea OS provide a well defined GPT type GUID for its partitions. These are used to dynamically identify various partitions. This includes the selection of the parition where the bootscript is stored.
Inside the boot environment, this task has been added.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@a696a0f7
[u-BOOT] Add Clea OS header file inside the u-boot src
Has been added a patch file that adds a generic header file for Clea OS support inside the u-boot source code. This header file is used to define the Clea OS staffs like GTP type GUID for the Clea OS partitions.
This patch is applyed for every machine.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@c0dd8d83
[iMX93][BOOTSCRIPT] Fix dtb file to use
Replace the bootscript parameter about the default dtb file to use with:
imx93-11x11-evk-pmic-pf0900-boe-wxga-lvds-panel.dtb
This last enables by default the BOE WXGA LVDS panel on the iMX93EVK.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@cff9c305
[BOOTSCRIPT] Add BOOTSCRIPT_PARAM set for all SOC/board supported
Add full set of BOOTSCRIPT_PARAM flag parameters, compatible with the current set of boot*.scr and boot*.env file in meta-seco-bsp
SOC level:
BOOTSCRIPT_PARAM[ENV_KERNEL_FILENAME] BOOTSCRIPT_PARAM[ENV_KERNEL_LOADADDR] BOOTSCRIPT_PARAM[ENV_FDT_LOADADDR] BOOTSCRIPT_PARAM[ENV_RAMFS_LOADADDR] BOOTSCRIPT_PARAM[ENV_SYS_BOOT_TYPE]
Board level:
BOOTSCRIPT_PARAM[ENV_DEFAULT_FDT_FILE] BOOTSCRIPT_PARAM[ENV_SYS_CONSOLE]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@fbc2fb15
[BOOTSCRIPT] Remove old custom boot.env file of EVK machines
This because we are goint to use a new bootscript management where a set of placeholders is used to parametrize the various boot*.scr and boot*.env files. In this way (only for the actual stage of the development) is no longer need to have custom script per machine and a set of flags of the variable BOOTSCRIPT_PARAM (see documentation and implementation in meta-seco-bsp) will be added to machine related file (seco-imx8-common.inc, seco-imx93-common.inc, ...). The customization can be performet at both SOC and board/SOM levels.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@1ec9087d
[U-BOOT][ENV] Change EVKs environment to use the boot.scr script
Applied three patches, one for each EVK supported (i.MX8MP, i.MX93 and i.MX95). These patches change the boot environment in order to run immediately the boot.scr script, if it is present. The bootscript has to be named boot.scr
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@d07a4203
Update file uuu-bin_%.bbappend
Commit: clea-os/layers/seco/meta-seco-imx@e39d39e9
[AUTO-FLASH] Added recipe to include uuu in deploy dir
--
Commit: clea-os/layers/seco/meta-seco-imx@b9c14b3d
[YCONFIG] Add silicon-vendor-related configurations
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@ae35db73
[LICENSE][YCONFIG] Add NXP EULA acceptance via configurator
Add possibility to accept automatically the EULA via the configurator.
Modified the post-script so that if the license has already been accepted then it's not asked to the user to accept it again.
JIRA Reference: [CLEAOS-627]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@9aff4af4
[LICENSE] Add post-script to ask for NXP EULA acceptance
The variable:
ACCEPT_FSL_EULA = "1"
is added to local.conf if the user accepts NXP EULA.
Example of configurator output:
yoctouser@ea44c639883c:~/workdir$ . ./seco-setup.sh -c
WARNING: no CONFIG_CLOUD_ASTARTE-URL found in the configuration.
WARNING: no CONFIG_CLOUD_ASTARTE-REALM found in the configuration.
WARNING: no CONFIG_CLOUD_ASTARTE-PAIRING-TOKEN found in the configuration.
WARNING: no RAUC found in the configuration.
WARNING: No SRCREV.conf found in meta-seco-imx for machine nxp-imx8mpevk.
WARNING: no SRCREV.conf files found. Not creating build_imx8mpevk/conf/SRCREV.conf.
Welcome to SECO BSP
The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation
For more information about OpenEmbedded see their website:
http://www.openembedded.org/
Your build environment has been configured with:
MACHINE=nxp-imx8mpevk
SDKMACHINE=i686
DISTRO=clea-os-fb
EULA=
No post-script has been found in the layer meta-seco-clea-os.
Executing post-script 0001-nxp-eula-seco-imx-post-script.sh found in the layer meta-seco-imx
Some BSPs depend on libraries and packages which are covered by NXP's
End User License Agreement (EULA). To have the right to use these binaries in
your images, you need to read and accept the following...
Opening NXP EULA...
LA_OPT_NXP_Software_License v56 April 2024
IMPORTANT. Read the following NXP Software License Agreement ("Agreement")
completely. By selecting the "I Accept" button at the end of this page, or by
downloading, installing, or using the Licensed Software, you indicate that you
accept the terms of the Agreement, and you acknowledge that you have the
authority, for yourself or on behalf of your company, to bind your company to
these terms. You may then download or install the file. In the event of a
conflict between the terms of this Agreement and any license terms and
conditions for NXP’s proprietary software embedded anywhere in the Licensed
Software file, the terms of this Agreement shall control. If a separate
license agreement for the Licensed Software has been signed by you and NXP,
then that agreement shall govern your use of the Licensed Software and shall
supersede this Agreement.
NXP SOFTWARE LICENSE AGREEMENT
This is a legal agreement between your employer, of which you are an authorized
representative, or, if you have no employer, you as an individual ("you" or
"Licensee"), and and NXP USA, Inc., if Licensee is located within the United
States or NXP Semiconductors Netherlands B.V., if Licensee if located outside
of the United States (“NXP”). It concerns your rights to use the software
Do you accept NXP's EULA? (yes/no) [default: yes]: y
The NXP EULA has been accepted.
Adding NXP EULA flag ACCEPT_FSL_EULA to local.conf.
yoctouser@ea44c639883c:~/workdir/build_imx8mpevk$ cat conf/local.conf | grep ^ACCEPT
ACCEPT_FSL_EULA = "1"
JIRA Reference: [CLEAOS-627]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@cc094f65
[YCONFIG][IMX-EVK][ADD] add Yconfig configuration for i.MX EVKs
Add support in Yconfig files for i.MX EVK boards
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@665e4f45
[MACHINE][IMX8MP-EVK][FIX] fix IMX_DEFAULT_BOOTLOADER
By default, IMX_DEFAULT_BOOTLOADER is set to "u-boot-fslc", and as a result uuu_bootloader_tag expects the flash.bin file in the deploy directory (instead of imx-boot), causing this error at build time:
cp: cannot stat '/home/yoctouser/workdir/build-imx8mpevk/tmp/work/nxp_imx8mpevk-poky-linux/imx-boot/1.0/deploy-imx-boot/flash.bin': No such file or directory
Set it to "u-boot-imx" to fix that.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@6c50f788
[MACHINE][EVK] fix BOARD_VENDOR variable
- rename SOC_VENDOR to BOARD_VENDOR (as in meta-seco-bsp)
- remove redundant assignments to KERNEL_DTB_PREFIX
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@eeeea7ea
[MACHINE][IMX95-EVK] add imx95 evk
Add support for i.MX95 EVK.
To boot, configure SW7[1:4] to 1011 (Cortex-M from uSD) or 1010 (Cortex-M from eMMC).
Also adds meta-arm-toolchain as a requirementi (necessary to build the System Manager firmware for i.MX95).
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@9d2823ba
[BSP][IMX-BOOT][FIX] copy imx-boot from meta-freescale
Current imx-boot recipe and bbappend are copied from meta-imx, but they don't integrate well with meta-freescale.
Use version from meta-freescale: https://github.com/Freescale/meta-freescale/blob/scarthgap/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@3a035104
[KERNEL][IMX93-EVK][FIX] fix SRCBRANCH in kernel recipe
Kernel recipe currently points to branch seco_lf-6.6.y, which is not the current active branch for kernel 6.6.
Set SRCBRANCH to seco_lf-6.6.23-2.0.0
Also, update DTB files for i.MX93 EVK.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@ae28ac96
[BSP][BOOTSCRIPT][ADD] imx93_evk: add boot environment
Add boot.env file for imx93 EVK.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@f73b90a4
[LAYER][MACHINE][ADD] add support for i.MX93 EVK
Add config files for:
- all i.MX93 boards (common i.MX93 include file)
- i:MX93 EVK
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@71eb6905
[BSP][UBOOT][FIX] bootscript: fix boot environment
Add variabled boot_part and root_part, set right device tree blob.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@3e037611
[LAYER][FIX] imx8mp evk: fix dtb file
The DTB file imx8mp_ddr4_evk.dtb does not have eMMC enabled. Use imx8mp_evk.dtb instead.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@f430cae5
[BSP][UBOOT][FIX] set dts prefix to freescale
The KERNEL_DTB_PREFIX variable in meta-seco-bsp defaults to seco/, but for NXP EVK boards the DTS files are in freescale/.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@b35188b4
[LAYER][FIX] add imx-boot as dependency of wic image
The WKS file used for i.MX boards depends on imx-boot (bootloader), but bitbake sometimes doesn't build it (causing build error) or it doesn't re-build it when u-boot changes.
Add imx-boot as dependency in WKS_FILE_DEPENDS.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@a0fc3ace
[BSP][BOOTSCRIPT][ADD] add imx8mp-evk boot.env
Add boot.env file for imx8mp-evk board (SECO version). This boot.env contains the correct kernel, device tree blob and and kernel command line args for the i.MX8M Plus EVK.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@43569558
[KERNEL][LINUX][FIX] set PV to correct value
Kernel build fails with the following error:
ERROR: linux-seco-6.6-r0 do_kernel_version_sanity_check: Package Version (6.6) does not match of kernel being built (6.6.3). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
Set LINUX_VERSION and PV to 6.6.3 to fix that.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@17ea4ec8
[BSP][UBOOT][FIX] add build-time dependency gnutls-native
U-boot build fails with the following error:
/home/yoctouser/workdir/build-imx8mpevk/tmp/work/nxp_imx8mpevk-poky-linux/u-boot-seco/2024.04/git/tools/mkeficapsule.c:20:10: fatal error: gnutls/gnutls.h: No such file or directory 20 | #include <gnutls/gnutls.h> | ^~~~~~~~~~~~~~~~~ compilation terminated.
Add dependency gnutls-native to fix that.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@3846d15e
[LAYER][WKS][FIX] make boot partition fat32
The boot partition is typically fat32 (not ext4) and the boot commands use fatload to load the kernel and FDT, so they expect it to be fat32.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@a9884d83
[LAYER][WKS][FIX] use WKS_MACHINE_BOOT_PARTITION_LAYOUT_LIST
Set WKS_MACHINE_BOOT_PARTITION_LAYOUT_LIST variable which is merged automatically by meta-seco-bsp into WKS_MACHINE_BOOT_PARTITION_LAYOUT, instead of setting WKS_MACHINE_BOOT_PARTITION_LAYOUT directly.
CLEAOS-532
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@fa16bc20
[MACHINE][IMX8MP-EVK] Add support for i.MX8MP EVK board
The board is managed as an internal hardawre.
Issue: the boot environment has to be changed at runtime in order to continue with the boot process and reach the user space.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@b28feedd
[KERNEL][ADD] Add support for Linux kernel 6.6.36
Basic Linux kernel 6.6.36 support. This recipes is compatible with basic kernel support of meta-seco-bsp.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@c5345a76
[BSP][MKIMAGE] Add imx-mkimage tool need for i.MX8 SOCs
This tool provides the flash.bin file used by i.MX8 SOC. The code here is the copy 1:1 of what is present inside the official layer of NXP (meta-imx/meta-imx-bsp/).
Ref.: https://github.com/nxp-imx/meta-imx/tree/scarthgap-6.6.23-2.0.0/meta-imx-bsp/recipes-bsp/imx-mkimage
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@ad8207e4
[BSP][U-BOOT] Add support for U-Boot 2024.04
This recipes is compatible with basic U-Boot support of meta-seco-bsp.
Currently, this has been tested only with i.MX8MP SOC and is alredy compaitible with the flow needed by all boards based on i.MX8 SOC (compatible with imx-mkimage tool).
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@b261f911
[WKS][ADD] Add generic wks file compatible with all SOCs
This wks file is compatible with all RK SOCs and depends on some variables (already included in seco-base-rk.inc file). Mainly, the variable has to be present is:
WKS_MACHINE_BOOT_PARTITION_LAYOUT
This is the Clea OS variable set that allows to have an unique WKS file for all SOCs where the bootloader partitions are different among the various SOCs.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@8b4188cf
[MACHINE][IMX8] Add include file for all machines based on iMX8 SOC
This will be the generic file that all internal machines base on i.MX8 have to include.
Note: Consider whether an additional layer of inclusion is needed, dependent to SOC type (i.MX8QM, i.MX8MP, ...).
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@810a1fbf
[MACHINE] Add include file to use for all supported machines
This file contains all settings imposed by meta-seco-bsp layer and customizations for i.MX8 SOC (today, the only SOC to support).
There is also reference to WKS file that will be added in the next commits.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-imx@29e3786b
[STRUCTURE][LAYER][ADD] Create mata-layer with basic content
- Licence file LICENSE.txt
- Documentation file README.md docs/assets/clea_os_logo.png
- layer configuration conf/layer.conf conf/bblayers.conf
Note: conf/bblayers.conf file is not yet useful becouse used by internal tool for the Clea OS project configuration. This file will contains the list of layer to include because they are in support of the same (as depencency list). Is currently the layer itself.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com