Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-sof-logger: fix the DSP boot check #1095

Merged
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
12 changes: 5 additions & 7 deletions test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,11 @@ reload_drivers()
# The DSP may unfortunately need multiple retries to boot, see
# https://github.com/thesofproject/sof/issues/3395
dlogi "Polling ${CARD_NODE}, waiting for DSP boot..."
for i in $(seq 1 5); do
if sudo test -e ${CARD_NODE} ; then
dlogi "Found ${CARD_NODE}."
break;
fi
sleep 1
done
if poll_wait_for 1 "$MAX_WAIT_FW_LOADING" sudo test -e ${CARD_NODE} ; then
dlogi "Found ${CARD_NODE}."
else
die "DSP did not boot (node ${CARD_NODE})"
fi
}

main()
Expand Down
Loading