#!/bin/bash # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation. All rights reserved. set -e SUPPORTED_PLATFORMS=(byt cht bdw hsw apl icl skl kbl cnl imx8 imx8x imx8m) READY_MSG="6c 00 00 00 00 00 00 70" SOF_DIR=$(cd "$(dirname "$0")" && cd .. && pwd) : "${SOF_BUILDS:=${SOF_DIR}}" rm -f dump-*.txt die() { >&2 printf '%s ERROR: ' "$0" # We want die() to be usable exactly like printf # shellcheck disable=SC2059 >&2 printf "$@" exit 1 } print_usage() { cat <