Skip to contentSkip to conversation

Upload dsp firmware for ASUS laptop 1EB30 & 1EB31 and Update WHENCE for both

PATCH In review Shenghao Ding 4 participants 12 messages Oct 9, 2024 – Oct 11, 2024 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Upload dsp firmware for ASUS laptop 1EB30 & 1EB31 and Update WHENCE for both

---
 WHENCE                     |   4 ++++
 ti/tas2781/TAS2XXX2234.bin | Bin
 2 files changed, 4 insertions(+)
 mode change 100644 => 100755 ti/tas2781/TAS2XXX2234.bin
WHENCE +4 -0
index a9c8bb5..00096eb 100644
@@ -7487,6 +7487,8 @@ Originates from https://git.codelinaro.org/linaro/qcomlt/audioreach-topology.git
 --------------------------------------------------------------------------
 
 Driver: ti-tas2781 - tas2781 firmware
+File: ti/tas2781/TAS2XXX1EB30.bin
+File: ti/tas2781/TAS2XXX1EB31.bin
 File: ti/tas2781/TAS2XXX2234.bin
 File: ti/tas2781/TAS2XXX387D.bin
 File: ti/tas2781/TAS2XXX387E.bin
@@ -7516,6 +7518,8 @@ File: ti/tas2781/TAS2XXX38DF.bin
 File: ti/tas2781/TAS2XXX38E0.bin
 File: ti/tas2781/TIAS2781RCA2.bin
 File: ti/tas2781/TIAS2781RCA4.bin
+Link: TAS2XXX1EB30.bin -> ti/tas2781/TAS2XXX1EB30.bin
+Link: TAS2XXX1EB31.bin -> ti/tas2781/TAS2XXX1EB31.bin
 Link: TAS2XXX2234.bin -> ti/tas2781/TAS2XXX2234.bin
 Link: TAS2XXX387D.bin -> ti/tas2781/TAS2XXX387D.bin
 Link: TAS2XXX387E.bin -> ti/tas2781/TAS2XXX387E.bin
ti/tas2781/TAS2XXX2234.bin +0 -0
old mode 100644
new mode 100755
Signature · 1 line
2.34.1
#1 lore raw

ti/tas2781/TAS2XXX2234.bin

Quoted 32 lines · Shenghao Ding
---
  WHENCE                     |   4 ++++
  ti/tas2781/TAS2XXX2234.bin | Bin
  2 files changed, 4 insertions(+)

mode change 100644 => 100755 ti/tas2781/TAS2XXX2234.bin

WHENCE +4 -0
index a9c8bb5..00096eb 100644
@@ -7487,6 +7487,8 @@ Originates from https://git.codelinaro.org/linaro/qcomlt/audioreach-topology.git
  --------------------------------------------------------------------------
 
  Driver: ti-tas2781 - tas2781 firmware
+File: ti/tas2781/TAS2XXX1EB30.bin
+File: ti/tas2781/TAS2XXX1EB31.bin
  File: ti/tas2781/TAS2XXX2234.bin
  File: ti/tas2781/TAS2XXX387D.bin
  File: ti/tas2781/TAS2XXX387E.bin
@@ -7516,6 +7518,8 @@ File: ti/tas2781/TAS2XXX38DF.bin
  File: ti/tas2781/TAS2XXX38E0.bin
  File: ti/tas2781/TIAS2781RCA2.bin
  File: ti/tas2781/TIAS2781RCA4.bin
+Link: TAS2XXX1EB30.bin -> ti/tas2781/TAS2XXX1EB30.bin
+Link: TAS2XXX1EB31.bin -> ti/tas2781/TAS2XXX1EB31.bin
  Link: TAS2XXX2234.bin -> ti/tas2781/TAS2XXX2234.bin
  Link: TAS2XXX387D.bin -> ti/tas2781/TAS2XXX387D.bin
  Link: TAS2XXX387E.bin -> ti/tas2781/TAS2XXX387E.bin
ti/tas2781/TAS2XXX2234.bin +0 -0
old mode 100644
new mode 100755

Hello,

