tici: ensure DSP permissions are setup on boot (#31530)

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7a2961710849a69e096a827936b571489bebe997
This commit is contained in:
Adeeb Shihadeh
2024-02-21 11:48:17 -08:00
committed by GitHub
parent bc9ad2ab13
commit 66e8923dd7
+5
View File
@@ -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"