[yocto] machine arch files for Jetson TX1 (Quad-core ARMCortex-A57 MPCore Processor)

Khem Raj raj.khem at gmail.com
Sat May 14 15:27:34 PDT 2016


On Sat, May 14, 2016 at 3:23 PM, Paul Knopf <pknopf at medxchange.com> wrote:
> NVideo provides the following crosstools-ng config for building a
> cross-compile toolchain.
>
> https://gist.github.com/anonymous/95b2ec71aebf8df644b1789bc3ed958d
>

with OE it will build everything for you
just clone

https://github.com/kraj/meta-jetson-tk1

add it to bblayers.conf
and then set MACHINE = "jetson-tk1"
and bitbake core-image-minimal


> Some parts I think that are relevant...
>
> ---------
> CT_ARCH="arm"
> CT_ARCH_SUPPORTS_BOTH_MMU=y
> CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
> CT_ARCH_SUPPORTS_32=y
> CT_ARCH_SUPPORTS_WITH_ARCH=y
> CT_ARCH_SUPPORTS_WITH_CPU=y
> CT_ARCH_SUPPORTS_WITH_TUNE=y
> CT_ARCH_SUPPORTS_WITH_FLOAT=y
> CT_ARCH_SUPPORTS_WITH_FPU=y
> CT_ARCH_SUPPORTS_SOFTFP=y
> CT_ARCH_DEFAULT_HAS_MMU=y
> CT_ARCH_DEFAULT_LE=y
> CT_ARCH_DEFAULT_32=y
> CT_ARCH_ARCH="armv7-a"
> CT_ARCH_CPU="cortex-a9"
> CT_ARCH_TUNE="cortex-a9"
> CT_ARCH_FPU=""
> # CT_ARCH_BE is not set
> CT_ARCH_LE=y
> CT_ARCH_32=y
> CT_ARCH_BITNESS=32
> CT_ARCH_FLOAT_HW=y
> # CT_ARCH_FLOAT_SW is not set
> CT_TARGET_CFLAGS=""
> CT_TARGET_LDFLAGS=""
> # CT_ARCH_alpha is not set
> CT_ARCH_arm=y
> # CT_ARCH_avr32 is not set
> # CT_ARCH_blackfin is not set
> # CT_ARCH_m68k is not set
> # CT_ARCH_mips is not set
> # CT_ARCH_powerpc is not set
> # CT_ARCH_s390 is not set
> # CT_ARCH_sh is not set
> # CT_ARCH_sparc is not set
> # CT_ARCH_x86 is not set
> CT_ARCH_alpha_AVAILABLE=y
> CT_ARCH_arm_AVAILABLE=y
> CT_ARCH_avr32_AVAILABLE=y
> CT_ARCH_blackfin_AVAILABLE=y
> CT_ARCH_m68k_AVAILABLE=y
> CT_ARCH_mips_AVAILABLE=y
> CT_ARCH_powerpc_AVAILABLE=y
> CT_ARCH_s390_AVAILABLE=y
> CT_ARCH_sh_AVAILABLE=y
> CT_ARCH_sparc_AVAILABLE=y
> CT_ARCH_x86_AVAILABLE=y
> ---------
>
> What files do I need to build with this cross-toolchain, inside of Yocto?
>
>
> Thanks,
> Paul Knopf
> Software Engineer
> Med X Change, Inc
> pknopf at medxchange.com
>
> On Sat, May 14, 2016 at 6:14 PM, Paul Knopf <pknopf at medxchange.com> wrote:
>>
>> They are using "require conf/machine/include/tune-cortexa15.inc" for the
>> TK1, but the TX1 uses a Cortex A57, not a A15. There is no "tune-cortexa57".
>>
>> Thanks,
>> Paul Knopf
>> Software Engineer
>> Med X Change, Inc
>> pknopf at medxchange.com
>>
>> On Sat, May 14, 2016 at 6:08 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>
>>> Look at kraj/meta-jetson-tk1 on github
>>>
>>> On May 14, 2016 2:17 PM, "Paul Knopf" <pknopf at medxchange.com> wrote:
>>>>
>>>> What configs do I need to include in my machine.conf to support this
>>>> processor?
>>>>
>>>> http://www.nvidia.com/object/jetson-tx1-dev-kit.html
>>>>
>>>> "require conf/machine/include/arm/arch-*.inc" ?
>>>>
>>>> Thanks,
>>>> Paul Knopf
>>>> Software Engineer
>>>> Med X Change, Inc
>>>> pknopf at medxchange.com
>>>>
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>
>>
>



More information about the yocto mailing list