I tried to process this into a MR on Gitlab and it failed CI.

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/311

Please run 'make check' before submitting.

Thanks,

#2 lore raw

Hi Mario
Thanks for review, I met some trouble on "make check". Kindly do me a favor. The detail is inline.

Quoted 28 lines

-----Original Message-----
From: Mario Limonciello <[email protected]>
Sent: Thursday, October 10, 2024 11:06 AM
To: Ding, Shenghao <[email protected]>; [email protected]
Cc: Xu, Baojun <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Chen, Robin <[email protected]>; [email protected]; Yi, Ken <k- [email protected]>; Navada Kanyana, Mukund <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [EXTERNAL] Re: [PATCH v1] Upload dsp firmware for ASUS laptop 1EB30 & 1EB31 and Update WHENCE for both

WHENCE Originates from

Quoted 12 lines · Shenghao Ding
---
  WHENCE                     |   4 ++++
  ti/tas2781/TAS2XXX2234.bin | Bin
  2 files changed, 4 insertions(+)

mode change 100644 => 100755 ti/tas2781/TAS2XXX2234.bin

WHENCE +0 -0
index a9c8bb5..00096eb 100644
@@ -7487,6 +7487,8 @@ Originates from

Hello,

Quoted 8 lines

I tried to process this into a MR on Gitlab and it failed CI.

https://urldefense.com/v3/__https://gitlab.com/kernel-firmware/linux-
firmware/- /merge_requests/311__;!!G3vK!T_f_IGXhtmSFR7P6UYZ14805X_k8seqk3G5386 2lXRJssIwKLs1Hegcn8NKMnqC9UGSPGCZ_lYOpoDo$

Please run 'make check' before submitting.

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist". I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

Following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have shebangs.....................................Passed
Forbid new submodules....................................................Passed
Check Yaml...............................................................Passed
Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed
shellcheck...............................................................Passed
black....................................................................Passed
markdownlint.............................................................Failed
- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818
throw err;
^

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12) at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js'
]
}

Check whence.............................................................Failed
- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1* -al
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin
root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#
Quoted 2 lines

Thanks,

#3 lore raw
Quoted 2 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist". I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 29 lines

Following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have shebangs.....................................Passed
Forbid new submodules....................................................Passed
Check Yaml...............................................................Passed
Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed
shellcheck...............................................................Passed
black....................................................................Passed
markdownlint.............................................................Failed
- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12) at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

Quoted 9 lines

at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js'
]
}

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git commit'.

Quoted 9 lines

Check whence.............................................................Failed
- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

These files are missing in your commit or they have broken links. Double check them.

Quoted 7 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1* -al
(quoted diff) +0 -2
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

#4 lore raw
Quoted 53 lines · Mario Limonciello
Quoted 2 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist". I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 30 lines

Following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have shebangs.....................................Passed
Forbid new submodules....................................................Passed
Check Yaml...............................................................Passed
Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed
shellcheck...............................................................Passed
black....................................................................Passed
markdownlint.............................................................Failed
- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818
   throw err;
   ^

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/
node_modules/markdownlint-cli/markdownlint.js
     at Function.Module._resolveFilename (internal/modules/cjs/ loader.js:815:15)
     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
     at Module.require (internal/modules/cjs/loader.js:887:19)
     at require (internal/modules/cjs/helpers.js:85:18)
     at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/ node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12) at Module._compile (internal/modules/cjs/loader.js:999:30)
     at Object.Module._extensions..js (internal/modules/cjs/ loader.js:1027:10)

Quoted 9 lines

     at Module.load (internal/modules/cjs/loader.js:863:32)
     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
     at Function.executeUserEntryPoint [as runMain] (internal/modules/ run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js' ]
}

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git commit'.

Quoted 4 lines

Check whence.............................................................Failed
- hook id: check-whence
- exit code: 1

Quoted 16 lines
Quoted 5 lines

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

These files are missing in your commit or they have broken links. Double check them.

Quoted 7 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1* -al
(quoted diff) +0 -2
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've got the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

I'll merge this and if you have any follow ups you can do them on top as future MR (preferred!) or patches to M/L.

