Skip to content

Integrate meta-seco-rpi/scarthgap_kickoff

Commit: clea-os/layers/seco/meta-seco-rpi@0d077843

[CI/CD] Add SRCREV.conf file

Add SRCREV.conf for the BSP integration made by CI/CD pipelines.

Involved recipes: - u-boot (virtual/bootloader)

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

Commit: clea-os/layers/seco/meta-seco-rpi@e8eb7c78

[NO-FUNCTIONAL] Update Copyright in README file

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

Commit: clea-os/layers/seco/meta-seco-rpi@323cf577

[LAYER][BOOTSCRIPT] Set bootscoript variables for RPI4 and RP5

Set the flags of the BOOTSCRIPT_PARAM variable, used inside the bootscript recipe to set the bootscript file.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@059984ab

[LAYER][BOOTSCRIPT] Set bootscript-uboot as default bootscript

In meta-raspberrypi, a recipe used to set a default bootscript is present. This last has been removed and replaced with the Clea OS bootscript-uboot recipe. To do this the following variable has been set: PREFERRED_PROVIDER_bootscript

Since the boot.scr file is already present indide the boot partition, also this one has been removed in order to use the Clea OS one: changed:

RPI_EXTRA_IMAGE_BOOT_FILES

Moreover, also the room of the boot-specific files has been changed: all those file are now inside the Clea OS sytem partition.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@e84f8558

[BOOTSCRIPT] Add hardware-specific boot script for raspberrypi5

This file overrides the default one presents in meta-seco-bsp, in order to setup the default bootaargs for the raspberrypi RPI5 board.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@3df332c5

[BOOTSCRIPT] Add hardware-specific boot script for raspberrypi4

This file overrides the default one presents in meta-seco-bsp, in order to setup the default bootaargs for the raspberrypi RPI4 board.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@9687485b

[BOOTSCRIPT] Remove overriding file boot.env and boot.scr.in

These files are now generic and is reccommended to be used as is in odeer to preserve the coommon behaviour of the boot process. The part of bootscript that will be override will be the hardware specific files: boot_hw.env and boot_hw.scr.in.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@ade9c5dd

[BOOTSCRIPT] Rename bootscript related recipes

The recipes related to bootscript have been renamed to bootscript-uboot to better reflect their purpose and to avoid confusion with the other bootscript implementations: bootscript-grub.

Now bootscript recepies are:

  • bootscript-uboot: for u-boot based bootscripts
  • bootscript-grub: for grub based bootscripts And the bootscript is the common include file used by both.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@41d67839

[U-BOOT] Revmove not used patch

This patch is not longer applied to the current U-Boot version.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@d54b0400

