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.

avahi package missing from filesystem for 66AK2L06 Processor SDK

Other Parts Discussed in Thread: 66AK2L06

According to the software manifest for the Processor SDK 03.00.00.04 for 66AK2L06, avahi 0.6.32-r0.8 packages are included in this release.  But in the target filesystem tar files that are included in this version of SDK, there are no avahi libraries or binaries present.  I do see the precompiled avahi files under the linux-devkit/ directory of the SDK installed on the host.

How can I install the avahi package that's included in the linux-devkit onto the target filesystem so that we can run it on the target?

  • Hello,

    I am not aware with PSDK for 66AK2L06 but have you checked in:
    ti-processor-sdk-....-03.01.00.06/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/sbin
    for avahi-daemon?

    Hope this is what you are looking for.

    BR
    Margarita
  • As I mentioned, the avahi files are present under the linux-devkit directroy in the SDK installation:

    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/include/avahi-core
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/include/avahi-common
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/include/avahi-gobject
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/include/avahi-client
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/include/avahi-glib
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-core.so.7.0.2
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/pkgconfig/avahi-client.pc
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/pkgconfig/avahi-glib.pc
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/pkgconfig/avahi-core.pc
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/pkgconfig/avahi-gobject.pc
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-common.so
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-common.so.3.5.3
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-glib.so.1.0.2
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-client.so
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-gobject.so.0.0.4
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-client.so.3
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-common.so.3
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-gobject.so.0
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-gobject.so
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-glib.so.1
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-core.so.7
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-client.so.3.2.9
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-glib.so
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/lib/libavahi-core.so
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/sbin/avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/share/avahi
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/usr/share/avahi/avahi-service.dtd
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/dbus-1/system.d/avahi-dbus.conf
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/avahi
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/avahi/avahi-daemon.conf
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc2.d/S21avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc1.d/K19avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc3.d/S21avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc4.d/S21avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc6.d/K19avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc0.d/K19avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/rc5.d/S21avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/etc/init.d/avahi-daemon
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/lib/systemd/system/avahi-daemon.service
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/lib/systemd/system/avahi-daemon.socket
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.preinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-client3.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-core7.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-gobject0.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-gobject0.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-common3.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.prerm
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-dev.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-core7.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-glib1.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-common3.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-common3.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-client3.control
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.postrm
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-core7.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-dev.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.list
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-client3.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-glib1.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.conffiles
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-gobject0.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/avahi-daemon.postinst
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/linux-devkit/sysroots/cortexa15hf-neon-linux-gnueabi/var/lib/opkg/info/libavahi-glib1.control

    The problem I have is that these files ARE NOT present in the target filesystem tar files that the target is using:


    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/filesystem/tisdk-server-rootfs-image-k2l-evm.tar.gz
    ti-processor-sdk-linux-rt-k2l-evm-03.00.00.04/filesystem/tisdk-server-extra-rootfs-image-k2l-evm.tar.gz

    My question is what is the proper way to get the avahi package installed into the target filesystem such that the target (K2L) can actually run avahi.

  • Hi Alan,

    I'm checking with the developers.

    Regards,

    Mike

  • Hi Alan,

    Have you tried following the steps here: processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK
    To build the individual avahi package (ipk) file from the avahi recipe?

    The avahi recipes are there under the oe-core tree. I am still waiting for a response from the developers on why it is not included in the root filesystem.

    Regards,
    Mike
  • Alan,

    The package groups for the devkit and filesystem are different, so that is why it is not on the filesystem. I still recommend using the link I provided for building the ipk for this platform.

    One question I have is what is your use-case that requires Avahi?

    Thanks,
    Mike
  • OK, I will take a look at that wiki page to see how I can build the avahi ipk.  Can I also use this to build a root filesystem tar file with the avahi package already included?

    We are interested in using avahi to discover devices using the zeroconf protocol.

  • Just to follow up, I was able to use the instructions you referenced here: http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK and was able to successfuly build the avahi IPKs (the bitbake recipe generates multiple IPKs not just a single one, btw).  Then I used opkg running on the target to install the IPKs and get it working for our use case.  Thanks.