mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-21 16:23:53 +08:00
simple power draw
This commit is contained in:
@@ -10,7 +10,7 @@ RESET_TRIGGER="/data/__system_reset__"
|
||||
|
||||
# blip power to ~10W to see if the PSU is stable
|
||||
if grep -q mici /sys/firmware/devicetree/base/model; then
|
||||
sudo timeout --kill-after=2 5 /home/comma/power_burn_max
|
||||
sudo timeout --kill-after=2 5 /home/comma/power_burn_max 0.3 8
|
||||
fi
|
||||
|
||||
# use max freq to boot up quickly, then limit
|
||||
|
||||
Reference in New Issue
Block a user