Integrate meta-seco-bsp/scarthgap_kickoff
Commit: clea-os/layers/seco/meta-seco-bsp@6850077f
[CI/CD] Add SRCREV.conf file
Add SRCREV.conf for the BSP/GHRUB/EFI integration made by CI/CD pipelines.
Involved recipes:
- grub-seco
- grub-efi-seco
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@da3cf24b
[U-BOOT] Remove reference to U-Boot 2022.10
It is in plane to add support for U-Boot 2022.10 in the future, since It is the U-Boot version used by Mediateck architetures. Actually, those kinds of architectures are not supported by Clea OS, so we can remove the references to U-Boot 2022.10 and add them back when we will support those architectures.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4c119c3c
[KERNEL] Update default SRCREV
The current value was a placeholder and it is not the correct one. Since the correct SRCREV value depends to the used architecture and it will set with the right value by the hardware-specific layer, it is not necessary to set it here. A defult value has been set to AUTOREV.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@10b2ebff
[KERNEL] Update default SRCURI
Fixed typo coming from old version of Clea OS, when its name was "Edgehog OS".
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@41118dc9
[NO-FUNCTIONAL] Update README file
Removed SysData disclaimer becouse SysData tool is no longer implemented at U-Boot level. Actually, it is an indipendent Rust implementation.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@ba509450
[NO-FUNCTIONAL] Update Copyright in README file
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@33188d9f
[BOOTSCRIPT][QEMU] support qemu in new bootscript
Add the devtype variable to u-boot, which allows setting the correct memory interface (default=mmc, qemu=virtio).
Delete old QEMU boot script and env for qemuarm and qemuarm64.
Add patch that updates the default U-boot environment to boot with the Clea OS bootscripts (e.g. bootcmd variable).
Set appropriate bootscript params and preferred providers.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@6ca0626a
[CLEA-OS] Remove management of CLEA_OS_IMAGE_WIC_DEPEND
This variable is now managed inside meta-seco-clea-os.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@bcf77b73
[BOOTSCRIPT][MACHINE] set bootscript as preferred provider
PREFERRED_PROVIDER_bootscript: set default value for a non ovverridable variable.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@fc76971e
[BOOTSCRIPT] Add management of console variable in boot.env
Inside the boot.env file, the console variable is now managed to allow the user to set the console device via the BOOTSCRIPT_PARAM variable. Added the variable console_interface, used to compose the bootargs variable.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@eec769c1
[BOOTSCRIPT] Update GUID partition type inside a bootscript files
At the moment, the GUID partition type is hardcoded inside the bootscript files. This commit updates the bootscript files to use the GUID partition type for the Clea OS partition.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@8fe38a87
[U-BOOT][PATITION PATCH] Fix typo inside a patch file
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@f3b95ac7
[BOOTSCRIPT] Remove bootscript content from bootimg-partition
The bootscript files has to be placed depending to the Clea OS configuration. At the moment, the bootscript is placed in a dedicated system boot partition and no longer together with the BSP files.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@30ec5092
[BOOTSCRIPT][U-BOOT] Add dymanic partition selection to bootscript
The partitions of the kernel/dtb/ramfs and rootfs are no dynamically selected based on the GPT GUID partition type assigned to he various Clea Os partitions. The added bussiness logic is compatible also with the SysData and double slot partitioning. Algorithm Implemented:
- obtain the list of the partition IDs for kernel, dtb, ramfs and rootfs. These are list of numeric ID space separated. Usuusally will there be only and ID but for those partitions that are present twice (or more) the IDs will be space separated and treated as a list.
- Set slot_id to 1. This last is usde to point to the partition ID to use for the current boot. If the slot_id is 1 then the first partition ID in the list will be used, if it is 2 then the second one will be used. This is used to manage the double slot partitioning.
- Check the presence of SysData tool.
- In case of SysData tool present: a. Read the slot_id from the SysData table (A or B). b. set the slot_id to 1 or 2 based on the SysData table (A = 1 and B = 2).
- set the u-boot environment variables for the kernel, dtb, ramfs and rootfs partitions using the slot_id and the list of partition IDs.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@2e3e3480
[BOOTSCRIPT][U-BOOT] Add bootdevice variable into bootargs
bootdevice variable is used to set the boot device in the bootargs. That variable is used inside the ramfs and rootfs for the initialization stage (on time, first boot, task) and for the rootfs mount stage.
Note: limited to only mmcblk devices.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@bee4fd74
[BOOTSCRIPT][NO-FUNCTIONAL] Change prompt in main bootscript
From "Clea OS" to "Basic" becouse the bootenv is going to be imported in that stage is the main and not Clea OS dependend one
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@fd818acb
[BOOTSCRIPT][GRUB] Add dynamic partition search
Search partitions by TYPEGUID and dynamically load the artifacts depending on where they are placed.
The configuration required for this bootscript to work is:
- kernel, fdt in the partitions marked with TYPEGUID=CLEA_OS_GPT_TYPE_KERNEL
- rootfs in the partitions marked with TYPEGUID=CLEA_OS_GPT_TYPE_ROOTFS
- bootx64.efi, ramfs, grubenv in the partitions marked with TYPEGUID=CLEA_OS_GPT_TYPE_BOOTING
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@eda4166f
[GRUB] Update repository path
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@94f75009
[GRUB][SYSDATA] Update sysdata patches
The added patches add the module sysdata using the functions defined in seco_module to search for the proper partition.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@716c3ff6
[BOOTSCRIPT] process input from REPLACE_PATH
Fix bug in bootscript-grub: placeholders are not replaced.
Process the input files (scripts, envs) from ${REPLACE_PATH} instead of the source dir, which is where file-parametric.bbclass puts its output with replaced placeholders.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@54afd3cf
[NO-FUNCTIONAL] Remove .keepme files from sysdata recipes
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@a0c388e2
[U-BOOT][CLASS] Upate management of PATCHPATH inside the classes
This initialization of PATCHPATH avoid the inclusion of a defatult path inside it. This becauase no default path folders want to be used.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@44e06a77
U-BOOT] Update SysData at last current versione for 2025.01.rc2 release
This commit updates SysData to the last current version for the U-Boot 2025.01.rc2 release.
Sysdata Ref.:
https://gitlab-ci-token:glpat-vns2QGGZ4ye_wEPt1q14@git.seco.com/clea-os/tools/sysdata.git
SysData repository remote URL:SysData branch name: main
SysData Last commit SHA: 01eb034109e4ad42eb7622b1a10b2455e8d20443
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@e51eb66d
[U-BOOT] Add Upstream-Status to patch of U-Boot 2024.01 for SysData patches
The U-Boot inside Poky requires the field Upstream-Status since the sanity check of the Yocto Project requires it.
Added: Upstream-Status: Inappropriate [custom support]
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@47583971
U-BOOT] Update SysData at last current versione for 2024.01 release
This commit updates SysData to the last current version for the U-Boot 2024.01 release.
Sysdata Ref.:
https://gitlab-ci-token:glpat-vns2QGGZ4ye_wEPt1q14@git.seco.com/clea-os/tools/sysdata.git
SysData repository remote URL:SysData branch name: main
SysData Last commit SHA: 704ded3d3cba86e5d97532569767a0fa3b560f40
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@deeb2c6a
[U-BOOT] Update SysData at last current versione for 2024.04 release
This commit updates SysData to the last current version for the U-Boot 2024.04 release.
Sysdata Ref.:
https://gitlab-ci-token:glpat-vns2QGGZ4ye_wEPt1q14@git.seco.com/clea-os/tools/sysdata.git
SysData repository remote URL:SysData branch name: main
SysData Last commit SHA: 704ded3d3cba86e5d97532569767a0fa3b560f40
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@d538e876
[U-BOOT] fix condition inside sysdata function
Some functions return nbytes instead of only 0 or 1, the changes done make sure that the if error condition activate when the return value is negative.
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@1a91bc3f
[U-BOOT] Add patches for sysdata on 2025.01.rc2 boot version
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@10cd79f1
[U-BOOT] Update partition extra function patches
Replaced hold patched with newer one in order to fix the management of the CONFIG_ variables inside Kconfig and Makefile files.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@d451f0d6
[UBOOT] add patches for sysdata on 2024.04 boot version
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@6d530d39
[U-BOOT] add patches for sysdata on 2024.01 boot version
Signed-off-by: carlo carlo.ferriolo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@671ca033
[U-BOOT] Extend U-Boot 2024.01 with Clea OS feature
Created a bbappend file to extend U-Boot 2024.01 with Clea OS feature, in order to support the ADDON mechanism and all other staffs will be added in the future.
Note: This version is present in Poky and is usded in Clea OS for the QEMU machine.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@b9ab9eaf
[U-BOOT] Add skeleton for SysData support
SysData in an internal developed tool to manage additional evironment outside the U-Boot environment. It is used to store additional information that is not part of the U-Boot environment but is required for the system to function properly. These informations are required for the Clea OS OTA and double slot support.
Also this feature is managed ad U-Boot addon, so it is not mandatory to have it in the U-Boot build.
To enable this feature, the user must set the following variable set:
UBOOT_ADDONS += "sysdata"
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@437126a5
[U-BOOT] Set improved partition tool as u-boot addon
The partition_tool_ext is added as flag inside the UBOOT_ADDONS variable. In this way, the partition tool is added to the u-boot recipe if that item is present in the UBOOT_ADDONS variable.
This automatically adds patches and fragment configuration file to apply to the u-boot.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@85b97819
[u-BOOT] Add patch for u-boot 2025.01.rc2 about partitioning tools
This set of patches and fragment config file improve the tools inside the u-boot acting as partitioning tools.
Mainly, it adds the support for GTP GUID type partitioning and the ability to retrieve partition IDs by type and store it in a partition table. This is useful for the partitioning tools to be able to handle partition IDs in a more flexible way, allowing for easier management of partition tables.
Additional information about the patch:
The GPT partition table uses GUID partition types to identify partitions. This patch adds functions to handle GUID partition types in the partition table. The main pourpose is to allow the user to get the partition info list for the specified disk and to get the partition info list of partition with specified GPT GUID type, for the specified disk. In this way is it possible to get also the partition ID of the partition with the specified GPT GUID type.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@ea07d926
[u-BOOT] Add patch for u-boot 2024.01 about partitioning tools
This set of patches and fragment config file improve the tools inside the u-boot acting as partitioning tools.
Mainly, it adds the support for GTP GUID type partitioning and the ability to retrieve partition IDs by type and store it in a partition table. This is useful for the partitioning tools to be able to handle partition IDs in a more flexible way, allowing for easier management of partition tables.
Additional information about the patch:
The GPT partition table uses GUID partition types to identify partitions. This patch adds functions to handle GUID partition types in the partition table. The main pourpose is to allow the user to get the partition info list for the specified disk and to get the partition info list of partition with specified GPT GUID type, for the specified disk. In this way is it possible to get also the partition ID of the partition with the specified GPT GUID type.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@e9f20f98
[u-BOOT] Add patch for u-boot 2024.04 about partitioning tools
This set of patches and fragment config file improve the tools inside the u-boot acting as partitioning tools.
Mainly, it adds the support for GTP GUID type partitioning and the ability to retrieve partition IDs by type and store it in a partition table. This is useful for the partitioning tools to be able to handle partition IDs in a more flexible way, allowing for easier management of partition tables.
Additional information about the patch:
The GPT partition table uses GUID partition types to identify partitions. This patch adds functions to handle GUID partition types in the partition table. The main pourpose is to allow the user to get the partition info list for the specified disk and to get the partition info list of partition with specified GPT GUID type, for the specified disk. In this way is it possible to get also the partition ID of the partition with the specified GPT GUID type.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@8f13d103
[U-BOOT] Add deafault additional source folder
By default, each version of supported U-Boot has its own folder from which fetch patch, configuration filea and other files useful during hte builde process.
The folder is versioned and has the name u-boot_.
The PV variable, comes from the u-boot root recipe, is used to point to the correct folder. (FILESEXTRAPATHS as been properly set in the u-boot-common.inc file).
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4f62fd86
[U-BOOT] Add addon mechanism to u-boot recipe
Add a mechanism to add custom u-boot patches and configuration files to the u-boot recipe. This is done by creating a new u-boot addon structure inside the UBOOT_ADDONS variable. This variable is a BitBake variable flag (aka varflag) that allows appending or overriding specific functionalities in the u-boot recipe. Each flaghas to be in the following format:
", , , "
Whwere:
- FILEEXTRAPATH: space separated list of directories to add to the variable FILEEXTRAPATH.
- PATCHPATH: space separated list of directories to add to the variable PATCHPATH.
- cfg file list: space separated list of configuration files to apply to the u-boot recipe.
- patch file list: space separated list of patches to apply to the u-boot recipe.
Those addictional staffs are added to the u-boot recipe in the case their flag is present inside the UBOOT_ADDONS variable. Example: UBOOT_ADDONS = "myaddon1, myaddon2" myaddon1 = "myaddon1, myaddon1/patches, myaddon1/configs, myaddon1/patches" myaddon2 = "myaddon2, myaddon2/patches, myaddon2/configs, myaddon2/patches"
Modified variables:
- FILEEXTRAPATH;
- PATCHPATH;
- SRC_URI;
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@6956a27e
[GRUB][SYSDATA] Update sysdata patches
Update patches with latest sysdata changes.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@f7f588a8
[SYSDATA] Use configurator setting BOOTLOADER_SYSDATA_ENABLED
Replace former SYSDATA_ENABLED
with BOOTLOADER_SYSDATA_ENABLED
that
is now part of the configurator.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@1b1b2838
[BOOTSCRIPT] grub: add devicetree and OS components partitions
Add devicetree support (optional).
Add variables that allow configuring the location of kernel/initramfs/dtb separately.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@1c510c37
[GRUB] do not install modules and grub tools by default
Remove grub-seco-common from RDEPENDS of grub-efi-seco.
Introduce variable INSTALL_MODULES in grub-efi-seco to enable installing modules, but not by default.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@5d26ef97
[BOOTSCRIPT] grub: process all lines in do_compile
Fix a bug in the do_compile of bootscript-grub: the last line was ignored if it didn't end with a newline.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@2a742351
[BOOTSCRIPT] grub: use common variables in image-uefi.conf
Use common variables defined in poky (conf/image-uefi.conf) for UEFI paths and names.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@f2dd34d9
[SYSDATA] use grub-editenv to add sysdata_enabled variable
Use grub-editenv to add sysdata_enable variable to grubenv.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@d659d8db
[GRUB] Use Seco's GRUB repository and add sysdata
Move SECO's GRUB recipe here from meta-seco-intel (!113 (merged)).
Original commits messages:
Add:
- Seco's GRUB repository with custom modules (such as sysdata,
seco_module, lua).
- support to bootscript following U-boot implementation for ARM
architecture.
- support to sysdata
Remove:
- GRUB patches, not needed.
- the recipe `grub-bootconf-seco` as the `grub.cfg` is now handled by
`bootscript` recipe.
Modify:
- installation script to be compatible with the bootscript
- partition order so that the first partition is "boot" instead of
"swap" as the bootscript looks for the environment file in the first
partition.
Signed-off-by: Nicola Sparnacci <nicola.sparnacci@seco.com>
Depending on the Yocto variable `SYSDATA_ENABLED` the `sysdata` module
is added to GRUB. If the module is added, the bootscript recipe updates
the GRUB environment adding the variable `sysdata_enabled=1`.
Signed-off-by: Nicola Sparnacci <nicola.sparnacci@seco.com>
As it's done for U-boot, sysdata's code is added using patches. With
this approach it's easier to update sysdata when it's needed directly in
Yocto.
Signed-off-by: Nicola Sparnacci <nicola.sparnacci@seco.com>
The added variable allows entering in GRUB "rescue" mode when:
`bootmode=rescue`
Signed-off-by: Nicola Sparnacci <nicola.sparnacci@seco.com>
Also integrates MR !112 (merged) from meta-seco-bsp:
- Use Seco's repository with customized GRUB. [CLEAOS-648]
- Add GRUB's bootscript and environment. [CLEAOS-673]
- Check if the variable
sysdata_enabled
is set in GRUB's environment and print if it's enabled or not. The variablesysdata_enabled
is automatically added to GRUB's environment if the the Yocto variableSYSDATA_ENABLED
is set to 1. - Switch to the branch in which sysdata's code is not included. Sysdata can be added via patches.
- Process the environment variable
bootmode
. Enter in GRUB rescue mode instead of booting settingbootmode=rescue
.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@65b7e50b
[BOOTSCRIPT] process grubenv with grub-editenv
GRUB has some requirements on the environment block file (grubenv) (e.g. size of exactly 1024 bytes) it is recommended to use the grub-editenv tool to create it.
This commit implements do_compile in bootscript-grub so that the grubenv file is re-created using grub-editenv from grub-seco-native.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@ec4e38e2
[BOOTSCRIPT] add grub and split uboot/grub
This commit adds the grub bootscript and environment.
The bootscript supports loading a custom GRUB or LUA script if installed.
The grubenv file must have a size of 1024 bytes, so it's recommended to use the grub-editenv tool to generate it.
This commit also splits the bootscript recipe into two different recipes (bootscript-grub and bootscript-uboot), which both provide "bootscript". Machines can select the appropriate bootscript flavor by setting PREFERRED_PROVIDER_bootscript.
Both grub.cfg and grubenv are processed with the file-parametric class from meta-seco-clea-os, so are replaced.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@a07d8d5d
[BOOTSCRIPT] Add set of .scr and .env file
Created a tree of booscript files to use in different contexts. There are three pairs of .scr/.env files:
- The root of the tree is boot.scr/boot.env: the boot.env file is used as library of macros. These macros have been retrieved from the our internal U-Boot for i.MX. This is the environment the SECO boards have, used in combination with seco_config tool. The idea is to replace the same environment we had in the past but created outside the code byte of the U-Boot. This gives us more flexibility in Clea OS and the possibility to use it also for third-party machines for which we do not have custom U-Boot (see the EVK supported today). Instead, the boot.scr file is used as main script, currently used to load the env file (in fist instance the boot.env file) and load, then run, the other *.scr files.
- boot_hw.scr and boot_hw.env is the pair related to the hardware.
- boot_clea-os.scr and boot_clea-os.env is the pair related to the Clea OS distribution. These last two set of files are intended to be customized depending to the machine in use and dependently to the distribution configuration selected (flavor, disk-layout, ...), respectively.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@0d6385d1
[BOOTSCRIPT] Update recipe with usage of file-parametric class
Fist at all, the inheritance to file-parametric class has been added. This allows to create a list of parameters to use inside the various bootscript (.src/.env) files. For this purpuse the BOOTSCRIPT_PARAM is used. This last will be used at both SOC, SOM/board and DISTRO level. As metter of fact, some of the parameters are related to the disk layout.
Note: currently only a draf version of those scripts is present (next commit) and the right configuration will come out during test will be performed on all the architectures and with different disk layouts.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@920eb96f
[YCONFIG] Add "BSP Settings" and Sysdata menus
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4b425e38
[NXP89XX] Add recipe version
This way, we can set specific versions for specific boards in the future when we might update the driver.
--
Commit: clea-os/layers/seco/meta-seco-bsp@35f391aa
[NXP89XX] Add nxp89xx kernel module
Add out-of-tree kernel module to drive WiFi + BT NXP 89XX chips.
JIRA Reference: [CLEAOS-657]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@b1401ea0
[FIX][LAYER] Fix correct layer name in LAYERDEPENDS
Commit: clea-os/layers/seco/meta-seco-bsp@ff2fd216
[STRUCTURE] Make the layer dependent to meta-seco-clea-os
The original architecture was that meta-seco-bsp and meta-seco-clea-os would be the core of Clea OS and would have equal weight in the layer hierarchy. Now meta-seco-bsp loses relevance and becomes the layer that helps make the hardware support layer homogeneous (among the various silicon vendors), providing a common interface upward. Consequently, meta-seco-bsp becomes dependent on meta-seco-clea-os, and part of the generic code (recipes and classes) is moved from meta-seco-bsp to meta-seco-clea-os.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@43529974
[CLASS] Move wks.in parameters definitions
Moved the definitions of wks.in parameters into meta-seco-clea-os
's
clea-os-distro.bbclass
.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@2014f432
[DOCKER] docker defconfing implemented in meta-seco-bsp layer.
In linux-seco.inc file the inclusion of docker.cfg config file has been added, conditioned by the presence of VIRTUALIZATION_DOCKER var
--
Commit: clea-os/layers/seco/meta-seco-bsp@e5ff4fb6
[CLASS] Extend grub-efi-cfg
class
Extend poky's grub-efi-cfg
class to allow initrds in GRUB's boot
configuration. This GRUB configuration is the one that is installed into
the board after the install procedure with removable media.
JIRA Reference: [CLEAOS-616]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@a461735d
[BOOTSCRIPT][QEMU][ADD] add boot.scr and boot.env for qemuarm
Add boot scripts and environments for qemuarm and qemuarm64
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@adbadd36
Revert "[CLASS][QEMU-LOCAL][ADD] add support for running a local installation of qemu"
This reverts commit 8c5c2a1b6aac151f008f60e43e4964c848c085fa.
--
Commit: clea-os/layers/seco/meta-seco-bsp@5787d7dd
[FLASH-TOOL] Added recipe to handle common flash tools
--
Commit: clea-os/layers/seco/meta-seco-bsp@48813e49
[YCONFIG][QEMU] convert CONFIG_QEMU_QB-MEM to string
QB_SMP can't be of type int because the qemuboot bbclass expects it to be the whole -smp QEMU argument.
Convert it to string and improve help string.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@f91df1ba
[CLASS][QEMU-LOCAL][ADD] add support for running a local installation of qemu
This commit:
- adds the qemuboot-local recipe, which deploys runqemu and its hard dependencies to DEPLOY_DIR_IMAGE
- inherits the qemuboot-local bbclass, which does two things:
- adds qemu dependencies such as qemu-helper-native and ovmf on x86
- deploys the *.local.qemuboot.conf script which is a patched version of the *.qemuboot.conf files produces by the qemuboot bbclass
This allows running core-image-minimal in two ways:
- from a bitbake environment (after sourcing the project setup script):
runqemu [slirp] [nographic]
runqemu [slirp] [nographic] [ovmf]
- directly from the deploy directory (DEPLOY_DIR_IMAGE), with a suitable qemu system installed in /usr/bin, without sourcing the bitbake environment script:
PATH="$PWD:$PATH" runqemu [slirp] [nographic]
PATH="$PWD:$PATH" runqemu [slirp] [nographic] [ovmf]
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@81ea3678
[YCONFIG][QEMU] add qemu runtime configuration menu
Add menu to configurator that allows configuring qemu runtime configuration options written to the .qemuboot.conf files for the qemu helper scripts.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@d39e3aba
[BSP][UBOOT][FIX] enable env import command
The boot script expects the "env" command to support the import feature, which allows importing boot.env from file.
Enable the feature via a configuration fragment file.
Variable CFG_SRC_LIST contains the list of cfg fragments to append to SRC_URI and apply to the kernel.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@9444bd8f
[BSP][UBOOT][FIX] fix u-boot build path
U-boot build fails because recipe looks for .config file in B="{WORKDIR}/build/{BPN}-${PV}" set by u-boot-seco-inc.
The file is actually in B="{WORKDIR}/{BPN}-${PV}"
Fix that.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@0ec02cc2
[KERNEL][FIX] allow setting DTB path prefix from arch-specific layers
Introduce variables BOARD_VENDOR and KERNEL_DTB_PREFIX (defaulting to "seco") which sets the prefix of the path to the DTS files. E.g.: "freescale/" for NXP EVK boards.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@7a88d73e
[BSP][UBOOT][ADD] add bootscript
Add a boot script and boot environment common to all boards.
The bootscript is in boot.scr.in, which is then compiled into a U-boot image and installed in the /boot partition. The script imports the variables in boot.env (which is supposed to be overridden by the architecture-specific layers and is provided in this layer only for reference).
boot.env contains variables used to configure the boot script:
- custom_boot_script: a custom script to run before everything else (optional)
- cmdline: command line args for kernel (optional). The script automatically appends: root=/dev/mmcblk{mmcdev}p{root_part} rw rootwait
- devicetree: dtb file used as root to construct FDT (optional)
- overlays: list of overlay (dtbo) to apply to FDT (optional)
- initramfs: initramfs file (optional)
- kernel: kernel image file (defaults to linuximage if not set)
- boot_part: id of partition containing kernel, dtbs, boot.scr and boot.env
- root_part: id of root partition, passed to kernel via cmdline args
These files are expected to be in the first partition of the boot media (eMMC/uSD).
The script expects the variable mmcdev to be set as the id of the mmc device to boot from.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@b170f71b
[YCONFIG] Add YConfig entries for QEMU
Added the machines for the supported QEMU emulators on Scarthgap following the syntax of the new build configurator.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@61055d5c
[BBLAYERS] Use layer relative path referred to ${BSPDIR}
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@91bdf67e
[KERNEL][CLASS] Set 6.6 as default kernel version
Officially the supported Linux kernel version for Clea OS 2.0 is 6.6.x. Where not possible (see Rockchip), an older Linux release will be locally selected inside the own layer.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@45d02b96
[KERNEL][CLASS] Fix reduntant inheritance.
The classes kernel-yocto and kernel are already inherited in kernel-seco so they are redundant.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@9bff7b52
[WIC][CLASS] Replace ';' with '|' as separator for wic partitions
Replaced in WKS_MACHINE_BOOT_PARTITION_LAYOUT
the separator to
split WKS_MACHINE_BOOT_PARTITION_LAYOUT_LIST
. The reason why is that
the character ;
may be used into a parameter string of wic plugins
while the character |
is less likely to be used in this context,
reducing potential parsing issues.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@bc06d659
[GRUB][CLASS] Add auto-patch class to GRUB include file
Add class auto-patch
to grub2-seco.inc
.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@77cfcd19
[GRUB][CLASS] Move grub2-seco.inc
to meta-seco-bsp
Move from meta-seco-intel
layer the class grub2-seco.inc
to be
included in any GRUB recipe.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4ad5d4b5
[GRUB][CLASS] Add Seco's own GRUB recipes
Configure SECO's GRUB recipes.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@f57682be
[KERNEL][CLASS] Add auto-patch to linux-seco.inc
file
Inherit the auto-patch
class in Seco's kernel include file.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@cb8b7b9e
[KERNEL][CLASS] Add support to Intel-based boards
Configure GRUB as bootloader and kernel 6.6 as defeault parameters.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4eb5d19f
[KERNEL][CLASS][ADD] Add basic class for Linux kernel recipes
All recipes regarding the kernel management have to include it becouse linux-seco.inc allows having common behavior among various Silicon Vendors. In fact, it provides a common interface where some variables have to be populated per Silicon Vendor in order to custom the specific flavor.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@182c513a
[U-BOOT][CLASS][ADD] Add basic class for u-boot recipes
All recipes regarding the u-boot management have to include it becouse u-boot-seco.inc allows having common behavior among various Silicon Vendors. In fact, it provides a common interface where some variables have to be populated per Silicon Vendor in order to custom the specific flavor.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@9d70845a
[CLASS][ADD] Add auto-fetch class regarding patch management
This class introduces PATCHPATH variable. This last is a list of patch wherein series of patches are present. This class automatically add to SRC_URI all find patches in those folders, without the need to explicitly list the patch files to the SRC_URI variable inside the recipe.
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@4f32361f
[MACHINE][ADD] Add machine generic related basic include file
This file have to be included in all machines managed by Clea OS. The best thing is to include it as soon as possible into the includes hierarchy. This is an example
(meta-seco-bsp) seco-base.inc
(meta-seco-rk) seco-base-rk.inc includes seco-base.inc px30.inc includes seco-base-rk.inc d23.conf includes px30.inc
Signed-off-by: Davide Cardillo davide.cardillo@seco.com
--
Commit: clea-os/layers/seco/meta-seco-bsp@7e4ba973
[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