-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sof-v2.7 for Intel Meteor Lake hardware
Add binaries for Intel Meteor Lake systems. Community binaries build identification "Build #1082 stable-v2.7" Build ID for signed binary is "12826449". Signed-off-by: Kai Vehmanen <[email protected]>
- Loading branch information
Showing
19 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+68.2 KB
v2.7.x/sof-ace-tplg-v2.7/sof-mtl-max98357a-rt5682-ssp2-ssp0-2ch-pdm1.tplg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
intel-signed/sof-mtl.ri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env python3 | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
# Copyright (c) 2022, Intel Corporation. All rights reserved. | ||
|
||
#pylint:disable=mixed-indentation | ||
|
||
# Tool to stream data from Linux SOF driver "mtrace" debugfs | ||
# interface to standard output. Plain "cat" is not sufficient | ||
# as each read() syscall returns log data with a 32bit binary | ||
# header, containing the payload length. | ||
|
||
import struct | ||
import os | ||
import sys | ||
|
||
READ_BUFFER = 16384 | ||
MTRACE_FILE = "/sys/kernel/debug/sof/mtrace/core0" | ||
|
||
fd = os.open(MTRACE_FILE, os.O_RDONLY) | ||
while fd >= 0: | ||
# direct unbuffered os.read() must be used to comply with | ||
# debugfs protocol used. each non-zero read will return | ||
# a buffer containing a 32bit header and a payload | ||
read_bytes = os.read(fd, READ_BUFFER) | ||
|
||
# handle end-of-file | ||
if len(read_bytes) == 0: | ||
continue | ||
|
||
if len(read_bytes) <= 4: | ||
continue | ||
|
||
header = struct.unpack('I', read_bytes[0:4]) | ||
data_len = header[0] | ||
data = read_bytes[4:4+data_len] | ||
|
||
os.write(sys.stdout.fileno(), data) |
Binary file not shown.
Binary file not shown.