New AR0521 layer and bitbake issues

@bruno.tx Hi Bruno,

Here is the new topic as discuss for the new AR0521 layer. I was sent a multimedia image but I need to have the torizon-core-docker 6.7.0 dev to test in my application. Is there any chance you could send that though please?

I have spent the last 16hrs trying to use bitbake as per the instructions on the toradex website:

I am stuck trying to add the AR0521 layers using bitbake:

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


It seems like you’re trying to add the AR0521 camera support to a TorizonCore image using BitBake, but you’re encountering issues. Here are some steps and considerations that might help you resolve the problem:

  1. Ensure Correct Yocto Layers:

    • Make sure you have the correct Yocto layers added to your build environment. For the AR0521 camera, you might need to add specific layers provided by Toradex. Check the documentation for the exact layers required.
  2. Layer Dependencies:

    • Verify that all dependencies for the AR0521 layer are met. Sometimes, missing dependencies can cause BitBake to fail.
  3. BitBake Configuration:

    • Ensure your bblayers.conf and local.conf files are correctly configured to include the AR0521 layer and any other necessary configurations.
  4. Building the Image:

    • Once the layers are correctly added, you can build the image using BitBake. For example:
      bitbake torizon-core-docker
      
  5. Using Pre-built Images:

    • If building the image is too complex or time-consuming, you might consider using a pre-built TorizonCore image that already includes the necessary support for the AR0521 camera. You mentioned needing the torizon-core-docker 6.7.0 dev image. You can download pre-built images from the Toradex Easy Installer or the Toradex website.
  6. Device Tree Overlays:

    • For Verdin iMX8M Plus, you might need to use a device tree overlay like verdin-imx8mp_ar0521_overlay.dts. Ensure this overlay is correctly applied in your build.
  7. Testing the Camera:

    • After successfully building and flashing the image, you can test the camera using GStreamer and V4L2-utils as described in the documentation.

If you continue to face issues, please provide more specific error messages or logs from BitBake, and I can help troubleshoot further. Additionally, you can reach out to Toradex support for more direct assistance.

Please, also check if these links can help you solve your problem:

Errors after installing torizon-core-docker yocto image.

I believe I have the layer with the latest AR0521 from github added now: GitHub - toradex/meta-toradex-econ at dev-6.7.0

My build is failing though: