Skip to content

Commit

Permalink
tici: ensure DSP permissions are setup on boot (commaai#31530)
Browse files Browse the repository at this point in the history
Co-authored-by: Comma Device <[email protected]>
  • Loading branch information
adeebshihadeh and Comma Device authored Feb 21, 2024
1 parent 3f104f3 commit 7a29617
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions launch_chffrplus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7a29617

Please sign in to comment.