This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM65X: psdkla branding

Part Number: PROCESSOR-SDK-AM65X

the sdk documentation recommends

ARAGO_BRAND = 'psdkla'

1. What is the purpose of the psdkla ARAGO_BRAND configuration parameter?

also, psdkla branding seems to remove the wic.xz IMAGE_FSTYPES in this file:

[projects/meta-psdkla.git] / conf / distro / include / branding-psdkla.inc

# Skip other image types to optimize build
IMAGE_FSTYPES_remove = "wic.xz"

2. adding 'IMAGE_FSTYPES += "wic.xz" in conf/local.conf still doesn't produce a wic.xz image output. how can i produce a wic.xz image?

  • Hi,

    I am routing your query to our Yocto expert for comments. Please expect delayed response due to the holidays in US.

  • What is the purpose of the psdkla ARAGO_BRAND configuration parameter?

    Technically speaking this parameter sets some extra preferences and configurable aspects for the AM65x SDK on top of the Arago Distribution that look mostly non-critical. You can get a full view of the impact by searching the meta-arago layer, for example by executing git grep -C 20 ARAGO_BRAND from the meta-arago folder.

    Looking through it more closely to see what ARAGO_BRAND = "psdkla" does for AM65x specifically, it is more or less only activating the meta-psdkla/conf/distro/include/branding-psdkla.inc file through an include from meta-arago/meta-arago-distro/conf/distro/arago.conf. Most places impacted by ARAGO_BRAND are conditional changes for devices _other_ than AM65x. And even in the branding-psdkla.inc file, the only real change applicable to AM65x is to remove the creation of the wic.xz image type. It looks like setting this branding configuration is rather useless in the context of AM65x, and I'll go ahead file an internal ticket to have this step removed from the docs.

    adding 'IMAGE_FSTYPES += "wic.xz" in conf/local.conf still doesn't produce a wic.xz image output. how can i produce a wic.xz image?

    Overriding a _remove operation doesn't really seem to be supported, see https://www.openembedded.org/pipermail/bitbake-devel/2015-September/006419.html  If you really want do do that you'd want to create your own distribution layer.

    However for your specific concern, please remove the ARAGO_BRAND = "psdkla" setting from your local.conf file if you have set it up already, or don't add it when setting up the project new. This should now create your wic.xz files.

    Regards, Andreas

  • thank you for your thorough answer. this was extremely helpful.