GenAVB_TSN
NXP AVB/TSN stack
File Explorer
Download Latest Version (.zip)- control.h
- init.h
- streaming.h
- api.cmake
- apis.map
- control.c
- init.c
- socket.c
- streaming.c
- control.h
- init.h
- streaming.h
- api.cmake
- control.c
- dsa.c
- fdb.c
- frame_preemption.c
- frer.c
- generic.c
- hsr.c
- init.c
- psfp.c
- qos.c
- scheduled_traffic.c
- socket.c
- stream_identification.c
- streaming.c
- timer.c
- vlan.c
- api.cmake
- clock.c
- clock.h
- config.h
- control.c
- control.h
- error.c
- init.h
- socket.c
- socket.h
- streaming.c
- streaming.h
- timer.h
- aem-audio-entities.cmake
- aem-audio-video-entities.cmake
- aem-avnu-vertification-entities.cmake
- aem-controller-entities.cmake
- aem-manager-helpers.cmake
- aem-video-entities.cmake
- aem_manager_helpers.c
- aem_manager_helpers.h
- avdecc_controller.c
- avdecc_controller.h
- avdecc_local_controller.c
- avdecc_local_controller.h
- avnu_certification.c
- avnu_certification.h
- listener_audio_single.c
- listener_audio_single.h
- listener_audio_single_milan.c
- listener_audio_single_milan.h
- listener_talker_audio_redundant_milan.c
- listener_talker_audio_redundant_milan.h
- listener_talker_audio_single.c
- listener_talker_audio_single.h
- listener_talker_audio_single_milan.c
- listener_talker_audio_single_milan.h
- listener_video_multi.c
- listener_video_multi.h
- listener_video_single.c
- listener_video_single.h
- talker_audio_single.c
- talker_audio_single.h
- talker_audio_single_milan.c
- talker_audio_single_milan.h
- talker_audio_video.c
- talker_audio_video.h
- talker_listener_audio_default.c
- talker_listener_audio_default.h
- talker_listener_audio_multi.c
- talker_listener_audio_multi.h
- talker_listener_audio_multi_aaf.c
- talker_listener_audio_multi_aaf.h
- talker_listener_audio_multi_format.c
- talker_listener_audio_multi_format.h
- talker_video_multi.c
- talker_video_multi.h
- talker_video_single.c
- talker_video_single.h
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- acmp.c
- acmp.h
- adp.c
- adp.h
- aecp.c
- aecp.h
- alsa.c
- alsa.h
- alsa2.c
- alsa2.h
- alsa_config.h
- alsa_stream.c
- alsa_stream.h
- audio_mappings.c
- audio_mappings.h
- avb_stream.c
- avb_stream.h
- avb_stream_config.h
- avdecc.c
- avdecc.h
- clock.c
- clock.h
- clock_domain.c
- clock_domain.h
- common.c
- common.h
- crf_stream.c
- crf_stream.h
- file_buffer.c
- file_buffer.h
- gst_pipeline_definitions.c
- gst_pipeline_definitions.h
- gstreamer.c
- gstreamer.h
- gstreamer.inc
- gstreamer_custom_rt_pool.c
- gstreamer_custom_rt_pool.h
- gstreamer_multisink.c
- gstreamer_multisink.h
- gstreamer_single.c
- gstreamer_single.h
- helpers.h
- log.c
- log.h
- msrp.c
- msrp.h
- open62541.inc
- stats.c
- stats.h
- stream_stats.c
- stream_stats.h
- thread.c
- thread.h
- thread_config.h
- time.c
- time.h
- timer.c
- timer.h
- ts_parser.c
- ts_parser.h
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- alsa_config.c
- avb_stream_config.c
- CMakeLists.txt
- gstreamer_stream.c
- gstreamer_stream.h
- h264_camera.c
- h264_camera.h
- main.c
- multi_frame_sync.c
- multi_frame_sync.h
- salsa_camera.c
- salsa_camera.h
- thread_config.c
- CMakeLists.txt
- main.c
- CMakeLists.txt
- gst_pipelines.c
- gst_pipelines.h
- gstreamer.c
- gstreamer.h
- gstreamer_single.c
- gstreamer_single.h
- main.c
- salsa-camera.sh
- CMakeLists.txt
- main.c
- pipeline_sm.dot
- readme.txt
- CMakeLists.txt
- main.c
- CMakeLists.txt
- common.c
- common.h
- gptp_main.c
- main.c
- srp_main.c
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- salsacam-cmd.sh
- salsacam-configs.inc
- salsacam-setup.sh
- udpcc2.c
- udpcc2.h
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- README.md
- tsn_app_model.c
- tsn_app_model.h
- tsn_app_model_design.xml
- tsn_app_ua_nodeid_header.h
- TsnApp.NodeSet2.xml
- opcua_server.c
- opcua_server.h
- CMakeLists.txt
- cyclic_task.c
- cyclic_task.h
- main.c
- network_only.c
- network_only.h
- serial_controller.c
- serial_controller.h
- thread_config.c
- tsn_task.c
- tsn_task.h
- tsn_tasks_config.c
- tsn_tasks_config.h
- tsn_timer.c
- tsn_timer.h
- CMakeLists.txt
- aem-manager-rtos.cmake
- aem_manager_rtos.c
- aem_manager_rtos.h
- avdecc.cmake
- main.c
- avdecc.cmake
- main.c
- acmp.c
- acmp.h
- acmp_ieee.c
- acmp_ieee.h
- acmp_milan.c
- acmp_milan.h
- adp.c
- adp.h
- adp_ieee.c
- adp_ieee.h
- adp_milan.c
- adp_milan.h
- aecp.c
- aecp.h
- aem.c
- aem.h
- avdecc.c
- avdecc.cmake
- avdecc.h
- avdecc_entry.h
- avdecc_ieee.c
- avdecc_ieee.h
- config.h
- entity.c
- entity.h
- avtp.cmake
- main.c
- avtp.cmake
- main.c
- 61883_iidc.c
- 61883_iidc.h
- aaf.c
- aaf.h
- acf.c
- acf.h
- avtp.c
- avtp.cmake
- avtp.h
- avtp_control.h
- avtp_entry.h
- clock_domain.c
- clock_domain.h
- clock_grid.c
- clock_grid.h
- clock_source.c
- clock_source.h
- config.h
- crf.c
- crf.h
- cvf.c
- cvf.h
- media_clock.c
- media_clock.h
- mma.h
- stream.c
- stream.h
- pi_common.c
- pi_common.h
- queue_common.c
- queue_common.h
- 61883_iidc.c
- 61883_iidc.h
- aaf.c
- aaf.h
- acmp.h
- adp.h
- aecp.h
- avdecc.c
- avdecc.h
- avtp.h
- clock.c
- clock.h
- common.cmake
- config.h
- crf.h
- cvf.h
- ether.h
- filter.c
- filter.h
- fqtss.c
- fqtss.h
- hash.c
- hash.h
- ipc.h
- list.h
- log.c
- log.h
- maap.h
- managed_objects.c
- managed_objects.h
- net.h
- net_types.h
- ptp.h
- random.c
- random.h
- srp.c
- srp.h
- stats.c
- stats.h
- timer.c
- timer.h
- types.h
- bridge.cmake
- bridge_dsa.cmake
- configs.cmake
- endpoint_avb.cmake
- endpoint_avb_tsn.cmake
- endpoint_avb_tsn_bridge.cmake
- endpoint_avb_tsn_hybrid.cmake
- endpoint_tsn.cmake
- endpoint_tsn_no_gptp.cmake
- hybrid_avb.cmake
- hybrid_tsn.cmake
- html_custom.css
- html_footer.html
- html_header.html
- HTML_PageLayout.xml
- acmp_connect.msc
- avdecc_control.dot
- CMakeLists.txt
- config.md
- control.md
- gptp.md
- mainpage_linux.md
- mainpage_rtos.md
- platform_linux.md
- stream_formats.md
- streaming.md
- gptp.cmake
- main.c
- gptp.cmake
- main.c
- bmca.c
- bmca.h
- clock_ms_fsm.c
- clock_ms_fsm.h
- clock_sl_fsm.c
- clock_sl_fsm.h
- config.h
- gptp.c
- gptp.cmake
- gptp.h
- gptp_entry.h
- gptp_managed_objects.c
- gptp_managed_objects.h
- md_fsm_802_3.c
- md_fsm_802_3.h
- port_fsm.c
- port_fsm.h
- ptp_time_ops.c
- ptp_time_ops.h
- site_fsm.c
- site_fsm.h
- target_clock_adj.c
- target_clock_adj.h
- hsr.cmake
- main.c
- hsr.c
- hsr.cmake
- hsr.h
- 61883_iidc.h
- aaf.h
- acf.h
- acmp.h
- adp.h
- aecp.h
- aem.h
- aem_entity.h
- aem_helpers.h
- avdecc.h
- avtp.h
- clock.h
- compat.h
- config.h
- control.h
- control_avdecc.h
- control_clock_domain.h
- control_gptp.h
- control_maap.h
- control_srp.h
- crf.h
- cvf.h
- dsa.h
- error.h
- ether.h
- fdb.h
- frame_preemption.h
- frer.h
- genavb.h
- helpers.h
- hsr.h
- init.h
- log.h
- media.h
- net_types.h
- port.h
- psfp.h
- ptp.h
- qos.h
- scheduled_traffic.h
- socket.h
- sr_class.h
- srp.h
- stats.h
- stream_identification.h
- streaming.h
- timer.h
- tsn.h
- types.h
- vlan.h
- config_os.h
- control.h
- init.h
- log.h
- net_types.h
- qos.h
- socket.h
- stats.h
- streaming.h
- timer.h
- types.h
- config_os.h
- control.h
- dsa.h
- fdb.h
- frame_preemption.h
- frer.h
- hsr.h
- init.h
- log.h
- net_types.h
- port.h
- psfp.h
- qos.h
- scheduled_traffic.h
- socket.h
- stats.h
- stream_identification.h
- streaming.h
- timer.h
- types.h
- vlan.h
- BSD-3-Clause
- CC0-1.0
- COPYING
- Linux-syscall-note
- apps-avnu.cfg
- apps-listener-alsa-milan.cfg
- apps-listener-alsa.cfg
- apps-listener-audio.cfg
- apps-listener-simple-acf.cfg
- apps-listener-simple.cfg
- apps-listener-talker-multi-format.cfg
- apps-listener-talker-multi.cfg
- apps-listener-video-camera.cfg
- apps-listener-video.cfg
- apps-media-listener-talker.cfg
- apps-media-master.cfg
- apps-media-redundant-listener-talker.cfg
- apps-media-slave.cfg
- apps-talker-simple-aaf.cfg
- apps-talker-simple-acf.cfg
- apps-talker-simple.cfg
- apps-talker-video.cfg
- apps-test-single-board.cfg
- apps-tsn-network-controller.cfg
- apps-tsn-network-iodevice.cfg
- config
- config_avb
- config_avb_bridge
- config_avb_hybrid
- config_common
- config_tsn
- configs.cmake
- fgptp-br.cfg
- fgptp-br.cfg-1
- fgptp.cfg
- fgptp.cfg-1
- genavb-audio-multi-aaf.cfg
- genavb-audio-multi-btb-aaf.cfg
- genavb-audio-multi-btb.cfg
- genavb-audio-multi-format.cfg
- genavb-audio-multi.cfg
- genavb-avnu.cfg
- genavb-listener-acf.cfg
- genavb-listener-btb.cfg
- genavb-listener-milan.cfg
- genavb-listener-multi-video-btb.cfg
- genavb-listener-talker-milan.cfg
- genavb-listener-video-btb.cfg
- genavb-listener-video-camera.cfg
- genavb-listener-video-h264-btb.cfg
- genavb-listener.cfg
- genavb-talker-milan.cfg
- genavb-talker-simple-acf.cfg
- genavb-talker-simple.cfg
- genavb-talker-video.cfg
- linux_bridge_system.cfg
- linux_hybrid_avb_system.cfg
- linux_imx6_endpoint_avb_system.cfg
- linux_imx6ull_endpoint_avb_system.cfg
- linux_imx8_endpoint_avb_system.cfg
- linux_imx8_endpoint_tsn_srp.cfg
- linux_imx8_endpoint_tsn_system.cfg
- srp-br.cfg
- srp.cfg
- ebpf.cmake
- ebpf.h
- genavb_xdp_main.c
- genavb-xdp.bin
- avbdrv.c
- avbdrv.h
- avtp.c
- avtp.h
- debugfs.c
- debugfs.h
- dsa.c
- dsa.h
- epit.c
- epit.h
- gpt.c
- gpt.h
- hw_timer.c
- hw_timer.h
- imx-pll.c
- imx-pll.h
- media.c
- media.h
- media_clock.c
- media_clock.h
- media_clock_drv.c
- media_clock_drv.h
- media_clock_gen_ptp.c
- media_clock_gen_ptp.h
- media_clock_rec_pll.c
- media_clock_rec_pll.h
- mrp.c
- mrp.h
- mtimer.c
- mtimer.h
- mtimer_drv.c
- mtimer_drv.h
- net_logical_port.c
- net_logical_port.h
- net_port.c
- net_port.h
- net_rx.c
- net_rx.h
- net_socket.c
- net_socket.h
- net_tx.c
- net_tx.h
- netdrv.c
- netdrv.h
- pi.c
- pi.h
- pool_dma.c
- pool_dma.h
- ptp.c
- ptp.h
- rational.c
- rational.h
- stats.c
- stats.h
- tpm.c
- tpm.h
- ipc.c
- ipc.h
- pool.c
- pool.h
- port_config.h
- queue.c
- queue.h
- ipc_module.c
- Makefile
- Makefile.modules
- assert.h
- clock.h
- config.h
- epoll.h
- fdb.h
- ipc.h
- log.h
- media.h
- media_clock.h
- net.h
- stdlib.h
- sys_types.h
- timer.h
- avb-bridge.sh
- avb.sh
- common_func.sh
- init.sh
- scripts.cmake
- tsn-app-setup.sh
- tsn.sh
- assert.c
- avb.h
- avb_main.c
- cfgfile.c
- cfgfile.h
- clock.c
- clock.h
- config.h
- epoll.c
- epoll.h
- extensions.cmake
- fdb.c
- fdb.h
- fdb_std.c
- fqtss.c
- fqtss.h
- fqtss_avb.c
- fqtss_std.c
- headers_extensions.h
- init.c
- init.h
- ipc.c
- ipc.h
- linux.cmake
- log.c
- log.h
- media.c
- media_clock.c
- net.c
- net.h
- net_avb.c
- net_ipc.c
- net_logical_port.c
- net_logical_port.h
- net_std.c
- net_std_socket_filters.c
- net_std_socket_filters.h
- net_xdp.c
- os_config.c
- os_config.h
- pool.c
- pool.h
- rtnetlink.c
- rtnetlink.h
- shmem.c
- shmem.h
- stdlib.c
- string.c
- timer.c
- timer_media.c
- timer_media.h
- tsn.h
- tsn_main.c
- vlan.c
- maap.cmake
- main.c
- maap.cmake
- main.c
- config.h
- maap.c
- maap.cmake
- maap.h
- maap_entry.h
- main.c
- management.cmake
- main.c
- management.cmake
- config.h
- mac_service.c
- mac_service.h
- management.c
- management.cmake
- management.h
- management_entry.h
- assert.h
- clock.h
- config.h
- dsa.h
- fdb.h
- fqtss.h
- frame_preemption.h
- frer.h
- ipc.h
- log.h
- media.h
- media_clock.h
- net.h
- psfp.h
- scheduled_traffic.h
- stdlib.h
- stream_identification.h
- string.h
- sys_types.h
- timer.h
- vlan.h
- aem_helpers.c
- public.cmake
- aem_helpers.c
- config.h
- helpers.c
- public.cmake
- qos.c
- sr_class.c
- config
- assert.h
- clock.h
- config.h
- ipc.h
- log.h
- media.h
- media_clock.h
- net.h
- stdlib.h
- sys_types.h
- timer.h
- assert.c
- avb_queue.c
- avb_queue.h
- avtp.c
- avtp.h
- clock.c
- clock.h
- config.h
- debug_print.c
- debug_print.h
- extensions.cmake
- fdb.c
- fqtss.c
- fqtss.h
- frame_preemption.c
- frame_preemption.h
- frer.c
- gpt.c
- gpt.h
- gpt_rec.c
- gpt_rec.h
- gptp_dev.c
- gptp_dev.h
- hr_timer.c
- hr_timer.h
- hsr.c
- hsr.h
- hw_clock.c
- hw_clock.h
- hw_timer.c
- hw_timer.h
- imx-pll.c
- imx-pll.h
- ipc.c
- ipc.h
- l2.c
- l2.h
- log.c
- media.c
- media_clock.c
- media_clock.h
- media_clock_drv.h
- media_clock_gen_ptp.c
- media_clock_gen_ptp.h
- media_clock_rec_pll.c
- media_clock_rec_pll.h
- media_queue.c
- media_queue.h
- mrp.c
- mrp.h
- msgintr.c
- msgintr.h
- mtimer.c
- mtimer.h
- net.c
- net.h
- net_allocator.c
- net_allocator.h
- net_bridge.c
- net_bridge.h
- net_logical_port.c
- net_logical_port.h
- net_mdio.c
- net_mdio.h
- net_phy.c
- net_phy.h
- net_port.c
- net_port.h
- net_port_dsa.c
- net_port_dsa.h
- net_port_enet.c
- net_port_enet.h
- net_port_enet_mdio.c
- net_port_enet_mdio.h
- net_port_enet_qos.c
- net_port_enet_qos.h
- net_port_enet_qos_mdio.c
- net_port_enet_qos_mdio.h
- net_port_enet_qos_stats.c
- net_port_enet_stats.c
- net_port_enetc_ep.c
- net_port_enetc_ep.h
- net_port_netc_1588.c
- net_port_netc_1588.h
- net_port_netc_mdio.c
- net_port_netc_mdio.h
- net_port_netc_psfp.c
- net_port_netc_psfp.h
- net_port_netc_stats.c
- net_port_netc_stream_identification.c
- net_port_netc_stream_identification.h
- net_port_netc_sw.c
- net_port_netc_sw.h
- net_port_netc_sw_drv.h
- net_port_netc_sw_dsa.c
- net_port_netc_sw_dsa.h
- net_port_netc_sw_frer.c
- net_port_netc_sw_frer.h
- net_port_stats.c
- net_port_stats.h
- net_rx.c
- net_rx.h
- net_socket.c
- net_socket.h
- net_task.c
- net_task.h
- net_tx.c
- net_tx.h
- pi.c
- pi.h
- prng_32.c
- prng_32.h
- psfp.c
- psfp.h
- ptp.c
- ptp.h
- qos.c
- rational.c
- rational.h
- rtos.cmake
- scheduled_traffic.c
- scheduled_traffic.h
- slist.h
- stats_task.c
- stats_task.h
- stdlib.c
- stream_identification.c
- string.c
- timer.c
- tpm.c
- tpm.h
- tpm_rec.c
- tpm_rec.h
- vlan.c
- main.c
- srp.cmake
- main.c
- srp.cmake
- config.h
- mmrp.c
- mmrp.h
- mrp.c
- mrp.h
- msrp.c
- msrp.h
- msrp_map.c
- msrp_map.h
- mvrp.c
- mvrp.h
- mvrp_map.c
- mvrp_map.h
- srp.c
- srp.cmake
- srp.h
- srp_entry.h
- srp_managed_objects.c
- srp_managed_objects.h
- .gitignore
- CMakeLists.linux
- CMakeLists.rtos
- CMakeLists.txt
- config_armgcc.cmake
- config_freertos_imx8mm_ca53.cmake
- config_freertos_imx8mn_ca53.cmake
- config_freertos_imx8mp_ca53.cmake
- config_freertos_imx93_ca55.cmake
- config_freertos_imx95_15x15_ca55.cmake
- config_freertos_imx95_ca55.cmake
- config_freertos_rt1052.cmake
- config_freertos_rt1176.cmake
- config_freertos_rt1187_cm33.cmake
- config_freertos_rt1187_cm7.cmake
- config_freertos_rt1189_cm33.cmake
- config_freertos_rt1189_cm7.cmake
- config_linux_common.cmake
- config_linux_imx6.cmake
- config_linux_imx6ull.cmake
- config_linux_imx8.cmake
- config_linux_ls1028.cmake
- config_zephyr_imx8mm_ca53.cmake
- config_zephyr_imx8mn_ca53.cmake
- config_zephyr_imx8mp_ca53.cmake
- config_zephyr_imx93_ca55.cmake
- config_zephyr_imx95_15x15_ca55.cmake
- config_zephyr_imx95_ca55.cmake
- environment-genavb
- extensions.cmake
- README.md
- SCR_genavb-release.txt
# Installation Guide
1. Get the code
git clone https://github.com/NXP/GenAVB_TSN
Downloads the entire project code from GitHub to your computer.
cd GenAVB_TSN
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake . -B<build directory> -DTARGET=<target name> -DCONFIG=<config name>
Type this command into your terminal and run it.
cmake . -B<build directory> -DBUILD_DOC=ON -DTARGET=<target name> -DCONFIG=<config name>
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make -C <build directory> install
Compiles the code based on the generated build configuration to produce an executable.
make -C <build directory> doc_doxygen
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