Thanks!

#5 lore raw

Hi Mario,
as I am not logged in, kindly close
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

Then, while consulting it and
https://gitlab.com/kernel-firmware/linux-firmware/-/commit/d65613ab8c480dec6d63733d3286451aa8b3795f
, modify the whence so that 1EB3 points to 1EB30.

Otherwise, your merge will not work with the current TAS driver, and we will have to do a second round of workarounds while it is the case. We have had that symlink for over 3 months now, and as Chen said, while not ideal, it will do for the time being.

You may add me as suggested-by using my lkml email signature

Antheas

Quoted 103 lines · Mario Limonciello
Quoted 76 lines · Mario Limonciello
Quoted 4 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 41 lines

Following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have
shebangs.....................................Passed
Forbid new
submodules....................................................Passed
Check
Yaml...............................................................Passed
Check for broken symlinks............................(no files to
check)Skipped
Detect Destroyed
Symlinks................................................Passed
shellcheck...............................................................Passed
black....................................................................Passed
markdownlint.............................................................Failed
- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/
loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/
node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)
at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/
loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/

Quoted 8 lines
run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/

node_modules/markdownlint-cli/markdownlint.js'
]
}

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git commit'.

Quoted 5 lines

Check whence.............................................................Failed
- hook id: check-whence
- exit code: 1

Quoted 7 lines

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

Quoted 11 lines

These files are missing in your commit or they have broken links. Double check them.

Quoted 7 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1* -al
(quoted diff) +0 -2
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've got the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

I'll merge this and if you have any follow ups you can do them on top as future MR (preferred!) or patches to M/L.

Thanks!

#6 lore raw

OK, can you please make sure I got it right?

Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin (!318) · Merge requests · kernel-firmware / Linux Firmware · GitLab
<https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/318>

Quoted 132 lines · Antheas Kapenekakis

Hi Mario,
as I am not logged in, kindly close
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

Then, while consulting it and

https://gitlab.com/kernel-firmware/linux-firmware/-/commit/d65613ab8c480dec6d63733d3286451aa8b3795f
, modify the whence so that 1EB3 points to 1EB30.

Otherwise, your merge will not work with the current TAS driver, and we will have to do a second round of workarounds while it is the case. We have had that symlink for over 3 months now, and as Chen said, while not ideal, it will do for the time being.

You may add me as suggested-by using my lkml email signature

Antheas

Quoted 14 lines · Mario Limonciello
Quoted 10 lines · Mario Limonciello
Quoted 4 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 3 lines

Following is the log.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have
shebangs.....................................Passed
Forbid new
submodules....................................................Passed
Check

Yaml...............................................................Passed

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed

shellcheck...............................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

black....................................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

markdownlint.............................................................Failed

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/
loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/

node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)

Quoted 15 lines
Quoted 15 lines
Quoted 14 lines

at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/
loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/

run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/

node_modules/markdownlint-cli/markdownlint.js'
]
}

Quoted 5 lines
Quoted 5 lines

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git

commit'.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Check

whence.............................................................Failed

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines

- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

Quoted 1 line
Quoted 1 line

These files are missing in your commit or they have broken links.

Double

Quoted 4 lines
Quoted 4 lines

check them.

Quoted 2 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1*

-al

Quoted 18 lines
Quoted 6 lines
Quoted 5 lines
(quoted diff) +0 -2
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've got the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

I'll merge this and if you have any follow ups you can do them on top as future MR (preferred!) or patches to M/L.

Thanks!

Signature · 2 lines
Mario Limonciello
[email protected]
#7 lore raw

I'd rather you use the email I'm replying to you now with than my personal one

Antheas

Quoted 150 lines · On Thu, Oct 10, 2024, 16:07 Mario Limonciello <[email protected]> wrote:

OK, can you please make sure I got it right?

Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin (!318) · Merge requests · kernel-firmware / Linux Firmware · GitLab
<https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/318>

Quoted 109 lines · Antheas Kapenekakis

Hi Mario,
as I am not logged in, kindly close
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

Then, while consulting it and

