Skip to contentSkip to conversation

Add Zeroconf networking support for Dante DEP

PATCH In review vishnu singh 2 participants 4 messages Jan 23

lore
Share & tools
lore
#0 lore raw

cover Add Zeroconf networking support for Dante DEP

From: Vishnu Singh <[email protected]>

This patch series adds Zeroconf networking support required for Dante Device Enrollment Protocol (DEP) functionality. Dante audio networking relies on Zeroconf capabilities for automatic device discovery and configuration in professional audio environments.

The series includes two complementary approaches to enable full Zeroconf support:

1. Adding the necessary packages (zeroconf and avahi-autoipd) to the connectivity packagegroup to provide mDNS and DNS-SD service discovery functionality.

2. Configuring systemd-networkd to enable IPv4 Link-Local addressing for all Ethernet interfaces, ensuring devices can obtain IP addresses automatically when no DHCP server is available.

Together, these changes provide the complete Zeroconf stack needed for Dante DEP:
- Automatic IP address assignment (169.254.x.x/16)
- Multicast DNS hostname resolution (.local domains)
- Service discovery and advertisement
- DNS Service Discovery (DNS-SD)

This implementation ensures that Dante audio devices can discover each other and communicate properly in zero-configuration environments, which is essential for professional audio networking deployments.

Vishnu Singh (2):
packagegroup-arago-tisdk-connectivity: add zeroconf and avahi-autoipd
systemd-networkd: Enable IPv4 Link-Local addressing for Ethernet
interfaces

 .../packagegroups/packagegroup-arago-tisdk-connectivity.bb  | 6 ++++++
 .../recipes-core/systemd/systemd/10-eth.network             | 1 +
 .../recipes-core/systemd/systemd/15-eth.network             | 1 +
 .../recipes-core/systemd/systemd/60-usb.network             | 1 +
 4 files changed, 9 insertions(+)
Signature · 1 line
2.50.1
#1 lore raw

PATCH 1/2 packagegroup-arago-tisdk-connectivity: add zeroconf and avahi-autoipd

From: Vishnu Singh <[email protected]>

Add zeroconf and avahi-autoipd to the connectivity packagegroup to enable zero-configuration networking capabilities. This allows devices to automatically configure network interfaces without manual setup and supports service discovery on local networks.

Zeroconf provides automatic IP address assignment without DHCP servers, while avahi-autoipd implements IPv4 Link-Local addressing (169.254.x.x) when DHCP is unavailable.

---
 .../packagegroups/packagegroup-arago-tisdk-connectivity.bb  | 6 ++++++
 1 file changed, 6 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb +6 -0
index 0a8d4493..ab299391 100644
@@ -53,6 +53,10 @@ BT_TI = "\
     bt-enable \
     bt-fw \
 "
+ZEROCONF_TI = "\
+	zeroconf \
+	avahi-autoipd \
+"
 
 CONNECTIVITY_RDEPENDS = " \
     htop \
@@ -68,6 +72,8 @@ CONNECTIVITY_RDEPENDS = " \
 CONNECTIVITY_RDEPENDS:append:ti33x = " ${BT_TI}"
 CONNECTIVITY_RDEPENDS:append:ti43x = " ${BT_TI}"
 CONNECTIVITY_RDEPENDS:append:am57xx = " ${BT_TI}"
+CONNECTIVITY_RDEPENDS:append:am62dxx = " ${ZEROCONF_TI}"
+
 
 RDEPENDS:${PN} = "\
     ${CONNECTIVITY_RDEPENDS} \
Signature · 1 line
2.50.1
#2 lore raw

PATCH 2/2 systemd-networkd: Enable IPv4 Link-Local addressing for Ethernet interfaces

In reply to vishnu singh

From: Vishnu Singh <[email protected]>

Added LinkLocalAddressing=ipv4 to the network configuration to enable automatic IPv4 address self-configuration (169.254.x.x/16) when no DHCP server is available on the network. This configuration applies to all physical Ethernet interfaces (eth*) and USB Ethernet adapters (usb*).

This change:
- Allows devices to communicate on local networks without manual IP configuration
- Ensures addresses are assigned directly to the physical interfaces (not virtual interfaces)
- Maintains network connectivity in zero-configuration environments
- Follows the RFC 3927 standard for IPv4 Link-Local addressing
- Provides consistent behavior across all Ethernet connections, including USB adapters

The Link-Local addressing serves as a fallback mechanism, enabling basic network functionality and service discovery even in the absence of network infrastructure.

---
 meta-arago-distro/recipes-core/systemd/systemd/10-eth.network | 1 +
 meta-arago-distro/recipes-core/systemd/systemd/15-eth.network | 1 +
 meta-arago-distro/recipes-core/systemd/systemd/60-usb.network | 1 +
 3 files changed, 3 insertions(+)
meta-arago-distro/recipes-core/systemd/systemd/10-eth.network +1 -0
index b16ce4c3..aad5e194 100644
@@ -3,4 +3,5 @@ Name=eth0
 KernelCommandLine=!root=/dev/nfs
 
 [Network]
+LinkLocalAddressing=ipv4
 DHCP=yes
meta-arago-distro/recipes-core/systemd/systemd/15-eth.network +1 -0
index be47a01f..0aa8b22d 100644
@@ -6,4 +6,5 @@ KernelCommandLine=!root=/dev/nfs
 RequiredForOnline=no
 
 [Network]
+LinkLocalAddressing=ipv4
 DHCP=yes
meta-arago-distro/recipes-core/systemd/systemd/60-usb.network +1 -0
index dbba1898..73e5587c 100644
@@ -2,4 +2,5 @@
 Name=usb*
 
 [Network]
+LinkLocalAddressing=ipv4
 DHCP=yes
Signature · 1 line
2.50.1
#3 lore raw
In reply to vishnu singh

meta-arago / na / 20260123042812.10342-1-v-singh1

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [scarthgap][PATCH 2/2] systemd-networkd: Enable IPv4 Link-Local addressing for Ethernet interfaces
WARN: Commit message does not include file/recipe name: systemd-networkd: Enable IPv4 Link-Local addressing for Ethernet interfaces. (COMMIT-MESSAGE-2)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [scarthgap][PATCH 0/2] Add Zeroconf networking support for Dante DEP
- Submitter: From: vishnu singh <[email protected]>
From: Vishnu Singh <[email protected]>
- Date: Date: Fri, 23 Jan 2026 09:58:10 +0530
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 2568c9c472ff1772e3eebe978bbfc2c1685d24cd

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202601151800
- Commit SHA: 63f45c3f6fce3d67aa65cf964cc58640de0b5a27

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
scarthgap
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
scarthgap - PASS
=====================
All checks passed