mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-10 09:12:05 +08:00
ef5fde9be0
* add power blip test * synchronous test, and bump default governor max freq to compensate * ditch DSP for speeding up teardown * new abl * limit max freq after --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
14 lines
461 B
Bash
Executable File
14 lines
461 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# don't restart whole SoC on subsystem crash
|
|
for i in {0..7}; do
|
|
echo "related" | sudo tee /sys/bus/msm_subsys/devices/subsys${i}/restart_level
|
|
done
|
|
|
|
# raise scaling_max so policy=performance can reach the BOOST top step
|
|
echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
|
|
echo 2649600 | sudo tee /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
|
|
|
|
# boot wifi
|
|
echo 1 | sudo tee /sys/kernel/boot_wlan/boot_wlan
|