-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Yocto scarthgap [Part3] #1545
Open
quaresmajose
wants to merge
39
commits into
foundriesio:main
Choose a base branch
from
quaresmajose:scarthgap-next-p3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,034
−536
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
3fd0336
bsp: linux-lmp-ti-staging: bump 6.1.83
quaresmajose 3925b22
bsp: linux-lmp-ti-staging: drop beagleplay repo
quaresmajose a312516
bsp: imx-boot: Drop un-necessary variable BOOT_NAME
quaresmajose eda3dad
Revert "bsp: lmp-machine-custom: UBOOT_PROVIDES_BOOT_CONTAINER is now…
quaresmajose ffa68f1
base: ostree: add support systemd-boot automatic boot assesment
igoropaniuk fa24464
base: kernel-lmp-fitimage: replace with oe-core 74054f3 copy
quaresmajose 7096060
base: kernel-lmp-fitimage: add loadable
angolini 8586d05
base: libdevmapper: Inherit nopackages
quaresmajose 11cd934
base: u-boot-fio: inherit uuu_bootloader_tag on imx bsp
quaresmajose cf10b90
base: u-boot-fio-mfgtool: add default lmp-base distro cfg
quaresmajose f53debc
base/bsp: uboot-fitimage: Adapt the class to scarthgap dir naming
angolini 5b5a073
base/bsp: mfgtool-files: Change the image filename for scarthgap
angolini 89ebcf7
bsp: lmp-machine-custom: drop beagleplay KERNEL_DEVICETREE
quaresmajose c40a38c
bsp: linux-lmp-ti-staging: 6.1 -> 6.6
quaresmajose 06a1107
bsp: u-boot-ti-staging: refresh patches
quaresmajose 5d34d7e
bsp: u-boot-bb.org: drop beagleplay repo
quaresmajose 8c03fa8
base: kmeta-linux-lmp-6.6.y: bump to cc8b1802
quaresmajose f3a9e16
bsp: lmp-machine-custom: add beagleplay LMP_BOOT_FIRMWARE_FILES
quaresmajose 6c6c058
bsp: linux-lmp-ti-staging: drop non-existent kernel 6.6.44 devicetrees
quaresmajose 1468f4d
bsp: ti-mfgtool-files: also add multiconfig depends
quaresmajose 9cf54fd
bsp: lmp-mfgtool: am62xx-evm u-boot dfu is now using UBOOT_CONFIG_FRA…
quaresmajose 3b01cbe
bsp: lmp-mfgtool: disable TI k3 u-boot sign
quaresmajose e3e94bb
bsp: tegra: update bbappends for L4T R35.6.0
quaresmajose 21b6034
base: lmp: systemd: enable coredump
quaresmajose a02e277
base: lmp: remove pending IMAGE_NAME_SUFFIX
quaresmajose 6e812bc
base: lmp: drop luks unused ota-ext4 backup image
quaresmajose 6cc4c1c
base/bsp: u-boot-fio: update to the 2024.04+fio baseline
ricardosalveti b9bb5d8
bsp: u-boot-ostree-scr-fit: qemu: fix default conf entry
ricardosalveti eef97fd
base: lmp: bump version for the 5.0.4 yocto release
ricardosalveti 55058cb
bsp: lmp-machine-custom: add kernel serial arguments for rpi5
ricardosalveti 08a0680
bsp: linux-lmp-rpi: update to 6.6.22, from meta-rpi scarthgap
ricardosalveti c644158
base: kmeta-linux-lmp-6.6.y: bump to 16feae8a
ricardosalveti 44a2533
bsp: lmp-machine-custom: drop imx93 devicetrees that do not exist in …
quaresmajose 23d95d3
base: edk2-firmware: Increase ScratchMemory buffer for openssl
quaresmajose 016e5f0
Revert "systemd: add job to fix timesyncd update"
quaresmajose 23b596c
base: systemd: refresh lmp patch
quaresmajose 008c0d3
base: systemd-boot display order
ldts 2844304
bsp: linux-lmp-ti-staging: bump scarthgap.202411141406
quaresmajose d462b14
base: optee-os-fio-se05x: yocto multiple-repo support
ldts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...es-bsp/uefi/edk2-firmware/0001-CryptoPkg-Increase-ScratchMemory-buffer-for-openssl-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
From 46e407d9654d5c8986b0f7b61de3aa223b1df399 Mon Sep 17 00:00:00 2001 | ||
From: Jorge Ramirez-Ortiz <[email protected]> | ||
Date: Thu, 31 Oct 2024 15:12:04 +0100 | ||
Subject: [PATCH] CryptoPkg: Increase ScratchMemory buffer for openssl 3.0.15 | ||
|
||
Openssl 3.0.15 has a larger memory footprint. | ||
|
||
Updating from EDK 2022.2 (openssl 1.1.j) to 2024.2 (openssl 3.0.15) | ||
causes our EFI provisioning application[1] to fail due to an out of | ||
memory condition. | ||
|
||
On inspection, at the time of that fault, 2022.2 had an additional 900 | ||
pages. This is why this patch proposes the increase of the ScratchMemory | ||
buffer by that same ammount. | ||
|
||
[1] https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git | ||
|
||
Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/6394] | ||
|
||
Signed-off-by: Jorge Ramirez-Ortiz <[email protected]> | ||
Signed-off-by: Jose Quaresma <[email protected]> | ||
--- | ||
CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c b/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c | ||
index 0d2ca604ea..bb066f0dd0 100644 | ||
--- a/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c | ||
+++ b/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c | ||
@@ -33,7 +33,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent | ||
#define RT_PAGE_FREE 0x00000000 | ||
#define RT_PAGE_USED 0x00000001 | ||
|
||
-#define MIN_REQUIRED_BLOCKS 600 | ||
+#define MIN_REQUIRED_BLOCKS 1100 | ||
|
||
// | ||
// Memory Page Table | ||
-- | ||
2.25.1 | ||
|
4 changes: 4 additions & 0 deletions
4
meta-lmp-base/dynamic-layers/meta-arm/recipes-bsp/uefi/edk2-firmware_%.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
do_install:append:qemuarm64-secureboot-ebbr() { | ||
install ${B}/Build/${EDK2_PLATFORM}/${EDK2_BUILD_MODE}_${EDK_COMPILER}/FV/QEMU*.fd ${D}/firmware/ | ||
# QEMU requires that the images be minimum of 64M in size | ||
truncate -s 64M ${D}/firmware/QEMU*.fd | ||
} | ||
|
||
SRC_URI += "file://0001-CryptoPkg-Increase-ScratchMemory-buffer-for-openssl-.patch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
title UEFI Secure Boot Provisioning | ||
efi /LockDown.efi | ||
sort-key 99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
title UEFI Secure Boot PK Clear | ||
efi /UnLock-signed.efi | ||
sort-key 99 |
106 changes: 106 additions & 0 deletions
106
meta-lmp-base/recipes-bsp/u-boot/u-boot-fio-mfgtool/lmp-base-common.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# CONFIG_ANDROID_BOOT_IMAGE is not set | ||
CONFIG_BOOTCOMMAND="reset" | ||
CONFIG_BOOTDELAY=-2 | ||
# CONFIG_BOOTM_NETBSD is not set | ||
# CONFIG_BOOTM_PLAN9 is not set | ||
# CONFIG_BOOTM_RTEMS is not set | ||
# CONFIG_BOOTM_VXWORKS is not set | ||
# CONFIG_CMD_BDI is not set | ||
# CONFIG_CMD_BMODE is not set | ||
# CONFIG_CMD_BOOTD is not set | ||
# CONFIG_CMD_BOOTP is not set | ||
# CONFIG_CMD_BOOTZ is not set | ||
# CONFIG_CMD_DEKBLOB is not set | ||
# CONFIG_CMD_DFU is not set | ||
# CONFIG_CMD_DHCP is not set | ||
# CONFIG_CMD_EDITENV is not set | ||
# CONFIG_CMD_ELF is not set | ||
# CONFIG_CMD_EXPORTENV is not set | ||
CONFIG_CMD_FIOVB=y | ||
# CONFIG_CMD_FLASH is not set | ||
# CONFIG_CMD_GETTIME is not set | ||
# CONFIG_CMD_IMI is not set | ||
# CONFIG_CMD_IMPORTENV is not set | ||
# CONFIG_CMD_LOADB is not set | ||
# CONFIG_CMD_LOADS is not set | ||
# CONFIG_CMD_NET is not set | ||
# CONFIG_CMD_NFS is not set | ||
# CONFIG_CMD_POWEROFF is not set | ||
# CONFIG_CMD_PXE is not set | ||
# CONFIG_CMD_RTC is not set | ||
# CONFIG_CMD_SATA is not set | ||
# CONFIG_CMD_SAVEENV is not set | ||
# CONFIG_CMD_SNTP is not set | ||
# CONFIG_CMD_SYSBOOT is not set | ||
# CONFIG_CMD_TFTPBOOT is not set | ||
# CONFIG_CMD_TIME is not set | ||
# CONFIG_CMD_TIMER is not set | ||
# CONFIG_CMD_USB_MASS_STORAGE is not set | ||
CONFIG_CMD_XIMG=y | ||
# CONFIG_DFU is not set | ||
# CONFIG_DISTRO_DEFAULTS is not set | ||
# CONFIG_DM_SCSI is not set | ||
CONFIG_DM_USB=y | ||
# CONFIG_DM_VIDEO is not set | ||
# CONFIG_DWC_AHSATA is not set | ||
# CONFIG_EFI_LOADER is not set | ||
# CONFIG_ENV_IS_IN_MMC is not set | ||
# CONFIG_ENV_IS_IN_SPI_FLASH is not set | ||
CONFIG_ENV_IS_NOWHERE=y | ||
CONFIG_FASTBOOT_FLASH=y | ||
CONFIG_FASTBOOT_UUU_SUPPORT=y | ||
CONFIG_FIOVB=y | ||
CONFIG_FIT_SIGNATURE_STRICT=y | ||
CONFIG_FIT_VERBOSE=y | ||
CONFIG_FIT=y | ||
CONFIG_FSL_FASTBOOT_BOOTLOADER2=y | ||
CONFIG_FSL_FASTBOOT_BOOTLOADER_SECONDARY=y | ||
CONFIG_HASH=y | ||
# CONFIG_WATCHDOG is not set | ||
# CONFIG_IMX_WATCHDOG is not set | ||
# CONFIG_LEGACY_IMAGE_FORMAT is not set | ||
# CONFIG_NET is not set | ||
CONFIG_OF_LIBFDT_OVERLAY=y | ||
CONFIG_OPTEE_LIB=y | ||
CONFIG_OPTEE=y | ||
CONFIG_PARTITION_UUIDS=y | ||
CONFIG_RSA=y | ||
# CONFIG_SATA is not set | ||
# CONFIG_SHA_HW_ACCEL is not set | ||
# CONFIG_SPL_BLK is not set | ||
CONFIG_SPL_CRYPTO=y | ||
# CONFIG_SPL_DM_USB is not set | ||
CONFIG_SPL_DM=y | ||
# CONFIG_SPL_DOS_PARTITION is not set | ||
# CONFIG_SPL_EFI_PARTITION is not set | ||
# CONFIG_SPL_FIT_IMAGE_TINY is not set | ||
CONFIG_SPL_FIT_SIGNATURE_STRICT=y | ||
CONFIG_SPL_FIT_SIGNATURE=y | ||
CONFIG_SPL_FIT=y | ||
CONFIG_SPL_HASH=y | ||
# CONFIG_SPL_IMX_HAB is not set | ||
# CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set | ||
# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set | ||
CONFIG_SPL_LOAD_FIT=y | ||
# CONFIG_SPL_MMC is not set | ||
CONFIG_SPL_OF_CONTROL=y | ||
# CONFIG_SPL_PARTITION_UUIDS is not set | ||
CONFIG_SPL_SHA256=y | ||
CONFIG_SPL_USB_GADGET=y | ||
CONFIG_SPL_USB_SDP_SUPPORT=y | ||
CONFIG_SUPPORT_EMMC_BOOT=y | ||
CONFIG_SUPPORT_EMMC_RPMB=y | ||
CONFIG_TEE=y | ||
CONFIG_USB_FUNCTION_FASTBOOT=y | ||
CONFIG_USB_GADGET_MANUFACTURER="FSL" | ||
CONFIG_USB_GADGET_MASS_STORAGE=y | ||
CONFIG_USB_GADGET_PRODUCT_NUM=0x0152 | ||
CONFIG_USB_GADGET_VENDOR_NUM=0x1fc9 | ||
# CONFIG_USB_HOST_ETHER is not set | ||
# CONFIG_USB_KEYBOARD is not set | ||
# CONFIG_USB_STORAGE is not set | ||
CONFIG_USB=y | ||
CONFIG_USE_BOOTCOMMAND=y | ||
# CONFIG_VIDEO is not set | ||
# CONFIG_BOOTSTD is not set | ||
CONFIG_SHA256=y |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../recipes-bsp/u-boot/u-boot-fio_2023.04.bb → .../recipes-bsp/u-boot/u-boot-fio_2024.04.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
require u-boot-fio-common.inc | ||
|
||
SRCREV = "349b9c93a6f7218d7988caab249f4ad1196f3c30" | ||
SRCBRANCH = "2023.04+fio" | ||
SRCREV = "30cd2b39fb4989dc0e4c69bc5c73b1f169951bf1" | ||
SRCBRANCH = "2024.04+fio" | ||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 42a417bfb62227d83bbcc1232ced1d0ddb0431d6 Mon Sep 17 00:00:00 2001 | ||
From cb1df2c39effacd4ec86a06b3b9fcafaceb38814 Mon Sep 17 00:00:00 2001 | ||
From: Ricardo Salveti <[email protected]> | ||
Date: Tue, 2 Jul 2019 21:01:15 -0300 | ||
Subject: [PATCH] systemd-networkd-wait-online.service.in: use --any by default | ||
|
@@ -10,23 +10,24 @@ in the configured state. | |
Upstream-Status: Inappropriate [lmp specific] | ||
|
||
Signed-off-by: Ricardo Salveti <[email protected]> | ||
Signed-off-by: Jose Quaresma <[email protected]> | ||
--- | ||
units/systemd-networkd-wait-online.service.in | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in | ||
index 10d8b08c8e..6dd5f79377 100644 | ||
index 7768121f5f..7d26e04fe3 100644 | ||
--- a/units/systemd-networkd-wait-online.service.in | ||
+++ b/units/systemd-networkd-wait-online.service.in | ||
@@ -18,7 +18,7 @@ Before=network-online.target shutdown.target | ||
@@ -19,7 +19,7 @@ Before=network-online.target shutdown.target | ||
|
||
[Service] | ||
Type=oneshot | ||
-ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online | ||
+ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online --any | ||
-ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online | ||
+ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online --any | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
-- | ||
2.25.1 | ||
2.47.0 | ||
|
11 changes: 0 additions & 11 deletions
11
meta-lmp-base/recipes-core/systemd/systemd/systemd-timesyncd-update.service
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we have a reason for this revert in the commit logs? |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is already merged