I am currently working through the demo outlined in Chapter 9 of the [https://www.nxp.com/docs/en/user-guide/GENAVBTSNUG.pdf]. The goal is to set up the i.MX 8M Plus EVK as a Milan listener. My setup involves an AVB switch and a MacBook Pro equipped with an AVB adapter, acting as the Talker.
While the Hive system successfully recognizes the EVK as a media device and the output stream appears active, I am encountering a challenge with establishing a route. The Talker is configured to operate at 48KHz with a 2-channel setup. Hive reports the route could not be established. The contents of /var/log/avb_media_app.log shows this:
NXP's GenAVB ALSA reference applicationbinding params file name: /etc/genavb/milan_binding_params.nvramRead EntityID 00049f0852680000 Listener unique ID 0 Talker entity ID f5d48870de1e8000 Talker unique ID 0 Controller entity ID003093190b820082 Started 1Sent binding parameters: EntityID 00049f0852680000 Listener unique ID 0 Talker entity ID f5d48870de1e8000 Talker unique ID 0 Controller entity ID003093190b820082 Started 1wait for new stream...GENAVB_MSG_MEDIA_STACK_BIND: Controller (f5d48870de1e0000) bound listener stream (00049f0852680000, 0, STARTED) to talker stream (f5d48870de1e8000, 0)update /etc/genavb/milan_binding_params.nvram with entry: EntityID 00049f0852680000 Listener unique ID 0 Talker entity ID f5d48870de1e8000 Talker unique ID 0 Controller entity IDf5d48870de1e0000 Started 1GENAVB_MSG_MEDIA_STACK_CONNECTstream ID: 003093190b820005mode: AVDECC LISTENERConfigured AVB batch size (bytes): 480alsa(0xaaaace875870) buffer size 2040, period size 24Plug PCM: Hardware PCM card 2 'wm8960-audio' device 0 subdevice 0Its setup is:stream : PLAYBACKaccess : MMAP_INTERLEAVEDformat : S32_LEsubformat : STDchannels : 2rate : 48000exact rate : 48000 (48000/1)msbits : 32buffer_size : 2040period_size : 24period_time : 500tstamp_mode : NONEtstamp_type : MONOTONICperiod_step : 1avail_min : 24period_event : 1start_threshold : 1stop_threshold : 2040silence_threshold: 0silence_size : 0boundary : 9187343239835811840appl_ptr : 0hw_ptr : 0Starting listener loop, non-blocking modeGENAVB_MSG_MEDIA_STACK_DISCONNECTLoop function exited upon avdecc disconnect
Build is made per the EVK's User Guide: `DISTRO=nxp-real-time-edge MACHINE=imx8mp-lpddr4-evk`
I have made the following configurations:
I would greatly appreciate any guidance or recommendations you might have to resolve this routing issue and successfully complete the demo setup as described.
解決済! 解決策の投稿を見る。
The different version could be one reason for this issue.If you are using L6.1.y kernel ,you can try to use 6.1 GENAVB.
Best Regards
Zhiming
Update
I've delved deeper into the logs and implementation and would like to share these findings. Hoping to find a resolution for Milan Audio demo not working.
entity(0xffff80001cf0) listener sink (0) : event ACMP_LISTENER_SINK_SM_EVENT_RCV_PROBE_TX_RESP, state from ACMP_LISTENER_SINK_SM_STATE_PRB_W_RESP to ACMP_LISTENER_SINK_SM_STATE_SETTLED_NO_RSV avdecc(0xffff80000b70) port(0) listener declaration LISTENER_FAILED for stream_id(003093190b820005) avdecc(0xffff80000b70) port(0) Received listener status NO_TALKER for stream_id(003093190b820005)
Thank you for your continued support and assistance.
The different version could be one reason for this issue.If you are using L6.1.y kernel ,you can try to use 6.1 GENAVB.
Best Regards
Zhiming