Skip to contentSkip to conversation

ti-pdk: Add tool chain dependencies for am65xx platform

PATCH In review Sam Nelson 2 participants 6 messages Aug 22, 2018 – Aug 24, 2018

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 ti-pdk: Add tool chain dependencies for am65xx platform

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +4 -0
index 7ad6205..f0d14a7 100644
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-native"
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
 
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 12 lines · Sam Nelson

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +0 -0
index 7ad6205..f0d14a7 100644

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 12

Quoted 4 lines
classes/ti-pdk.bbclass +1 -0
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-native"

Will gcc-arm-none-eabi-native recipe be removed?

Quoted 21 lines
classes/ti-pdk.bbclass +3 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
 
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 29 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2018 6:50 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform

Quoted 12 lines · Sam Nelson

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +0 -0
index 7ad6205..f0d14a7 100644

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 12

Quoted 4 lines
classes/ti-pdk.bbclass +1 -0
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-

native"

Quoted 1 line

Will gcc-arm-none-eabi-native recipe be removed?

My understanding is gcc-arm-none-eabi-native will still be used for A15.

Quoted 27 lines

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 13

Quoted 3 lines
classes/ti-pdk.bbclass +1 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-baremetal-

aarch64-native"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 =

Quoted 4 lines
classes/ti-pdk.bbclass +0 -0
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 =

"${M4_TOOLCHAIN_INSTALL_DIR}"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 45

Quoted 2 lines
classes/ti-pdk.bbclass +0 -0
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH =

"${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 47

Quoted 2 lines
classes/ti-pdk.bbclass +1 -0
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 =

"${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"

Quoted 12 lines
classes/ti-pdk.bbclass +1 -1
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
--

1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
Quoted 29 lines · Sam
Quoted 29 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2018 6:50 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform

Quoted 12 lines · Sam Nelson

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +0 -0
index 7ad6205..f0d14a7 100644

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 12

Quoted 4 lines
classes/ti-pdk.bbclass +1 -0
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-

native"

Quoted 3 lines
Quoted 1 line

Will gcc-arm-none-eabi-native recipe be removed?

My understanding is gcc-arm-none-eabi-native will still be used for A15.

That's strange, because both armv7 and armv8 versions of baremetal Linaro gcc were added by Hao recently...

Quoted 25 lines
Quoted 25 lines

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 13

Quoted 1 line
classes/ti-pdk.bbclass +1 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-baremetal-

aarch64-native"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 =

Quoted 4 lines
classes/ti-pdk.bbclass +0 -0
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 =

"${M4_TOOLCHAIN_INSTALL_DIR}"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 45

Quoted 2 lines
classes/ti-pdk.bbclass +0 -0
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH =

"${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 47

Quoted 2 lines
classes/ti-pdk.bbclass +1 -0
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 =

"${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"

Quoted 12 lines
classes/ti-pdk.bbclass +1 -1
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
--

1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 41 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 23, 2018 12:04 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform

Quoted 8 lines · Sam
Quoted 8 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2018 6:50 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies

for

Quoted 21 lines
Quoted 21 lines

am65xx platform

Quoted 12 lines · Sam Nelson

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +0 -0
index 7ad6205..f0d14a7 100644

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 12

Quoted 4 lines
classes/ti-pdk.bbclass +1 -0
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-

native"

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Will gcc-arm-none-eabi-native recipe be removed?

My understanding is gcc-arm-none-eabi-native will still be used for A15.

That's strange, because both armv7 and armv8 versions of baremetal Linaro gcc
were added by Hao recently...

Checked with Hao to confirm.
Looks like we cannot use baremetal gcc linaro for a15 currently. (we may move to use baremetal gcc linaro later)
So this patch has to stay in the current form for now.

Quoted 28 lines
Quoted 3 lines
Quoted 3 lines

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 13

Quoted 3 lines
classes/ti-pdk.bbclass +1 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-

baremetal-

Quoted 24 lines
Quoted 24 lines

aarch64-native"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 =

Quoted 4 lines
classes/ti-pdk.bbclass +0 -0
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 =

"${M4_TOOLCHAIN_INSTALL_DIR}"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 45

Quoted 2 lines
classes/ti-pdk.bbclass +0 -0
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH =

"${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 47

Quoted 2 lines
classes/ti-pdk.bbclass +1 -0
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 =

"${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"

Quoted 12 lines
classes/ti-pdk.bbclass +1 -1
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
--

1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#5 lore raw
Quoted 45 lines · Sam
Quoted 45 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, August 23, 2018 12:04 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform

Quoted 8 lines · Sam
Quoted 8 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, August 22, 2018 6:50 PM
To: Nelson, Sam
Cc: [email protected]; Zhang, Hao
Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies

for

Quoted 24 lines
Quoted 21 lines

am65xx platform

Quoted 12 lines · Sam Nelson

Adds the dependency on toolchain needed for A53 and R5 cores

---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
classes/ti-pdk.bbclass +0 -0
index 7ad6205..f0d14a7 100644

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 12

Quoted 4 lines
classes/ti-pdk.bbclass +1 -0
@@ -9,6 +9,8 @@ DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 DEPENDS_append_omapl1 = " ti-cgt-arm-native"
+DEPENDS_remove_am65xx-evm = "gcc-arm-none-eabi-native ti-cgt6x-

native"

Quoted 1 line

Will gcc-arm-none-eabi-native recipe be removed?

My understanding is gcc-arm-none-eabi-native will still be used for A15.

Quoted 8 lines
Quoted 3 lines

That's strange, because both armv7 and armv8 versions of baremetal Linaro gcc
were added by Hao recently...

Checked with Hao to confirm.
Looks like we cannot use baremetal gcc linaro for a15 currently. (we may move to use baremetal gcc linaro later)
So this patch has to stay in the current form for now.

Ok, sounds good, thanks. Please don't forget to clean it up later.

Quoted 26 lines
Quoted 26 lines
Quoted 1 line
Quoted 1 line

classes/ti-pdk.bbclass DEPENDS_append_omap-a15 = " ti-cgt-arm-native" · line 13

Quoted 1 line
classes/ti-pdk.bbclass +1 -0
+DEPENDS_append_am65xx-evm = " ti-cgt-arm-native gcc-linaro-

baremetal-

Quoted 24 lines
Quoted 24 lines

aarch64-native"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 =

Quoted 4 lines
classes/ti-pdk.bbclass +0 -0
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
@@ -42,6 +44,8 @@ export TOOLCHAIN_PATH_M4 =

"${M4_TOOLCHAIN_INSTALL_DIR}"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 45

Quoted 2 lines
classes/ti-pdk.bbclass +0 -0
 export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export C6X_GEN_INSTALL_PATH =

"${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"

classes/ti-pdk.bbclass export TOOLCHAIN_PATH_M4 = · line 47

Quoted 2 lines
classes/ti-pdk.bbclass +1 -0
 export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
+export TOOLCHAIN_PATH_GCC_ARCH64 =

"${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"

Quoted 12 lines
classes/ti-pdk.bbclass +1 -1
+export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
 
 export ROOTDIR = "${B}"
 export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
--

1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti