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-DRA7X: Yocto build mqtt clients

Part Number: PROCESSOR-SDK-DRA7X


Hi,

How can i install mosquitto and paho-mqtt in Processor SDK.

  • Hi Ganesh,

    You can search for the recipes using the openembedded tool.

    Please see the results for these two packages here:
    layers.openembedded.org/.../
    layers.openembedded.org/.../

    These are available in some other Yocto layers and hence you will need to add these layers into the configuration file first.
    The second step would be include them into an appropriate packagegroup/image.

    Regards
    Karthik
  • Hi Karthik,

    It says supporting in master branch i think processor sdk yocto is using kogroth , the other versions of yocto is not listing these packages.

    I added mosquitto in build/conf/local.conf but it says nothing provides mosquitto.

    Can you elaborate the steps to be done for both packages.

  • Hi Ganesh,

    Please look into those layers and check the layer maintenance strategy. If its only supported in the master branch then you will have to add master branch.

    Clue 1) please refer to the config/processor-sdk-linux-automotive-03.04.00.03.txt and check how the layers are defined and getting picked up. You will have to make the first change here

    Clue 2) Run the oe-layersetup script to configure the bblayers.conf (happens when you run the oe-layersetup script).

    Clue 3) And then add the packagegroup appropriately.

    Note that this is very custom and you will have to use these ideas to make the changes at your end.

    Regards
    Karthik
  • Hi Karthik,

    It was getting an error with util-linux libuuid,

    but downloaded the source of mosquitto and then compiled and installed in EVM OS, did the same for paho client also
  • Hi Ganesh,

    Good to know that you have been able to compile and install the mosquitto and the paho client.

    Btw, I cannot comment further about the util-linux libuuid error unless you share the recipe details (which layer is this coming from) etc.

    Regards
    Karthik
  • Hi Ganesh,

    I'm assuming that you have been able to make progress on this. I'm marking this thread as closed.
    In case you have any other questions please raise a new E2E thread.

    Regards
    Karthik