toolchain and native library issue for IMX8 and Yocto

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

toolchain and native library issue for IMX8 and Yocto

835件の閲覧回数
redwill
Contributor II

I've build uboot, kernel, and rootfs images(using bitbake commands) and success bring up on the Yocto board, but i meet some issue on toolchain and native library when not to use bitbake commands...

  • source .../fsl-imx-wayland/4.14-sumo/environment-setup-aarch64-poky-linux
  • trying to build busybox by make commands => failed by "some native library not found"
  • Also, i got similar issues when trying to build kernel driver module which using xenomai-3.x => failed by "can not found linux native headers"

Any suggestion to solve these conflicts between toolchain and linux native library and headers

Thank You~

[Error detail]

  1. busybox error msg:
    ...
    /usr/bin/ld: cannot find -lncursesw
    ...

    => i found library under "imx-yocto-bsp/build-wayland/tmp/work/aarch64-poky-linux/busybox/1.27.2-r0/recipe-sysroot-native/" and trying to copy the library to toolchain, but still failed
  2. the headers in 3rd party xenomai using "include_next" to include the linux native headers, and failed by "file not found", since kernel can not include glibc headers
0 件の賞賛
1 返信

831件の閲覧回数
igorpadykov
NXP TechSupport
NXP TechSupport

Hi redwill

 

for changing image one can look at

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-mod...

for build steps, toolchain one can follow documentation :  i.MX Yocto Project User’s Guide​

https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html

and post specific yocto question on meta-fsl-arm mailing list

https://lists.yoctoproject.org/g/meta-freescale

 

Best regards
igor

0 件の賞賛