From 66e8923dd79ff26b299501fca6099997aaef00f6 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 21 Feb 2024 11:48:17 -0800 Subject: [PATCH] tici: ensure DSP permissions are setup on boot (#31530) Co-authored-by: Comma Device old-commit-hash: 7a2961710849a69e096a827936b571489bebe997 --- launch_chffrplus.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 9271c15436..a7f61411c8 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -15,6 +15,11 @@ function agnos_init { # set success flag for current boot slot sudo abctl --set_success + # TODO: do this without udev in AGNOS + # udev does this, but sometimes we startup faster + sudo chgrp gpu /dev/adsprpc-smd /dev/ion /dev/kgsl-3d0 + sudo chmod 660 /dev/adsprpc-smd /dev/ion /dev/kgsl-3d0 + # Check if AGNOS update is required if [ $(< /VERSION) != "$AGNOS_VERSION" ]; then AGNOS_PY="$DIR/system/hardware/tici/agnos.py"