Sync up with Dunfell #2
cover Sync up with Dunfell #2
From: Denys Dmytriyenko <[email protected]>
Keep master up to date with latest changes in Dunfell, adjust to the new override syntax.
Amjad Ouled-Ameur (1):
recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release
Denys Dmytriyenko (1):
recipes: update github SRC_URIs
Yogesh Siraswar (18):
u-boot-ti-staging: Bump u-boot version for 08.01.00.002
ti-linux-fw: Bump ti linux firmware for 08.01.00.002
linux-ti-staging: Bump linux version for 08.01.00.002
linux-ti-staging-rt: Bump linux rt version for 08.01.00.002 release
ti-linux-fw: Bump k3 image gen to latest
u-boot-ti-staging: Bump u-boot version for 08.01.00.003
linux-ti-staging: Bump linux version for 08.01.00.003
linux-ti-staging-rt: Bump linux rt version for 08.01.00.003
ti-linux-fw: Add AUTOREV support for K3 Image Gen
conf: am57xx-evm: Add missing *.dtb and *.dtbo
conf: machine: add new am64x hs platform
ti-sci-fw: changes to build combined boot image for hs build
am64xx-hs: changes to support new hs platform
conf: machine: am64xx: Add missing dtbo
conf: machine : am65xx: Add missing dtbo
conf: machine: Add j7200 hs platform
ti-rtos-firmware: Add j7200 hs support
j7200-hs: changes to support new hs platform
conf/machine/am57xx-evm.conf | 3 ++ conf/machine/am64xx-hs-evm-k3r5.conf | 14 +++++++ conf/machine/am64xx-hs-evm.conf | 22 ++++++++++ conf/machine/include/am64xx.inc | 1 + conf/machine/include/am65xx.inc | 1 + conf/machine/j7200-hs-evm-k3r5.conf | 13 ++++++ conf/machine/j7200-hs-evm.conf | 22 ++++++++++ recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 10 +++-- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 39 +++++++++++++++++- .../trusted-firmware-a_%.bbappend | 16 ++++++++ recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 4 +- recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 +- recipes-bsp/u-boot/u-boot-ti.inc | 12 ++++++ ...NUInstallDirs-module-to-detect-install-pa.patch | 48 ---------------------- recipes-devtools/ion/libion_git.bb | 6 +-- recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +- recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +- recipes-security/optee/optee-os_%.bbappend | 8 ++++ .../beagleboard/beaglebone-getting-started.bb | 2 +- recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 36 +++++++++++++++- 20 files changed, 199 insertions(+), 66 deletions(-) create mode 100644 conf/machine/am64xx-hs-evm-k3r5.conf create mode 100644 conf/machine/am64xx-hs-evm.conf create mode 100644 conf/machine/j7200-hs-evm-k3r5.conf create mode 100644 conf/machine/j7200-hs-evm.conf delete mode 100644 recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
Signature · 1 line
2.7.4
PATCH 1/20 u-boot-ti-staging: Bump u-boot version for 08.01.00.002
From: Yogesh Siraswar <[email protected]>
Bump u-boot version to 08.01.00.002 release
--- recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
@@ -2,8 +2,8 @@ require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" -PR = "r12" +PR = "r13" BRANCH = "ti-u-boot-2021.01" -SRCREV = "316948e851b21f1f79e78fdd364a754cf9817038" +SRCREV = "377e0f7041d1863bf9b3d23e90fb4b0c0a2cd6bf"
Signature · 1 line
2.7.4
PATCH 2/20 ti-linux-fw: Bump ti linux firmware for 08.01.00.002
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Bump ti-linux-fw version for 08.01.00.002 release
--- recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +2 -2
@@ -7,7 +7,7 @@ PV = "2021.09" INC_PR = "r1" # Firmware versions -CORESDK_RTOS_VERSION = "08.01.00.01" +CORESDK_RTOS_VERSION = "08.01.00.02" SERDES_FW_VERSION = "3.3.0.2c" NETCP_SA_FW_VERSION = "1.0.0" NETCP_PA_FW_VERSION = "3.0.2.3"
@@ -17,7 +17,7 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06" GOODIX_FW_VERSION = "1.0.0.0" CADENCE_MHDP_FW_VERSION = "1.2.17" -TI_LINUX_FW_SRCREV ?= "10bcf8564c6e9277e7f402fb02cf941956d0d3eb" +TI_LINUX_FW_SRCREV ?= "0e93d4df760e5f0948b07c09b68f0b1ecd150d40" SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware"
Signature · 1 line
2.7.4
PATCH 3/20 linux-ti-staging: Bump linux version for 08.01.00.002
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Bump linux version for 08.01.00.002 release
--- recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" BRANCH = "ti-linux-5.10.y" -SRCREV = "f22103162c771ddd47372b579682445e6dc8dd0e" +SRCREV = "33574931b48f50c37abb58e0a9c617cbec472b01" PV = "5.10.65+git${SRCPV}" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.7.4
PATCH 4/20 linux-ti-staging-rt: Bump linux rt version for 08.01.00.002 release
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Bump linux rt version for 08.01.00.002 release
--- recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:" BRANCH = "ti-rt-linux-5.10.y" -SRCREV = "b9f28fcb222bc4508077366b05ad5d44984087b0" +SRCREV = "a5427455c650cb9d33e3d5f0b009a773370a5428" PV = "5.10.65+git${SRCPV}"
Signature · 1 line
2.7.4
PATCH 5/20 ti-linux-fw: Bump k3 image gen to latest
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Update k3 image gen to latest.
Bump linux firmware to v2021.09a
--- recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +3 -3
@@ -3,7 +3,7 @@ SUMMARY = "TI SCI firmware (SYSFW)" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" -PV = "2021.09" +PV = "2021.09a" INC_PR = "r1" # Firmware versions
@@ -17,11 +17,11 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06" GOODIX_FW_VERSION = "1.0.0.0" CADENCE_MHDP_FW_VERSION = "1.2.17" -TI_LINUX_FW_SRCREV ?= "0e93d4df760e5f0948b07c09b68f0b1ecd150d40" +TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063" SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware" -SRCREV_imggen = "e182c3114f11eea3ec7ebb88cb1ef563a78d4eda" +SRCREV_imggen = "6baabef219aea0f667423f2cab2bc2d63a349488" SRCREV_FORMAT = "imggen" SRC_URI = " \
Signature · 1 line
2.7.4
PATCH 6/20 u-boot-ti-staging: Bump u-boot version for 08.01.00.003
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
u-boot bump for 08.01.00.003 release
--- recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
@@ -2,8 +2,8 @@ require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" -PR = "r13" +PR = "r14" BRANCH = "ti-u-boot-2021.01" -SRCREV = "377e0f7041d1863bf9b3d23e90fb4b0c0a2cd6bf" +SRCREV = "6c804a1af10bda322c86ce1c5dbb29f0fbb56c79"
Signature · 1 line
2.7.4
PATCH 7/20 linux-ti-staging: Bump linux version for 08.01.00.003
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Bump linux for 08.01.00.003 release
--- recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git" BRANCH = "ti-linux-5.10.y" -SRCREV = "33574931b48f50c37abb58e0a9c617cbec472b01" +SRCREV = "eb55b499b1865222e85acad2c665baadbaea3072" PV = "5.10.65+git${SRCPV}" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.7.4
PATCH 8/20 linux-ti-staging-rt: Bump linux rt version for 08.01.00.003
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Bump linux rt version to 08.01.00.003
--- recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
@@ -6,5 +6,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:" BRANCH = "ti-rt-linux-5.10.y" -SRCREV = "a5427455c650cb9d33e3d5f0b009a773370a5428" +SRCREV = "d3083b1688af8af4728478c759e56b2a22adf9e5" PV = "5.10.65+git${SRCPV}"
Signature · 1 line
2.7.4
PATCH 9/20 recipes: update github SRC_URIs
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
https://github.blog/2021-09-01-improving-git-protocol-security-github/
GitHub is deprecating unauthenticated protocols, including git:// so update SRC_URIs with protocol=https
Explicitly pass branch=master where omitted, as bitbake now requires it.
While at it, update libion to the latest to eliminate upstreamed patch.
--- ...NUInstallDirs-module-to-detect-install-pa.patch | 48 ---------------------- recipes-devtools/ion/libion_git.bb | 6 +-- .../beagleboard/beaglebone-getting-started.bb | 2 +- 3 files changed, 3 insertions(+), 53 deletions(-) delete mode 100644 recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch
recipes-devtools/ion/libion/0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch deleted +0 -48
@@ -1,48 +0,0 @@ -From 51eece2c291e121f9ae67c9b812617b885e76a64 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 18 Dec 2019 20:31:52 -0800 -Subject: [PATCH] cmake: Use GNUInstallDirs module to detect install paths - -This helps it to calculate directories as per platform instead of -hardcoding them, helps compile it for arches which use /lib64 and -/usr/lib64 for libpaths - -Upstream-Status: Submitted [https://github.com/glneo/libion/pull/2] -Signed-off-by: Khem Raj <[email protected]> ---- - CMakeLists.txt | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6e5928c..5b7c0de 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,6 +3,8 @@ PROJECT(ion) - set(PROJECT_DESCRIPTION "ION Userspace Memory Allocator Library") - set(PROJECT_VERSION 1.0.0) - -+INCLUDE(GNUInstallDirs) -+ - add_library(ion - SHARED - src/libion.c -@@ -23,12 +25,12 @@ target_include_directories(ion - configure_file(libion.pc.in libion.pc @ONLY) - - install(TARGETS ion -- LIBRARY DESTINATION lib -- PUBLIC_HEADER DESTINATION include/ion) -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ion) - - install(DIRECTORY include/kernel-headers/4.19/ -- DESTINATION include -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - FILES_MATCHING PATTERN "*.h") - - install(FILES ${CMAKE_BINARY_DIR}/libion.pc -- DESTINATION lib/pkgconfig) -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) --- -2.24.1 -
recipes-devtools/ion/libion_git.bb +2 -4
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" PV = "1.0.0" BRANCH = "master" -SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH} \ - file://0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch \ - " -SRCREV = "813bd63e2f2118e17cb1c5d38505a1e572a2381c" +SRC_URI = "git://github.com/glneo/libion.git;protocol=https;branch=${BRANCH}" +SRCREV = "7e138fc31febbb67734792c1a911439bfd6d23eb" S = "${WORKDIR}/git"
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -1
@@ -8,7 +8,7 @@ LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa" SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5" -SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git" +SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master" S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
PATCH 10/20 recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release
In reply to Denys DmytriyenkoFrom: Amjad Ouled-Ameur <[email protected]>
This introduces a critical fix for both AM335X EVM and AM43XX EVM, which can no longer boot because "uuid" is undefined.
v2021.10 has these two fixes, one for each platform:
- commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only")
- commit e0c91ae24e5b ("ti: am43xx_evm: Switch to DISTRO_BOOT only")
--- recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +2 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" PR = "r0" -PV = "2021.07" +PV = "2021.10" # For the un-initiated: # The actual URL you'd use with a git clone for example would be:
@@ -15,4 +15,4 @@ PV = "2021.07" # b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git" UBOOT_GIT_PROTOCOL = "https" -SRCREV = "840658b093976390e9537724f802281c9c8439f5" +SRCREV = "d80bb749fab53da72c4a0e09b8c2d2aaa3103c91"
Signature · 1 line
2.7.4
PATCH 11/20 ti-linux-fw: Add AUTOREV support for K3 Image Gen
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
This patch brings k3 image gen under bleeding for nightly builds
--- recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +3 -1
@@ -21,7 +21,9 @@ TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063" SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware" -SRCREV_imggen = "6baabef219aea0f667423f2cab2bc2d63a349488" + +K3_IMAGE_GEN_SRCREV ?= "6baabef219aea0f667423f2cab2bc2d63a349488" +SRCREV_imggen = "${K3_IMAGE_GEN_SRCREV}" SRCREV_FORMAT = "imggen" SRC_URI = " \
Signature · 1 line
2.7.4
PATCH 12/20 conf: am57xx-evm: Add missing *.dtb and *.dtbo
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Add missing dtb and dtbo to deploy folder
--- conf/machine/am57xx-evm.conf | 3 +++ 1 file changed, 3 insertions(+)
conf/machine/am57xx-evm.conf +3 -0
@@ -15,6 +15,7 @@ KERNEL_DEVICETREE = " \ am5729-beagleboneai.dtb \ am57xx-evm.dtb \ ti/am57xx-evm-common.dtbo \ + am57xx-evm-reva3.dtb \ ti/am57xx-evm-reva3.dtbo \ am571x-idk.dtb \ ti/am571x-idk-touchscreen.dtbo \
@@ -22,6 +23,8 @@ KERNEL_DEVICETREE = " \ am574x-idk.dtb \ ti/am57xx-idk-osd-lcd-common.dtbo \ ti/am572x-idk-touchscreen.dtbo \ + ti/lcd-osd101t2587.dtbo \ + ti/lcd-osd101t2045.dtbo \ " KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
Signature · 1 line
2.7.4
PATCH 13/20 conf: machine: add new am64x hs platform
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Add new am64x hs platform. This requires two files to be created. Used am65x and j7 hs platform for reference.
--- conf/machine/am64xx-hs-evm-k3r5.conf | 14 ++++++++++++++ conf/machine/am64xx-hs-evm.conf | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 conf/machine/am64xx-hs-evm-k3r5.conf create mode 100644 conf/machine/am64xx-hs-evm.conf
conf/machine/am64xx-hs-evm-k3r5.conf new file +14 -0
@@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: AM64xx HS EVM (R5F) +#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM (R5F core) + +require conf/machine/include/k3r5.inc + +SYSFW_SOC = "am64x" +SYSFW_CONFIG = "evm" +SYSFW_SUFFIX = "hs" +SYSFW_SYMLINK = "" + +UBOOT_MACHINE = "am64x_hs_evm_r5_defconfig" + +TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
conf/machine/am64xx-hs-evm.conf new file +22 -0
@@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: AM64xx HS EVM +#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM + +require conf/machine/include/am64xx.inc + +UBOOT_MACHINE = "am64x_hs_evm_a53_defconfig" + +UBOOT_ENTRYPOINT = "0x80080000" +UBOOT_LOADADDRESS = "0x80080000" +UBOOT_RD_LOADADDRESS = "0x84000000" +UBOOT_RD_ENTRYPOINT = "0x84000000" +UBOOT_DTB_LOADADDRESS = "0x83000000" +UBOOT_DTBO_LOADADDRESS = "0x83080000" +UBOOT_DTBO_OFFSET = "0x00010000" + +SPL_BINARY = "tispl.bin_HS" +SPL_BINARYNAME = "tispl.bin" +UBOOT_BINARY = "u-boot.img_HS" +IMAGE_BOOT_FILES = "${UBOOT_BINARY}" + +TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
Signature · 1 line
2.7.4
PATCH 14/20 ti-sci-fw: changes to build combined boot image for hs build
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Added support to build combined boot image for hs build. This required k3 image gen patch that is already merged.
--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +19 -2
@@ -3,9 +3,10 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" DEPENDS:append:j7200-evm-k3r5 = " virtual/bootloader" DEPENDS:append:am64xx-evm-k3r5 = " virtual/bootloader" +DEPENDS:append:am64xx-hs-evm-k3r5 = " virtual/bootloader" CLEANBROKEN = "1" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" # Loaded by R5F core COMPATIBLE_MACHINE = "k3r5"
@@ -48,12 +49,13 @@ EXTRA_OEMAKE = "\ SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \ " EXTRA_OEMAKE_HS = " \ - HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \ + HS=1 SW_REV=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \ " EXTRA_OEMAKE:append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" EXTRA_OEMAKE:append:j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE:append:am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" +EXTRA_OEMAKE:append:am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" do_compile() { cd ${WORKDIR}/imggen/
@@ -116,4 +118,19 @@ do_deploy:am64xx-evm-k3r5() { install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ } +do_install:am64xx-hs-evm-k3r5() { + install -d ${D}/boot + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} +} + +do_deploy:am64xx-hs-evm-k3r5() { + install -d ${DEPLOYDIR} + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ +} + addtask deploy before do_build after do_compile
Signature · 1 line
2.7.4
PATCH 15/20 am64xx-hs: changes to support new hs platform
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Changes to support new am64x hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
--- recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 8 ++++++++ recipes-bsp/u-boot/u-boot-ti.inc | 6 ++++++ recipes-security/optee/optee-os_%.bbappend | 4 ++++ 3 files changed, 18 insertions(+)
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +8 -0
@@ -16,6 +16,14 @@ do_compile:append:am65xx-hs-evm() { ) } +do_compile:append:am64xx-hs-evm() { + export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} + ( cd ${B}/${BUILD_DIR}/release/; \ + mv bl31.bin bl31.bin.unsigned; \ + ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \ + ) +} + do_compile:append:j7-hs-evm() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} ( cd ${BUILD_DIR}; \
recipes-bsp/u-boot/u-boot-ti.inc +6 -0
@@ -66,6 +66,7 @@ SPL_UART_BINARY:k3r5 = "" SPL_UART_BINARY:lego-ev3 = "" SPL_UART_BINARY:j7200-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY:am64xx-evm-k3r5 = "u-boot-spl.bin" +SPL_UART_BINARY:am64xx-hs-evm-k3r5 = "u-boot-spl.bin" SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
@@ -401,4 +402,9 @@ do_deploy:append:am64xx-evm-k3r5 () { mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true } +do_deploy:append:am64xx-hs-evm-k3r5 () { + mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true + mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true +} + TOOLCHAIN = "gcc"
recipes-security/optee/optee-os_%.bbappend +4 -0
@@ -49,6 +49,10 @@ do_compile:append:am65xx-hs-evm() { optee_sign_k3hs } +do_compile:append:am64xx-hs-evm() { + optee_sign_k3hs +} + do_compile:append:j7-hs-evm() { optee_sign_k3hs }
Signature · 1 line
2.7.4
PATCH 16/20 conf: machine: am64xx: Add missing dtbo
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Add missing k3-am642-evm-nand.dtbo required for system test
--- conf/machine/include/am64xx.inc | 1 + 1 file changed, 1 insertion(+)
conf/machine/include/am64xx.inc +1 -0
@@ -10,6 +10,7 @@ KERNEL_DEVICETREE = " \ ti/k3-am642-evm.dtb \ ti/k3-am642-sk.dtb \ ti/k3-am642-evm-icssg1-dualemac.dtbo \ + ti/k3-am642-evm-nand.dtbo \ " # AM64 supports multi-certificate images, use the same
Signature · 1 line
2.7.4
PATCH 17/20 conf: machine : am65xx: Add missing dtbo
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Added missing dtbo k3-am654-evm-ov5640.dtbo required for system test
--- conf/machine/include/am65xx.inc | 1 + 1 file changed, 1 insertion(+)
conf/machine/include/am65xx.inc +1 -0
@@ -17,6 +17,7 @@ KERNEL_DEVICETREE = " \ ti/k3-am654-pcie-usb3.dtbo \ ti/k3-am654-evm-tc358876.dtbo \ ti/k3-am654-evm-oldi-lcd1evm.dtbo \ + ti/k3-am654-evm-ov5640.dtbo \ " BBMULTICONFIG += "k3r5-sr2"
Signature · 1 line
2.7.4
PATCH 18/20 conf: machine: Add j7200 hs platform
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Machine conf for J7200 HS platform.
Used am64xx hs and j721e hs as reference.
--- conf/machine/j7200-hs-evm-k3r5.conf | 13 +++++++++++++ conf/machine/j7200-hs-evm.conf | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 conf/machine/j7200-hs-evm-k3r5.conf create mode 100644 conf/machine/j7200-hs-evm.conf
conf/machine/j7200-hs-evm-k3r5.conf new file +13 -0
@@ -0,0 +1,13 @@ +#@TYPE: Machine +#@NAME: J7200 HS EVM (R5F) +#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core) + +require conf/machine/include/k3r5.inc + +SYSFW_SOC = "j7200" +SYSFW_CONFIG = "evm" +SYSFW_SUFFIX = "hs" + +UBOOT_MACHINE = "j7200_hs_evm_r5_defconfig" + +TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
conf/machine/j7200-hs-evm.conf new file +22 -0
@@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: J7200 HS EVM +#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM + +require conf/machine/j7-evm.conf + +UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig" + +UBOOT_ENTRYPOINT = "0x80080000" +UBOOT_LOADADDRESS = "0x80080000" +UBOOT_RD_LOADADDRESS = "0x84000000" +UBOOT_RD_ENTRYPOINT = "0x84000000" +UBOOT_DTB_LOADADDRESS = "0x83000000" +UBOOT_DTBO_LOADADDRESS = "0x83080000" +UBOOT_DTBO_OFFSET = "0x00010000" + +SPL_BINARY = "tispl.bin_HS" +SPL_BINARYNAME = "tispl.bin" +UBOOT_BINARY = "u-boot.img_HS" +IMAGE_BOOT_FILES = "${UBOOT_BINARY}" + +TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
Signature · 1 line
2.7.4
PATCH 19/20 ti-rtos-firmware: Add j7200 hs support
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
We cannot use j7200 keyword for match b'n j7200-evm and j7200-hs-evm due to existing j7 keyword, we need to duplicate all the j7200 entries for hs.
Also sign the DM firmware for J7200 similar to J7 HS
--- recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 36 +++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-)
recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +35 -1
@@ -15,6 +15,7 @@ inherit update-alternatives PLAT_SFX = "" PLAT_SFX:j7 = "j721e" PLAT_SFX:j7200-evm = "j7200" +PLAT_SFX:j7200-hs-evm = "j7200" PLAT_SFX:am65xx = "am65xx" PLAT_SFX:am64xx = "am64xx"
@@ -55,6 +56,15 @@ do_install:prepend:j7-hs-evm() { ) } +# J7 HS support +do_install:prepend:j7200-hs-evm() { + export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} + ( cd ${RTOS_DM_FW_DIR}; \ + mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \ + ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \ + ) +} + # Update the am64xx ipc binaries to be consistent with other platforms do_install:prepend:am64xx() { ( cd ${RTOS_IPC_FW_DIR}; \
@@ -68,7 +78,7 @@ do_install:prepend:am64xx() { #Install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level do_install() { - + : } do_install:j7() {
@@ -100,6 +110,18 @@ do_install:j7200-evm() { install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR} } +do_install:j7200-hs-evm() { + install -d ${LEGACY_IPC_FW_DIR} + install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR} + install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR} + install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR} + # DM Firmware + install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} + # ETH firmware + install -d ${LEGACY_ETH_FW_DIR} + install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR} +} + do_install:am65xx() { install -d ${LEGACY_IPC_FW_DIR} install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
@@ -148,6 +170,13 @@ ALTERNATIVE:${PN}:j7200-evm = "\ j7200-main-r5f0_1-fw \ " +ALTERNATIVE:${PN}:j7200-hs-evm = "\ + j7200-mcu-r5f0_0-fw \ + j7200-mcu-r5f0_1-fw \ + j7200-main-r5f0_0-fw \ + j7200-main-r5f0_1-fw \ + " + # Set up link names for the firmwares TARGET_MCU_R5FSS0_0:am65xx = "am65x-mcu-r5f0_0-fw"
@@ -174,6 +203,11 @@ TARGET_MCU_R5FSS0_1:j7200-evm = "j7200-mcu-r5f0_1-fw" TARGET_MAIN_R5FSS0_0:j7200-evm = "j7200-main-r5f0_0-fw" TARGET_MAIN_R5FSS0_1:j7200-evm = "j7200-main-r5f0_1-fw" +TARGET_MCU_R5FSS0_0:j7200-hs-evm = "j7200-mcu-r5f0_0-fw" +TARGET_MCU_R5FSS0_1:j7200-hs-evm = "j7200-mcu-r5f0_1-fw" +TARGET_MAIN_R5FSS0_0:j7200-hs-evm = "j7200-main-r5f0_0-fw" +TARGET_MAIN_R5FSS0_1:j7200-hs-evm = "j7200-main-r5f0_1-fw" + ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}" ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
Signature · 1 line
2.7.4
PATCH 20/20 j7200-hs: changes to support new hs platform
In reply to Denys DmytriyenkoFrom: Yogesh Siraswar <[email protected]>
Changes to support new j7200 hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
4) ti-sci-fw_git: Update firmware prefix for j7200 hs
--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 18 ++++++++++++++++++ .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 8 ++++++++ recipes-bsp/u-boot/u-boot-ti.inc | 6 ++++++ recipes-security/optee/optee-os_%.bbappend | 4 ++++ 4 files changed, 36 insertions(+)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +18 -0
@@ -2,6 +2,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" DEPENDS:append:j7200-evm-k3r5 = " virtual/bootloader" +DEPENDS:append:j7200-hs-evm-k3r5 = " virtual/bootloader" DEPENDS:append:am64xx-evm-k3r5 = " virtual/bootloader" DEPENDS:append:am64xx-hs-evm-k3r5 = " virtual/bootloader"
@@ -24,6 +25,7 @@ SYSFW_PREFIX = "ti-sci-firmware" SYSFW_PREFIX:j7-evm-k3r5 = "ti-fs-firmware" SYSFW_PREFIX:j7200-evm-k3r5 = "ti-fs-firmware" SYSFW_PREFIX:j7-hs-evm-k3r5 = "ti-fs-firmware" +SYSFW_PREFIX:j7200-hs-evm-k3r5 = "ti-fs-firmware" SYSFW_SUFFIX ?= "unknown"
@@ -54,6 +56,7 @@ EXTRA_OEMAKE_HS = " \ EXTRA_OEMAKE:append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" EXTRA_OEMAKE:append:j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" +EXTRA_OEMAKE:append:j7200-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE:append:am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE:append:am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
@@ -103,6 +106,21 @@ do_deploy:j7200-evm-k3r5() { install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ } +do_install:j7200-hs-evm-k3r5() { + install -d ${D}/boot + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} +} + +do_deploy:j7200-hs-evm-k3r5() { + install -d ${DEPLOYDIR} + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ +} + do_install:am64xx-evm-k3r5() { install -d ${D}/boot install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +8 -0
@@ -31,3 +31,11 @@ do_compile:append:j7-hs-evm() { ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \ ) } + +do_compile:append:j7200-hs-evm() { + export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} + ( cd ${B}/${BUILD_DIR}/release/; \ + mv bl31.bin bl31.bin.unsigned; \ + ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \ + ) +}
recipes-bsp/u-boot/u-boot-ti.inc +6 -0
@@ -65,6 +65,7 @@ SPL_UART_BINARY:keystone = "" SPL_UART_BINARY:k3r5 = "" SPL_UART_BINARY:lego-ev3 = "" SPL_UART_BINARY:j7200-evm-k3r5 = "u-boot-spl.bin" +SPL_UART_BINARY:j7200-hs-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY:am64xx-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY:am64xx-hs-evm-k3r5 = "u-boot-spl.bin"
@@ -397,6 +398,11 @@ do_deploy:append:j7200-evm-k3r5 () { mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true } +do_deploy:append:j7200-hs-evm-k3r5 () { + mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true + mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true +} + do_deploy:append:am64xx-evm-k3r5 () { mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
recipes-security/optee/optee-os_%.bbappend +4 -0
@@ -57,6 +57,10 @@ do_compile:append:j7-hs-evm() { optee_sign_k3hs } +do_compile:append:j7200-hs-evm() { + optee_sign_k3hs +} + do_install:append:ti-soc() { install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
Signature · 1 line
2.7.4