diff --git a/SCR_genavb-release.txt b/SCR_genavb-release.txt index f3db264..88e942c 100644 --- a/SCR_genavb-release.txt +++ b/SCR_genavb-release.txt @@ -1,7 +1,7 @@ NXP Software Content Register Release Name: genavb-sdk -Version: GenAVB/TSN 5_7_0 +Version: GenAVB/TSN 5_7_1 Date Created: July-2023 Release Location: https://github.com/NXP/GenAVB_TSN Description: GenAVB/TSN protocol stack for NXP MPUs and MCUs processors diff --git a/linux/scripts/avb.sh b/linux/scripts/avb.sh index 9a43fcf..4bb1fcf 100755 --- a/linux/scripts/avb.sh +++ b/linux/scripts/avb.sh @@ -624,6 +624,20 @@ set_cpu_power_management() } +disable_dynamic_freq_scaling() +{ + case "$MACHINE" in + 'imx93evk') + # Disable DDR scaling + echo "0" > /sys/devices/platform/imx93-lpm/auto_clk_gating + echo "Disable DDR frequency scaling" + ;; + *) + return + ;; + esac +} + setup() { # Set userspace governor with the desired CPU frequency @@ -640,6 +654,9 @@ setup() # Disable CPU idle deep state transitions exceeding 10us set_cpu_power_management 0 + # Disable dynamic frequency scaling for better real time performance + disable_dynamic_freq_scaling + if [ $FORCE_100M -eq 1 ]; then # Advertise 100 Mbps full-duplex ethtool -s ${ITF} advertise 0x8