[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-rpi@391d4bd0

[U-BOOT] Set CONFIG_ set to save environment in MMC

Applied by default a cfg to set the config fragment aimed to use the MMC as storage for the environment variables.

This setting will be useful (is a requirement) for the SysData support.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@b06dc820

[BSP][BOOTFILES] uart: add config to enable gpio uart on rpi5

Add configuration parameter that, for machine raspberrypi5, sets up serial port on GPIO 14/15.

This config only affects kernel and userspace, as U-boot does not have the necessary driver, and continues to use the primary uart.

This option is useful for Compute Module 5 which does not come with the primary UART header mounted.

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@57f9b7dd

[YCONFIG] Add silicon-vendor-related configurations

Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@94cae5cc

[LICENSE][YCONFIG] Add license acceptance via configurator

Add possibility to accept automatically the license 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-rpi@1ea223c8

[LICENSE] Improve license script

Fix script that was always printing the message that the flag was already accepted in the local.conf.

JIRA Reference: [CLEAOS-627]

--

Commit: clea-os/layers/seco/meta-seco-rpi@ddb002d4

[LICENSE] Add post-script to ask for synaptics-killswitch license acceptance

The variable: LICENSE_FLAGS_ACCEPTED += "synaptics-killswitch" is added to local.conf if the user accepts the license.

Example of configurator output:

yoctouser@70f01de971bd:~/workdir/migration-to-scarthgap-manifest-clean$ . ./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: using non-Seco raspberrypi4-64. No SRCREV.conf will be created unless custom layer is used.
WARNING: no SRCREV.conf files found. Not creating build_rpi4_64/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=raspberrypi4-64
    SDKMACHINE=i686
    DISTRO=clea-os-fb
    EULA=

No post-script has been found in the layer meta-seco-clea-os.
Executing post-script 0001-licenses-seco-rpi-post-script.sh found in the layer meta-seco-rpi
Do you accept synaptics-killswitch license? (yes/no) [default: yes]: yes
The synaptics-killswitch license has been accepted.
Adding the license flag LICENSE_FLAGS_ACCEPTED to local.conf.

JIRA Reference: [CLEAOS-627]

Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@aba77cec

[RPI5][UART] disable UART on GPIO14/15

Since U-boot does not support it yet on raspberrypi5, restore the default configuration (UART on new connector on ttyACM10)

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@29a9c6e3

[BOOTSCRIPT] add boot script and boot env

The script uses the FDT and bootargs placed in memory by the rpi bootloader and forwards it to the kernel.

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@04094249

[YCONFIG] Add YConfig entries for RaspberryPi

Added the machines for the supported Raspberry Pi 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-rpi@d293e71c

[KERNEL][FIX] preserve SRC_URI value after including linux-seco.inc

Restore value of SRC_URI set by meta-raspberrypi after including meta-seco-bsp .inc file.

Also, assign correct values to meta-seco-bsp variables not assigned in meta-raspberrypi (KERNEL_SRC, SRCREV, SRCBRANCH).

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@6ab0c126

[BSP][UBOOT][FIX] remove redundant assignments

Remove useless assignments to variables that are already assigned in u-boot-seco.inc.

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@9658b1ae

[LAYER][CLEA-OS][ADD] add readme, license and logo

Add README.md, LICENSE.txt and clea os logo png for README.

CLEAOS-535

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@ce094b60

[BSP][UBOOT][ADD] add u-boot 2025.01-rc2 for raspberrypi

The default u-boot version of scarthgap does not include these patches https://lists.denx.de/pipermail/u-boot/2024-January/544224.html which add basic support for the Raspberry Pi 5.

This commit adds a recipe for u-boot 2025.01-rc2 (latest upstream u-boot version at the time of writing), and adds a version of the patch https://github.com/agherzan/meta-raspberrypi/blob/scarthgap/recipes-bsp/u-boot/files/0001-rpi-always-set-fdt_addr-with-firmware-provided-FDT-address.patch ported to the new version.

Also enable U-boot for all rpi boards in layer.conf.

GPIO 14/15 UART: at the time of writing U-boot does not have a driver for the AXI PL011 UART controller that the raspberry pi 5 uses for uart0 (GPIO 14/15), so the GPIO serial port does not work.

CLEAOS-535

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@84a5e2c2

[BSP][KERNEL][ADD] integrate linux-raspberrypi

Add bbappend file for linux-raspberrypi that requires linux-seco.inc

CLEAOS-535

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@398173d2

[BSP][CLEA-OS][FIX] rpi5: enable and set UART on GPIO 14/15

When ENABLE_UART=1, meta-raspberrypi on rpi5 sets the debug UART to the new UART connector (ttyAMA10), which requires a special cable to be connected.

Set it to GPIO 14/15 (ttyAMA0), same as rpi4.

CLEAOS-535

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

--

Commit: clea-os/layers/seco/meta-seco-rpi@052250f5

[LAYER][CLEA-OS][ADD] add layer configuration files

Add layer.conf and bblayer.conf. This layer depends on meta-raspberrypi.

CLEAOS-535

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

Merge request reports

Loading