Setup iMX7 the development tool chain? Document req

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Setup iMX7 the development tool chain? Document req

1,341件の閲覧回数
baskarankrishna
Contributor I

Booting Linux on in physical CPU seems okay,Attached u boot message file for the reference

Pls share me a document  ""about how to setup the development tool chain?""

Thanks

K.Baskaran

Original Attachment has been moved to: booting-message.txt.zip

ラベル(1)
0 件の賞賛
返信
1 返信

953件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Baskaran,

if you want to cross compile an application you must use Metatoolchain in Yocto. In the following link you can find a complete Yocto training and Task 7 is about this.

Yocto Training - HOME 

In summary these are the steps to add metatoolchain and cross compile a simple hello world application:

$ bitbake meta-toolchain
$ sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.4.1.sh
$ source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
$ arm-poky-linux-gnueabi-gcc -v
$ arm-poky-linux-gnueabi-gcc hello.c -o hello

On the other hand, if you want to build an application natively in the iMX7 you need to add the sdk packages to the image, the simplest way may be to add to the end of your build/conf/local.conf file:


IMAGE_INSTALL-append += "\
packagegroup-sdk-target \
"

Regards,

Carlos

0 件の賞賛
返信