All of lore.kernel.org
 help / color / mirror / Atom feed
* [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
@ 2018-08-22 21:18 Sam Nelson
  2018-08-22 22:50 ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Nelson @ 2018-08-22 21:18 UTC (permalink / raw)
  To: meta-ti, hzhang

Adds the dependency on toolchain needed for A53 and R5 cores

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 classes/ti-pdk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
index 7ad6205..f0d14a7 100644
--- a/classes/ti-pdk.bbclass
+++ b/classes/ti-pdk.bbclass
@@ -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}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
  2018-08-22 21:18 [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform Sam Nelson
@ 2018-08-22 22:50 ` Denys Dmytriyenko
  2018-08-22 23:14   ` Nelson, Sam
  0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2018-08-22 22:50 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-ti

On Wed, Aug 22, 2018 at 05:18:50PM -0400, Sam Nelson wrote:
> Adds the dependency on toolchain needed for A53 and R5 cores
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  classes/ti-pdk.bbclass | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> index 7ad6205..f0d14a7 100644
> --- a/classes/ti-pdk.bbclass
> +++ b/classes/ti-pdk.bbclass
> @@ -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?


> +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}"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
  2018-08-22 22:50 ` Denys Dmytriyenko
@ 2018-08-22 23:14   ` Nelson, Sam
  2018-08-23 16:04     ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Nelson, Sam @ 2018-08-22 23:14 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, August 22, 2018 6:50 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org; Zhang, Hao
> Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for
> am65xx platform
> 
> On Wed, Aug 22, 2018 at 05:18:50PM -0400, Sam Nelson wrote:
> > Adds the dependency on toolchain needed for A53 and R5 cores
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > ---
> >  classes/ti-pdk.bbclass | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> > index 7ad6205..f0d14a7 100644
> > --- a/classes/ti-pdk.bbclass
> > +++ b/classes/ti-pdk.bbclass
> > @@ -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?

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

> 
> 
> > +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}"
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
  2018-08-22 23:14   ` Nelson, Sam
@ 2018-08-23 16:04     ` Denys Dmytriyenko
  2018-08-23 19:23       ` Nelson, Sam
  0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2018-08-23 16:04 UTC (permalink / raw)
  To: Nelson, Sam; +Cc: meta-ti@yoctoproject.org

On Wed, Aug 22, 2018 at 07:14:16PM -0400, Nelson, Sam wrote:
> 
> 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Wednesday, August 22, 2018 6:50 PM
> > To: Nelson, Sam
> > Cc: meta-ti@yoctoproject.org; Zhang, Hao
> > Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for
> > am65xx platform
> > 
> > On Wed, Aug 22, 2018 at 05:18:50PM -0400, Sam Nelson wrote:
> > > Adds the dependency on toolchain needed for A53 and R5 cores
> > >
> > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > > ---
> > >  classes/ti-pdk.bbclass | 4 ++++
> > >  1 file changed, 4 insertions(+)
> > >
> > > diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> > > index 7ad6205..f0d14a7 100644
> > > --- a/classes/ti-pdk.bbclass
> > > +++ b/classes/ti-pdk.bbclass
> > > @@ -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?
> 
> 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...


> > > +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}"
> > > --
> > > 1.9.1
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
  2018-08-23 16:04     ` Denys Dmytriyenko
@ 2018-08-23 19:23       ` Nelson, Sam
  2018-08-24 20:20         ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Nelson, Sam @ 2018-08-23 19:23 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, August 23, 2018 12:04 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org; Zhang, Hao
> Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for
> am65xx platform
> 
> On Wed, Aug 22, 2018 at 07:14:16PM -0400, Nelson, Sam wrote:
> >
> >
> > > -----Original Message-----
> > > From: Dmytriyenko, Denys
> > > Sent: Wednesday, August 22, 2018 6:50 PM
> > > To: Nelson, Sam
> > > Cc: meta-ti@yoctoproject.org; Zhang, Hao
> > > Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies
> for
> > > am65xx platform
> > >
> > > On Wed, Aug 22, 2018 at 05:18:50PM -0400, Sam Nelson wrote:
> > > > Adds the dependency on toolchain needed for A53 and R5 cores
> > > >
> > > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > > > ---
> > > >  classes/ti-pdk.bbclass | 4 ++++
> > > >  1 file changed, 4 insertions(+)
> > > >
> > > > diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> > > > index 7ad6205..f0d14a7 100644
> > > > --- a/classes/ti-pdk.bbclass
> > > > +++ b/classes/ti-pdk.bbclass
> > > > @@ -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?
> >
> > 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.

> 
> 
> > > > +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}"
> > > > --
> > > > 1.9.1
> > > >
> > > > --
> > > > _______________________________________________
> > > > meta-ti mailing list
> > > > meta-ti@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform
  2018-08-23 19:23       ` Nelson, Sam
@ 2018-08-24 20:20         ` Denys Dmytriyenko
  0 siblings, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2018-08-24 20:20 UTC (permalink / raw)
  To: Nelson, Sam; +Cc: meta-ti@yoctoproject.org

On Thu, Aug 23, 2018 at 03:23:57PM -0400, Nelson, Sam wrote:
> 
> 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Thursday, August 23, 2018 12:04 PM
> > To: Nelson, Sam
> > Cc: meta-ti@yoctoproject.org; Zhang, Hao
> > Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies for
> > am65xx platform
> > 
> > On Wed, Aug 22, 2018 at 07:14:16PM -0400, Nelson, Sam wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: Dmytriyenko, Denys
> > > > Sent: Wednesday, August 22, 2018 6:50 PM
> > > > To: Nelson, Sam
> > > > Cc: meta-ti@yoctoproject.org; Zhang, Hao
> > > > Subject: Re: [meta-ti] [rocko][PATCH] ti-pdk: Add tool chain dependencies
> > for
> > > > am65xx platform
> > > >
> > > > On Wed, Aug 22, 2018 at 05:18:50PM -0400, Sam Nelson wrote:
> > > > > Adds the dependency on toolchain needed for A53 and R5 cores
> > > > >
> > > > > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > > > > ---
> > > > >  classes/ti-pdk.bbclass | 4 ++++
> > > > >  1 file changed, 4 insertions(+)
> > > > >
> > > > > diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> > > > > index 7ad6205..f0d14a7 100644
> > > > > --- a/classes/ti-pdk.bbclass
> > > > > +++ b/classes/ti-pdk.bbclass
> > > > > @@ -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?
> > >
> > > 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.

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


> > > > > +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}"
> > > > > --
> > > > > 1.9.1
> > > > >
> > > > > --
> > > > > _______________________________________________
> > > > > meta-ti mailing list
> > > > > meta-ti@yoctoproject.org
> > > > > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-24 20:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-22 21:18 [rocko][PATCH] ti-pdk: Add tool chain dependencies for am65xx platform Sam Nelson
2018-08-22 22:50 ` Denys Dmytriyenko
2018-08-22 23:14   ` Nelson, Sam
2018-08-23 16:04     ` Denys Dmytriyenko
2018-08-23 19:23       ` Nelson, Sam
2018-08-24 20:20         ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.