Skip to content

Commit

Permalink
GenAVB/TSN SDK release 5.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreHoward committed Jul 21, 2023
1 parent 6aa2f51 commit 67ff7a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SCR_genavb-release.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions linux/scripts/avb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 67ff7a0

Please sign in to comment.