https://gitlab.com/kernel-firmware/linux-firmware/-/commit/d65613ab8c480dec6d63733d3286451aa8b3795f
, modify the whence so that 1EB3 points to 1EB30.

Otherwise, your merge will not work with the current TAS driver, and we will have to do a second round of workarounds while it is the case. We have had that symlink for over 3 months now, and as Chen said, while not ideal, it will do for the time being.

You may add me as suggested-by using my lkml email signature

Antheas

Quoted 5 lines · Mario Limonciello
Quoted 1 line · Mario Limonciello
Quoted 1 line

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in

ti/tas2781,

Quoted 9 lines
Quoted 9 lines
Quoted 3 lines

yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 3 lines

Following is the log.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have
shebangs.....................................Passed
Forbid new
submodules....................................................Passed
Check

Yaml...............................................................Passed

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed

shellcheck...............................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

black....................................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

markdownlint.............................................................Failed

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/
loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:85:18)
at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/

node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/
loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain]

(internal/modules/

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/

node_modules/markdownlint-cli/markdownlint.js'
]
}

Quoted 5 lines
Quoted 5 lines

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git

commit'.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Check

whence.............................................................Failed

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines

- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

Quoted 26 lines
Quoted 1 line
Quoted 1 line

These files are missing in your commit or they have broken links.

Double

Quoted 4 lines
Quoted 4 lines

check them.

Quoted 2 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls ti/tas2781/TAS2XXX1*

-al

Quoted 18 lines
Quoted 6 lines
Quoted 5 lines
(quoted diff) +0 -2
-rw-r--r-- 1 root root 35220 Sep 28 21:54 ti/tas2781/TAS2XXX1EB30.bin
-rw-r--r-- 1 root root 35220 Sep 28 21:55 ti/tas2781/TAS2XXX1EB31.bin

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've got the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

I'll merge this and if you have any follow ups you can do them on top as future MR (preferred!) or patches to M/L.

Thanks!

--
Mario Limonciello
[email protected]

#8 lore raw

Lgtm otherwise

Antheas

Quoted 164 lines · On Thu, Oct 10, 2024, 16:09 Antheas Kapenekakis <[email protected]> wrote:

I'd rather you use the email I'm replying to you now with than my personal one

Antheas

Quoted 156 lines · On Thu, Oct 10, 2024, 16:07 Mario Limonciello <[email protected]> wrote:

OK, can you please make sure I got it right?

Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin (!318) · Merge requests · kernel-firmware / Linux Firmware · GitLab
<https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/318>

Quoted 128 lines · Antheas Kapenekakis

Hi Mario,
as I am not logged in, kindly close
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

Then, while consulting it and

https://gitlab.com/kernel-firmware/linux-firmware/-/commit/d65613ab8c480dec6d63733d3286451aa8b3795f
, modify the whence so that 1EB3 points to 1EB30.

Otherwise, your merge will not work with the current TAS driver, and we will have to do a second round of workarounds while it is the case. We have had that symlink for over 3 months now, and as Chen said, while not ideal, it will do for the time being.

You may add me as suggested-by using my lkml email signature

Antheas

Quoted 5 lines · Mario Limonciello
Quoted 1 line · Mario Limonciello
Quoted 1 line

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in

ti/tas2781,

Quoted 9 lines
Quoted 9 lines
Quoted 3 lines

yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 3 lines

Following is the log.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have
shebangs.....................................Passed
Forbid new
submodules....................................................Passed
Check

Yaml...............................................................Passed

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed

shellcheck...............................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

black....................................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

markdownlint.............................................................Failed

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/
loader.js:815:15)
at Function.Module._load

(internal/modules/cjs/loader.js:667:27)

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:85:18) at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/

node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/
loader.js:1027:10)

     at Module.load (internal/modules/cjs/loader.js:863:32)
     at Function.Module._load

(internal/modules/cjs/loader.js:708:14)

Quoted 1 line
Quoted 1 line
Quoted 1 line

at Function.executeUserEntryPoint [as runMain]

(internal/modules/

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/

node_modules/markdownlint-cli/markdownlint.js'
]
}

