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

Co-authored-by: Comma Device <device@comma.ai>
pull/31529/head
Adeeb Shihadeh 1 year ago committed by GitHub
parent 3f104f3fbd
commit 7a29617108
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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