I can't set Target Architecture in Yocto Projcet ADT in preferences in eclipse

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

I can't set Target Architecture in Yocto Projcet ADT in preferences in eclipse

1,827件の閲覧回数
yibhan
Contributor III

Hello NXP community,

I got some problem to install eclipse setup for sdk in yocto.

I have followed Setting up the Eclipse IDE for Yocto Application Development.

but, I can't click OK button in "Yocto Project ADT" and "Target Architecture" is disabled, so I can't forward to next.

I have input my path("/opt/fsl-imx-x11/5.4-zeus/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi") as Toolchain Root Location, and "/home/yibhan/project/imx-yocto-bsp/build-x11/tmp/sysroots/imx6qpsabresd/imgdata" as Sysroot Location.

By the way, when I input Sysroot Loacation as "/home/yibhan/project/imx-yocto-bsp/build-x11/tmp/sysroots/imx6qpsabresd/imgdata", that path has only environment script(xxx.env).

Is that right?

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

1,625件の閲覧回数
radhikasomaiya
Senior Contributor II

Hi yibhan@eosystem.com ,

As you have mentioned "Target Architecture" is disabled, can you please check once that have you enabled the Standalone pre-built toolchain radio button or not? 

For Syroot location as suggested by weidong.sun you can use path of your expanded toolchain's sysroots  (<expanded_toolchain_diretory>/sysroots/<machine>).

We are able to build hello world (cpp project) with cortexa9hf-neon-poky-linux-gnueabi.

In sysroots path we are able to found below two machine's only. (not found environment script(xxx.env)). 

  • cortexa9hf-neon-poky-linux-gnueabi 
  • x86_64-pokysdk-linux

 

Regards,

Radhika Somaiya.

0 件の賞賛
返信

1,625件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi  Yibeom Han,

     If you have exported toolchain and installed it in /opt directory, compiler is here:

/opt/fsl-imx-fb/5.4-zeus/imx6/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi

pastedImage_2.png

If you use Eclipse and ADT plugin, probably you should specify absolute path of cross compiler.

I don't recommend that you use compiler in "yocto/build/tmp/...." , Because this is a temporary path when compiling the BSP.

Try it , please!

Have  a nice day!

B.R,

Weidong

0 件の賞賛
返信