Quoted 5 lines
Quoted 5 lines

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git

commit'.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Check

whence.............................................................Failed

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines

- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

Quoted 1 line
Quoted 1 line

These files are missing in your commit or they have broken links.

Double

Quoted 4 lines
Quoted 4 lines

check them.

Quoted 2 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls

ti/tas2781/TAS2XXX1* -al

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 root root 35220 Sep 28 21:54

ti/tas2781/TAS2XXX1EB30.bin

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 root root 35220 Sep 28 21:55

ti/tas2781/TAS2XXX1EB31.bin

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've

Quoted 13 lines

got

Quoted 6 lines

the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

I'll merge this and if you have any follow ups you can do them on top

as

Quoted 4 lines

future MR (preferred!) or patches to M/L.

Thanks!

--
Mario Limonciello
[email protected]

#9 lore raw

OK thanks. I'll fix and get it merged.

Quoted 172 lines · Antheas Kapenekakis

Lgtm otherwise

Antheas

Quoted 166 lines · On Thu, Oct 10, 2024, 16:09 Antheas Kapenekakis <[email protected]> wrote:

I'd rather you use the email I'm replying to you now with than my personal one

Antheas

Quoted 158 lines · On Thu, Oct 10, 2024, 16:07 Mario Limonciello <[email protected]> wrote:

OK, can you please make sure I got it right?

Add a link from TAS2XXX1EB3.bin -> ti/tas2781/TAS2XXX1EB30.bin (!318) · Merge requests · kernel-firmware / Linux Firmware · GitLab
<https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/318>

Quoted 130 lines · Antheas Kapenekakis

Hi Mario,
as I am not logged in, kindly close
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/272

Then, while consulting it and

https://gitlab.com/kernel-firmware/linux-firmware/-/commit/d65613ab8c480dec6d63733d3286451aa8b3795f
, modify the whence so that 1EB3 points to 1EB30.

Otherwise, your merge will not work with the current TAS driver, and we will have to do a second round of workarounds while it is the case. We have had that symlink for over 3 months now, and as Chen said, while not ideal, it will do for the time being.

You may add me as suggested-by using my lkml email signature

Antheas

Quoted 5 lines · Mario Limonciello
Quoted 1 line · Mario Limonciello
Quoted 1 line

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in

ti/tas2781,

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
Check that executables have
shebangs.....................................Passed
Forbid new

submodules....................................................Passed

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Check

Yaml...............................................................Passed

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Check for broken symlinks............................(no files to check)Skipped
Detect Destroyed Symlinks................................................Passed

shellcheck...............................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

black....................................................................Passed

Quoted 1 line
Quoted 1 line
Quoted 1 line

markdownlint.............................................................Failed

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

- hook id: markdownlint
- exit code: 1

internal/modules/cjs/loader.js:818

   throw err;
   ^
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Error: Cannot find module 'node:fs'
Require stack:
- /root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/ node_modules/markdownlint-cli/markdownlint.js
at Function.Module._resolveFilename (internal/modules/cjs/
loader.js:815:15)
at Function.Module._load

(internal/modules/cjs/loader.js:667:27)

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:85:18) at Object.<anonymous> (/root/.cache/pre-commit/repoxl59c0uz/

node_env-system/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/
loader.js:1027:10)

     at Module.load (internal/modules/cjs/loader.js:863:32)
     at Function.Module._load

(internal/modules/cjs/loader.js:708:14)

Quoted 1 line
Quoted 1 line
Quoted 1 line

at Function.executeUserEntryPoint [as runMain]

(internal/modules/

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
run_main.js:60:12) {
   code: 'MODULE_NOT_FOUND',
   requireStack: [
     '/root/.cache/pre-commit/repoxl59c0uz/node_env-system/lib/

node_modules/markdownlint-cli/markdownlint.js'
]
}

Quoted 5 lines
Quoted 5 lines

This looks like you're missing some dependencie on you system for markdownlint. You need nodejs v18.

If you can't install this you can skip this check when you commit by adding "SKIP=markdownlint" to your environment while running 'git

commit'.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Check

