2388816_en-US

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

2388816_en-US

2388816_en-US

How to build the libcamera for iMX95 FRDM

I have currently cloned and able to build libcamera in my HOST PC which runs on ubuntu 20.04. The README provided doesnt provide any information regarding the tool chain needed to be used. How to overcome this ? Is there a source provided for yocto build for the IMX95 FRDM so with that we can able to populate SDK and build accordingly.

Re: How to build the libcamera for iMX95 FRDM

Option 1 (Recommended): Build libcamera inside Yocto

If your goal is to modify or rebuild libcamera for FRDM-i.MX95:

  1. Download the i.MX BSP release corresponding to your board/kernel version.
  2. Set up the Yocto environment.
  3. Build libcamera as a Yocto package:

bitbake libcamera

or include it in your image:

IMAGE_INSTALL:append = " libcamera"

Then rebuild:

bitbake imx-image-full

`

This ensures:

  • Correct aarch64 compiler
  • Correct kernel headers
  • NXP Neo pipeline support
  • Matching IPA binaries
  • Matching GStreamer libcamerasrc plugin

This is the safest route for i.MX95.


Option 2: Cross-build libcamera outside Yocto

If you already cloned libcamera on Ubuntu 20.04 and want to cross-build it manually:

You should not use the host gcc.

Instead generate the SDK from Yocto:

bitbake imx-image-full -c populate_sdk


The i.MX Linux User's Guide explicitly references SDK generation and Yocto-based workflows.

After the SDK is generated:

tmp/deploy/sdk/*.sh

Install it:

./fsl-imx-xwayland-glibc-aarch64-imx95-toolchain.sh

Source the environment:

source /opt/fsl-imx-xwayland//environment-setup-aarch64-poky-linux

Then build libcamera using meson:

Shell

meson setup build \

--cross-file=

ninja -C build

The exact cross-file depends on the SDK release and BSP version.


Is there Yocto source available for i.MX95?

Yes. Based on the internal Linux User Guide, i.MX95 support is provided through the standard NXP Yocto BSP and meta-imx infrastructure. The guide also references:

bitbake imx-image-full

and points users to the meta-imx README and Yocto documentation. [UG10163_i....-09_review | PDF]

For FRDM-i.MX95 specifically, the board ships with an Embedded Linux Yocto solution according to the board collateral

タグ(1)
評価なし
バージョン履歴
最終更新日:
土曜日
更新者: