aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIskander Amara <iskander.amara@theobroma-systems.com>2024-02-15 09:46:55 +0100
committerQuentin Schulz <quentin.schulz@cherry.de>2024-06-04 11:18:41 +0000
commita8d4ed1ad84d6c9c8f777e0f8d5ee475d4537d18 (patch)
tree109f499036506828d3d7b32471f932e2562cb905
parent85b373a517cf930888a090161939700113ab0b4c (diff)
mule-attiny.sh: support Jaguar v1.3HEADmaster
Jaguar V1.3 has the UPDI lanes cut by default unless ATtiny_GATE_CONTROL_d (GPIO1_B3) is pulled high. Let's toggle that GPIO before flashing so that the UPDI link initialization succeed. Relates-to: JAG-241 Signed-off-by: Iskander Amara <iskander.amara@theobroma-systems.com>
-rwxr-xr-xmule-attiny/mule-attiny.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mule-attiny/mule-attiny.sh b/mule-attiny/mule-attiny.sh
index 3e928b8..922d4d0 100755
--- a/mule-attiny/mule-attiny.sh
+++ b/mule-attiny/mule-attiny.sh
@@ -31,6 +31,8 @@ for compatible in $(tr '\000' ' ' < /proc/device-tree/compatible); do
"tsd,rk3588-jaguar")
CONNECTION_PORT="/dev/ttyS7"
MODEL=$compatible
+ # ATtiny_GATE_CONTROL_d GPIO1_B3
+ UPDI_ENABLE=43
;;
"tsd,rk3588-tiger")
CONNECTION_PORT="/dev/ttyS4"