Re: [meta-ti] [master/kirkstone][PATCH] k3r5: ensure separate TMPDIR used for this multiconfig
There was a question for you. I was waiting for you to respond. On 11/20/2023 2:17 PM, Denys Dmytriyenko wrote: Ping. On Sun, Nov 12, 2023 at 07:07:43PM +, Denys Dmytriyenko wrote: From: Denys Dmytriyenko This k3r5 multiconfig builds baremetal components (and corresponding native, nativesdk and cross tools) and sets TCLIBC accordingly to "baremetal". The expectation is that those components and tools will use a separate TMPDIR to isolate from the main Linux build that uses "glibc" TCLIBC and to avoid potential conflicts. OE-Core "nodistro" default configuration already sets TCLIBCAPPEND facility to automatically add a suffix to TMPDIR, resulting in "tmp-baremetal" temp directory for this multiconfig and "tmp-glibc" for the main Linux one. Other distros like Arago follow this convention and even extend a bit (e.g. Arago also adds TCMODE suffix to TMPDIR for external toolchain support separation). But Poky (and derivative distros, like AGL or YoE) disable TCLIBCAPPEND and result in a combined TMPDIR, leading to potential conflicts, such as: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15273 And that's just the beginning, there were other conflicts observed later in the build, e.g. during nativesdk builds - that's why we also set a unique SDKPKGSUFFIX here. To force a separate TMPDIR for k3r5 multiconfig, we have to directly append a suffix to it. Multiple other options were tested in hopes of making it slightly cleaner, but they either didn't work or were dismissed. For example, trying to override TCLIBCAPPEND getting cleared by a distro would require using a machine/soc-override, which doesn't have enough scope (nativesdk) or forcing it with :forcevariable would also change the main Linux TMPDIR and affect existing CI flows. Also, using TCLIBC itself as a suffix to add to TMPDIR may result in getting it appended twice (tmp-baremetal-baremetal) when normal TCLIBCAPPEND facility is used. Hence the least invasive/confusing option is to always append "-k3r5" suffix to this multiconfig TMPDIR. That results in "tmp-k3r5" in Poky (leaving main TMPDIR as "tmp"), while OE-Core "nodistro" and Arago would end up with "tmp-baremetal-k3r5" (and "tmp-glibc" for the main). Also note, meta-ti-bsp layer.conf sets up images and sdks to be deployed into a common location outside of TMPDIRs, but TI_COMMON_DEPLOY variable that controls it is set weakly, allowing to be modified from a distro configuration or local.conf. It means that all images and sdks can be deployed into the main TMPDIR if one's CI flow expects tmp/deploy/ as the final destination, by using := for immediate variable expansion: TI_COMMON_DEPLOY := "${TMPDIR}/deploy" Signed-off-by: Denys Dmytriyenko --- meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ti-bsp/conf/multiconfig/k3r5.conf b/meta-ti-bsp/conf/multiconfig/k3r5.conf index 04b9a746..e36c87ed 100644 --- a/meta-ti-bsp/conf/multiconfig/k3r5.conf +++ b/meta-ti-bsp/conf/multiconfig/k3r5.conf @@ -4,4 +4,6 @@ DEPLOY_DIR_IMAGE:k3r5 = "${TI_COMMON_DEPLOY}/images/${MAINMACHINE}" MACHINE:append = "-k3r5" TCLIBC = "baremetal" +TMPDIR:append = "-k3r5" + SDKPKGSUFFIX = "k3r5-nativesdk" -- 2.25.1 -- Ryan Eatmonreat...@ti.com - Texas Instruments, Inc. - LCPD - MGTS -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17318): https://lists.yoctoproject.org/g/meta-ti/message/17318 Mute This Topic: https://lists.yoctoproject.org/mt/102547765/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [meta-ti] [PATCH v5] optee-os: Enable OP-TEE TRNG in AM62X
On 11/19/2023 11:11 PM, Kamlesh Gurudasani wrote: Enable TRNG in AM62X, as bugs related to TRNG has been fixed now. TF-A fix: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=d7a7135d32a8c7da004c0c19b75bd4e2813f9759 OP-TEE fix: https://github.com/OP-TEE/optee_os/commit/e313f4765fd0478bb66985827441411793433773 Signed-off-by: Kamlesh Gurudasani Reviewed-by: Praneeth Bajjuri --- Changes in V5: -drop changes for AM62px due to boot failure Is there a rootcause analysis for 62p? Changes in V4: -rebase on kirkstone-wip Changes in V3: -updated commit title and message Changes in V2: -updated commit message -included changes for AM62p --- meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc index b1846cad..62d6b4f9 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc @@ -3,7 +3,7 @@ inherit ti-secdev EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" -EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1" +EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:am62pxx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1" EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" --- base-commit: 63dd9c4e39c90c367293a77a76b74c099abc1015 change-id: 20231108-wip-enable-trng-e93bf6831e47 Best regards, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17317): https://lists.yoctoproject.org/g/meta-ti/message/17317 Mute This Topic: https://lists.yoctoproject.org/mt/102702568/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [meta-ti] [master/kirkstone][PATCH] k3r5: ensure separate TMPDIR used for this multiconfig
Ping. On Sun, Nov 12, 2023 at 07:07:43PM +, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > This k3r5 multiconfig builds baremetal components (and corresponding native, > nativesdk and cross tools) and sets TCLIBC accordingly to "baremetal". The > expectation is that those components and tools will use a separate TMPDIR > to isolate from the main Linux build that uses "glibc" TCLIBC and to avoid > potential conflicts. > > OE-Core "nodistro" default configuration already sets TCLIBCAPPEND facility > to automatically add a suffix to TMPDIR, resulting in "tmp-baremetal" temp > directory for this multiconfig and "tmp-glibc" for the main Linux one. Other > distros like Arago follow this convention and even extend a bit (e.g. Arago > also adds TCMODE suffix to TMPDIR for external toolchain support separation). > > But Poky (and derivative distros, like AGL or YoE) disable TCLIBCAPPEND and > result in a combined TMPDIR, leading to potential conflicts, such as: > https://bugzilla.yoctoproject.org/show_bug.cgi?id=15273 > > And that's just the beginning, there were other conflicts observed later in > the build, e.g. during nativesdk builds - that's why we also set a unique > SDKPKGSUFFIX here. > > To force a separate TMPDIR for k3r5 multiconfig, we have to directly append > a suffix to it. Multiple other options were tested in hopes of making it > slightly cleaner, but they either didn't work or were dismissed. For example, > trying to override TCLIBCAPPEND getting cleared by a distro would require > using a machine/soc-override, which doesn't have enough scope (nativesdk) > or forcing it with :forcevariable would also change the main Linux TMPDIR > and affect existing CI flows. Also, using TCLIBC itself as a suffix to add > to TMPDIR may result in getting it appended twice (tmp-baremetal-baremetal) > when normal TCLIBCAPPEND facility is used. Hence the least invasive/confusing > option is to always append "-k3r5" suffix to this multiconfig TMPDIR. That > results in "tmp-k3r5" in Poky (leaving main TMPDIR as "tmp"), while OE-Core > "nodistro" and Arago would end up with "tmp-baremetal-k3r5" (and "tmp-glibc" > for the main). > > Also note, meta-ti-bsp layer.conf sets up images and sdks to be deployed > into a common location outside of TMPDIRs, but TI_COMMON_DEPLOY variable > that controls it is set weakly, allowing to be modified from a distro > configuration or local.conf. It means that all images and sdks can be > deployed into the main TMPDIR if one's CI flow expects tmp/deploy/ as > the final destination, by using := for immediate variable expansion: > TI_COMMON_DEPLOY := "${TMPDIR}/deploy" > > Signed-off-by: Denys Dmytriyenko > --- > meta-ti-bsp/conf/multiconfig/k3r5.conf | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta-ti-bsp/conf/multiconfig/k3r5.conf > b/meta-ti-bsp/conf/multiconfig/k3r5.conf > index 04b9a746..e36c87ed 100644 > --- a/meta-ti-bsp/conf/multiconfig/k3r5.conf > +++ b/meta-ti-bsp/conf/multiconfig/k3r5.conf > @@ -4,4 +4,6 @@ DEPLOY_DIR_IMAGE:k3r5 = > "${TI_COMMON_DEPLOY}/images/${MAINMACHINE}" > > MACHINE:append = "-k3r5" > TCLIBC = "baremetal" > +TMPDIR:append = "-k3r5" > + > SDKPKGSUFFIX = "k3r5-nativesdk" > -- > 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17316): https://lists.yoctoproject.org/g/meta-ti/message/17316 Mute This Topic: https://lists.yoctoproject.org/mt/102547765/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti][master][PATCH 2/4] u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for: SRCREV Signed-off-by: LCPD Automation Script --- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb index 8e88f03..4456a17 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb @@ -6,7 +6,7 @@ PR = "r0" BRANCH = "ti-u-boot-2023.04" -SRCREV = "09b2c79a8df8b3c01c9ea77ee09265963725fdea" +SRCREV = "8c121e6e3c7fd7be6e727ddd41880c202fb6e223" do_install:append:am62xx() { install -d ${D}/boot -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17315): https://lists.yoctoproject.org/g/meta-ti/message/17315 Mute This Topic: https://lists.yoctoproject.org/mt/102704494/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti][master][PATCH 4/4] linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for: SRCREV Signed-off-by: LCPD Automation Script --- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb index c997e17..45a43a9 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb @@ -23,7 +23,7 @@ S = "${WORKDIR}/git" BRANCH ?= "ti-linux-6.1.y" -SRCREV ?= "85cb03befa7e7bf2b0e8a4279c52bf26f8138d28" +SRCREV ?= "3db9a45004a01caba21d64b397814abadcc841b0" PV = "6.1.46+git${SRCPV}" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17314): https://lists.yoctoproject.org/g/meta-ti/message/17314 Mute This Topic: https://lists.yoctoproject.org/mt/102704493/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti][master][PATCH 0/4] Update to cicd.master.202311200100
Update linux-ti-staging_6.1, linux-ti-staging-rt_6.1, ti-linux-fw and u-boot-ti-staging_2023.04 to cicd.master.202311200100 tag LCPD Automation Script (4): ti-linux-fw: CI/CD Auto-Merger: cicd.master.202311200100 u-boot-ti-staging_2023.04: CI/CD Auto-Merger: cicd.master.202311200100 linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202311200100 linux-ti-staging_6.1: CI/CD Auto-Merger: cicd.master.202311200100 meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 10 +- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb | 2 +- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb | 2 +- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb| 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17312): https://lists.yoctoproject.org/g/meta-ti/message/17312 Mute This Topic: https://lists.yoctoproject.org/mt/102704491/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti][master][PATCH 1/4] ti-linux-fw: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for: CNM_WAVE521_FW_VERSION PRUETH_FW_AM65X_SR2_VERSION TI_DM_FW_VERSION TI_LINUX_FW_SRCREV TI_SYSFW_VERSION Signed-off-by: LCPD Automation Script --- meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 5def5ad..821492f 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc @@ -9,15 +9,15 @@ INC_PR = "r4" # Firmware versions CORESDK_RTOS_VERSION = "08.02.00.04" PRUETH_FW_AM65X_VERSION = "08.00.00.20" -PRUETH_FW_AM65X_SR2_VERSION = "02.02.11.02" +PRUETH_FW_AM65X_SR2_VERSION = "02.02.12.05" GOODIX_FW_VERSION = "1.0.0.0" CADENCE_MHDP_FW_VERSION = "2.1.0" IMG_DEC_FW_VERSION = "1.0" -CNM_WAVE521_FW_VERSION = "1.0.00" -TI_DM_FW_VERSION = "08.06.04" -TI_SYSFW_VERSION = "08.06.04" +CNM_WAVE521_FW_VERSION = "1.0.3" +TI_DM_FW_VERSION = "09.01.02" +TI_SYSFW_VERSION = "09.01.06" -TI_LINUX_FW_SRCREV ?= "fc8e9ddf23ba6cf071c1c225e78c2bd8733d7780" +TI_LINUX_FW_SRCREV ?= "a2d8865df39e9021001fcf06e5daaeab81ba608c" SRCREV = "${TI_LINUX_FW_SRCREV}" BRANCH ?= "ti-linux-firmware" -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17311): https://lists.yoctoproject.org/g/meta-ti/message/17311 Mute This Topic: https://lists.yoctoproject.org/mt/102704490/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti][master][PATCH 3/4] linux-ti-staging-rt_6.1: CI/CD Auto-Merger: cicd.master.202311200100
Updated the value(s) for: SRCREV Signed-off-by: LCPD Automation Script --- meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb index d828f2b..3c82270 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb @@ -6,7 +6,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:" BRANCH = "ti-rt-linux-6.1.y" -SRCREV = "a98195cd9fc9813d8a2c9959484e5d3f9eb2502e" +SRCREV = "2f5db0e70b5e1ea128754128ff87560ff0c7ffbb" include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''} -- 1.8.3.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17313): https://lists.yoctoproject.org/g/meta-ti/message/17313 Mute This Topic: https://lists.yoctoproject.org/mt/102704492/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-