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

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7a29617108
chrysler-long2
Adeeb Shihadeh 1 year ago committed by GitHub
parent bc9ad2ab13
commit 66e8923dd7
  1. 5
      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"

Loading…
Cancel
Save