Integrate meta-seco-intel/scarthgap_kickoff
Commit: clea-os/layers/seco/meta-seco-intel@56bc41bf
[GRUB][ENV] Set mmcdev
to search partitions only in hd0
Search partitions by TYPEGUID only in the device hd0
.
When booting:
- from USB it's supposed that the USB is
hd0
and the MMC ishd1
. - from MMC without USB connected,
hd0
is the MMC.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@9038895e
[DISK-LAYOUT] Use revised disk-layout
Use defined TYPEGUID for each partition.
The artifacts are divided into the partitions as such:
- installer:
├── bzImage
├── core-image-minimal-initramfs-seco-corei7-64.cpio.gz
├── EFI
│ └── BOOT
│ ├── bootx64.efi
│ ├── grub-bootscript.cfg
│ └── grub.cfg
├── microcode.cpio
└── rootfs.img
- booting partition:
├── EFI
│ └── BOOT
│ ├── bootx64.efi
│ └── grub.cfg
├── GRUB
│ └── grubenv
├── microcode.cpio
└── ramfs.img
- kernel, fdt partition:
└── bzImage
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@e507012b
[CLASS] Remove swap partition
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@1c8d522d
[GRUB] Add to grubenv
kernel_part
& initramfs_part
The bootscript needs these variables to correctly find the kernel and initramfs in the partitions.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@467852d7
[CLASS] Use WKS_BASIC_SLOT_PARTITION_LAYOUT_LIST
for bootfs/rootfs partitions
Use WKS_BASIC_SLOT_PARTITION_LAYOUT_LIST
to be compliant with meta-seco-clea-os
.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@67ad9db1
[GRUB][BOOTSCRIPT] Move GRUB recipes in meta-seco-bsp
GRUB recipes have been moved into meta-seco-bsp
(ref:
clea-os/layers/seco/meta-seco-bsp!90 (merged)).
Bootscript recipe has been renamed with bootscript-grub
and the logic
has been moved into meta-seco-bsp
. Also the SysData flag handling has
been moved. In this layer it's maintained the Intel dedicated GRUB
environment.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@d7bc834e
[GRUB] Add bootmode
variable to GRUB environment
The added variable allows entering in GRUB "rescue" mode when:
bootmode=rescue
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@34757539
[GRUB] Add sysdata via patches
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
--
Commit: clea-os/layers/seco/meta-seco-intel@b4e7e238
[GRUB] Add sysdata module to GRUB conditionally
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
--
Commit: clea-os/layers/seco/meta-seco-intel@3e255241
[GRUB] Add sysdata and bootscript support to GRUB
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 thegrub.cfg
is now handled bybootscript
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.
JIRA Reference: [CLEAOS-673]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@f3f3c269
[CLASS][WIC] Add wks.in parametrization for Intel boards
Populate the parameters used in clea-os-simple-image.wks.in
to use
that image properly.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@fb100681
[INITRAMFS] Modify installation script to allow initrd
Modify the 'init-install-efi.sh' that is the script executed when
selecting install
GRUB entry to write the OS to the board.
The default script modifies the installed GRUB configuration so that it's not possible to run a initrd before jumping to the actual rootfs.
JIRA Reference: [CLEAOS-617]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@13b311e6
[GRUB][WIC] Add initramfs to partitions & fix GRUB configuration
Add to install
partition the initramfs:
-
core-image-minimal-initramfs
-> used to install the OS into the board. -
seco-clea-os-initramfs
-> used to run the OS live from installation media.
Add to image
partition the initramfs:
-
seco-clea-os-initramfs
-> used to run the OS from the board.
Update the wks /boot partition to use the updated seco-bootimg-efi
wic
script to add initrds to boot
menuentry.
JIRA Reference: [CLEAOS-616]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@100fd18a
[GRUB] Add initrd support to live boot
Update the wic script plugin handling the generation of GRUB's configuration for the partition used to install the OS to the board.
The original script only let add initrds to the install
menuentry
while for the boot
menuentry the string was hard-coded to initrd /initrd
. Now, with a new variable it's possible to add initrds also to
boot
menuentry.
This configuration is automatically generated during the wic creation.
JIRA Reference: [CLEAOS-616]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@45fccdd4
[GRUB-BOOTCONF] Allow initrds in GRUB boot configuration
Add the possibility to use initrds in GRUB boot configuration. Note that this configuration is the one that is installed on the board during the install process with a removable media.
Requires the compatible grub-efi-cfg-seco.bbclass
in meta-seco-bsp
added in 6d6f6ad7d96b125091a3704b217943c8b1831709.
JIRA Reference: [CLEAOS-616]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@b8fbb8d3
[KERNEL] Improve defconfig and its usage
Add x86_64_seco_defconfig
file to compile the kernel for x86. Yocto
uses by default the yocto-kernel-cache
builder to compose the
defconfing dynamically. In linux-seco the will is not to use it to keep
the defconfig local, immune to upstream changes.
Remove yocto-kernel-cache
-related variables and files. Remove
virtio.scc
as it's already embedded in the defconfig.
JIRA Reference: [CLEAOS-620]
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@00c05d78
[YCONFIG] Add YConfig entries for Intel
Added the machines for the supported Intel boards 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-intel@0aff5a0b
[BBLAYERS] Use layer relative path referred to ${BSPDIR}
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@264f1e82
[SRCREV] Add SRCREV.conf
Add the SRCREV.conf
to the layer and use the AUTOREV
where the SRCREV
was specified.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@99a21b08
[KERNEL][CLASS] Remove SRCREV as it's handled in meta-seco-bsp
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@c213b4ee
[WIC][NON-FUNC] Clean-up and add comments on wic setup
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@43cb3232
[WIC] Update wks.in following CleaOS structure
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@73b34dc7
[WIC][PLUGIN] Add wks.in and seco-bootimg-efi
plugin
All the required components to create an image suitable for Intel-based SECO boards have been added. Specifically:
-
seco-image-intel.wks.in
to setup thewic
image - the plugin
seco-bootimg-efi.py
used in thewks.in
to create theinstall
partition -
initramfs-module-install_%.bbappend
to use thegrub-seco
package - the patch
0001-Enable-EFI-framebuffer.patch
to let the board boot correctly. Kernel's configuration changed from 6.1 to 6.6 so some defines need to be added.
Tested booting from USB. Built core-image-minimal
with a manually
created configuration for B68 board.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@659d5848
[BSP][GRUB] Update GRUB recipes for auto-patch class
The auto-patch has been included into grub2-seco.inc
so it's possible
to simplify GRUB's recipes in this layer. The patches are automatically
retrieved within the path set in PATCHPATH.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@388c1d74
[BSP][GRUB] Move grub2-seco.inc
to meta-seco-bsp
Adapt GRUB recipe to match CleaOS structure. The include file is moved
to the meta-seco-bsp
layer.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@62978931
[BSP][GRUB] Add Seco's own GRUB recipes
Update GRUB recipes with SECO specific ones. SECO's GRUB recipes now how
the suffix -seco
in the file name.
The variable used in wic-tools needs to be modified considering the name change. If not, the default GRUB recipe is included in the image even if it's not needed.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@6aad098b
[BSP][GRUB] Add GRUB recipes to the layer
Add GRUB recipes copied from poky.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@e6eba3b8
[BSP][KERNEL] Set linux-seco
recipe to work with auto-patch
Adding the class auto-patch
in linux-seco.inc
simplyfies the code of
the kernel recipe.
The patches are gathered automatically without specifying each file in the SRC_URI.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@95b2ba10
[BSP][KERNEL] Adapt kernel recipe matching CleaOS structure
Remove dependency from linux-yocto
class, replaced by linux-seco
class.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@c8159f40
[BSP][KERNEL] Add linux-seco_6.6.44
recipe
The recipe follows Yocto's guidelines to compile the kernel. The configuration of the kernel is downloaded from the yocto-kernel-cache repository.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@5ae6f517
[MACHINE] Add corei7-64
machine
Add machine with minimal configuration capable of compiling a Intel machine.
Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com
--
Commit: clea-os/layers/seco/meta-seco-intel@8e4acb87
[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: Nicola Sparnacci nicola.sparnacci@seco.com