u-boot-dey: use version v2023.10 for ccmp2

Update ccmp2 platform to use the latest U-Boot v2023.10 based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

https://onedigi.atlassian.net/browse/DEL-9381

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2024-11-29 12:18:24 +01:00
parent 52cbd8eb17
commit 1c26e84dd1
3 changed files with 20 additions and 13 deletions

View File

@ -20,7 +20,7 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# ccimx93 6.6 2024.04 (packaged in imx-boot) # ccimx93 6.6 2024.04 (packaged in imx-boot)
# ccmp15 5.15 2021.10 # ccmp15 5.15 2021.10
# ccmp13 5.15 2021.10 # ccmp13 5.15 2021.10
# ccmp25 6.6 2022.10 # ccmp25 6.6 2023.10
# #
# Help variables used in recipes # Help variables used in recipes

View File

@ -220,7 +220,6 @@ do_compile:append:ccmp1() {
BOOT_TOOLS = "imx-boot-tools" BOOT_TOOLS = "imx-boot-tools"
BOOT_TOOLS:ccmp1 = "u-boot" BOOT_TOOLS:ccmp1 = "u-boot"
BOOT_TOOLS:ccmp2 = "u-boot"
do_deploy:append:ccimx8m() { do_deploy:append:ccimx8m() {
# Deploy u-boot-nodtb.bin and ccimx8m[m|n]-dvk.dtb, to be packaged in boot binary by imx-boot # Deploy u-boot-nodtb.bin and ccimx8m[m|n]-dvk.dtb, to be packaged in boot binary by imx-boot
@ -270,16 +269,24 @@ do_deploy:append:ccmp1() {
fi fi
} }
do_deploy:append:ccmp2() { FIP_DIR_UBOOT ?= "/u-boot"
# Deploy u-boot-nodtb.bin and ccmp2x-dvk-xxxx.dtb, to be packaged in fip binary by tf-a
install -d ${DEPLOYDIR}/${BOOT_TOOLS} # Deploy u-boot artifacts, to be packaged in fip binary by fip-stm32mp recipe
if [ -n "${UBOOT_DEVICETREE}" ]; then u_boot_sysroot_populate() {
for devicetree in ${UBOOT_DEVICETREE}; do local dest="${SYSROOT_DESTDIR}/${FIP_DIR_UBOOT}"
# Install u-boot dtb
install -m 644 ${B}/${config}/arch/arm/dts/${devicetree}.dtb ${DEPLOYDIR}/${BOOT_TOOLS}/${FIP_UBOOT_DTB}-${devicetree}.dtb install -d ${dest}
done for config in ${UBOOT_MACHINE}; do
fi if [ -n "${UBOOT_DEVICETREE}" ]; then
install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin for devicetree in ${UBOOT_DEVICETREE}; do
# Install u-boot dtb
install -m 644 ${B}/${config}/arch/arm/dts/${devicetree}.dtb ${dest}/${FIP_UBOOT_DTB}-${devicetree}.dtb
done
fi
install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${dest}/u-boot-nodtb-${devicetree}.bin
done
} }
SYSROOT_PREPROCESS_FUNCS:ccmp2 =+ "u_boot_sysroot_populate"
SYSROOT_DIRS:append:ccmp2 = " ${FIP_DIR_UBOOT}"
SYSROOT_DIRS += "/boot" SYSROOT_DIRS += "/boot"

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
DEPENDS += "flex-native bison-native" DEPENDS += "flex-native bison-native"
DEPENDS += "python3-setuptools-native" DEPENDS += "python3-setuptools-native"
SRCBRANCH = "v2022.10/master" SRCBRANCH = "v2023.10/master"
SRCREV = "${AUTOREV}" SRCREV = "${AUTOREV}"
SRC_URI += " \ SRC_URI += " \