whence.............................................................Failed

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines

- hook id: check-whence
- exit code: 1

E: ti/tas2781/TAS2XXX1EB30.bin listed in WHENCE does not exist
E: ti/tas2781/TAS2XXX1EB31.bin listed in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB30.bin of link TAS2XXX1EB30.bin in WHENCE does not exist
E: target ti/tas2781/TAS2XXX1EB31.bin of link TAS2XXX1EB31.bin in WHENCE does not exist

Quoted 1 line
Quoted 1 line

These files are missing in your commit or they have broken links.

Double

Quoted 4 lines
Quoted 4 lines

check them.

Quoted 2 lines

make: *** [Makefile:10: check] Error 1

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# ls

ti/tas2781/TAS2XXX1* -al

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 root root 35220 Sep 28 21:54

ti/tas2781/TAS2XXX1EB30.bin

Quoted 1 line
Quoted 1 line
Quoted 1 line

-rw-r--r-- 1 root root 35220 Sep 28 21:55

ti/tas2781/TAS2XXX1EB31.bin

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 2 lines

Thanks,

You know - as you've been having problems with git and at least I've

got

Quoted 13 lines
Quoted 4 lines

the intent and your S-o-b for the firmware I've taken your MR and rebased/squashed it for you here:

https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/317

Quoted 2 lines

I'll merge this and if you have any follow ups you can do them on top

as

Quoted 4 lines

future MR (preferred!) or patches to M/L.

Thanks!

--
Mario Limonciello
[email protected]

Signature · 2 lines
Mario Limonciello
[email protected]
#10 lore raw
In reply to Mario Limonciello

Hi Mario
Thanks for your support. Finally "make check" works, following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
 Check that executables have shebangs.....................................Passed
 Forbid new submodules....................................................Passed
 Check Yaml...............................................................Passed
 Check for broken symlinks............................(no files to check)Skipped
 Detect Destroyed Symlinks................................................Passed
 shellcheck...............................................................Passed
 black....................................................................Passed
 markdownlint............................................................Skipped
 Check whence.............................................................Passed
 root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#
Quoted 9 lines · Mario Limonciello
Quoted 8 lines
Quoted 4 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 1 line

................................

Quoted 2 lines

I'll merge this and if you have any follow ups you can do them on top as future MR (preferred!) or patches to M/L.

It seemed that I was not used to submitting patch via gitlab. So, finally I have to submit the patch to the git.kernel.com I'll try submitting next firmware binary file via Gitlab. Thanks.

Quoted 2 lines

Thanks!

#11 lore raw

Hi Shenghao,

Mario merged your patch manually yesterday so you don't need to do anything. Thanks for helping

Seems my phone does not have a text only mode so lore will complain again. Oh well

Quoted 46 lines · Shenghao

Hi Mario
Thanks for your support. Finally "make check" works, following is the log.

root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new# make check
 Check that executables have
shebangs.....................................Passed
 Forbid new
submodules....................................................Passed
 Check
Yaml...............................................................Passed
 Check for broken symlinks............................(no files to
check)Skipped
 Detect Destroyed
Symlinks................................................Passed

shellcheck...............................................................Passed

black....................................................................Passed

markdownlint............................................................Skipped Check
whence.............................................................Passed
root@LAPTOP-70RJ5B8Q:/usr/local/src/fw_new#

Quoted 9 lines · Mario Limonciello
Quoted 8 lines
Quoted 4 lines

Although TAS2XXX1EB30.bin and TAS2XXX1EB31.bin are both in ti/tas2781, yet it reported "does not exist".
I have no idea why the file is there while report "does not exist". After I removed the newly-merged, no such report.

I think you forgot to git add them to the commit?

Quoted 1 line

................................

Quoted 1 line

I'll merge this and if you have any follow ups you can do them on top as

future

Quoted 1 line

MR (preferred!) or patches to M/L.

It seemed that I was not used to submitting patch via gitlab. So, finally I have to submit the patch to the git.kernel.com I'll try submitting next firmware binary file via Gitlab. Thanks.

Quoted 2 lines

Thanks!