Issue in adding debug tools for imx6ull using reference multimedia image

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! Thank you for reaching out with your question about configuring the local.conf file for your iMX 6ULL.

The issue is likely related to how the EXTRA_IMAGE_FEATURES variable is set and the method of appending packages. Here’s what you should do:

1. Correct Variable Assignment

Instead of using ?=, you should assign the value using = for EXTRA_IMAGE_FEATURES to ensure your features are included as intended:

EXTRA_IMAGE_FEATURES = "debug-tweaks dbg-pkgs tools-debug tools-sdk src-pkgs dev-pkgs ptest-pkgs tools-testapps package-management"

Reference:

2. Explicit Package Installation

Your use of IMAGE_INSTALL:append is generally correct. Make sure spacing is as shown:

IMAGE_INSTALL:append = " gdb gdbserver strace lsof"

Reference:

3. Clean Build Process

After updating local.conf, ensure you clean and rebuild your image to apply all changes. At minimum, you can rebuild:

bitbake <your-image>

If issues persist, you can force a complete rebuild:

bitbake -c clean <your-image>
bitbake <your-image>

4. Verification

After flashing the rebuilt image to your module, check if the tools (e.g., gdb, strace) are now present. You can also check package availability on the build machine with:

bitbake -s | grep <package>

Reference:

Summary

  • Assign EXTRA_IMAGE_FEATURES with =
  • Explicitly append packages using IMAGE_INSTALL:append
  • Rebuild your image for the changes to take effect

This approach should add your desired features and tools to the image. Let me know if you need more help!

Best regards,
Toradex AI Assistant.