Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rootfs/scripts/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,12 @@ fi
echo '[CHROOT] Installing manifest packages (if any)...'
/install_manifest_pkgs.sh || true

echo '[CHROOT] Installing udev rule to autostart remoteproc DSPs on attach...'
cat <<'REMOTEPROC_RULES' > /etc/udev/rules.d/99-remoteproc-autostart.rules
# Match on the stable sysfs 'name'; the remoteprocN index varies by probe order.
ACTION==\"add\", SUBSYSTEM==\"remoteproc\", ATTR{name}==\"adsp|cdsp|cdsp1|gpdsp0|gpdsp1\", ATTR{state}==\"offline\", ATTR{state}=\"start\"
REMOTEPROC_RULES

Comment thread
GuanquanTian marked this conversation as resolved.
# ==============================================================================
# Run update-grub after ALL installs (firmware, kernel via dpkg or apt, manifest,
# local-debs). This ensures GRUB sees whichever kernel was installed last,
Expand Down
Loading