Title: Can't load firmware on UP Xtreme with 5.12 kernel · Issue #385 · thesofproject/sof-docs · GitHub
Open Graph Title: Can't load firmware on UP Xtreme with 5.12 kernel · Issue #385 · thesofproject/sof-docs
X Title: Can't load firmware on UP Xtreme with 5.12 kernel · Issue #385 · thesofproject/sof-docs
Description: Transferred from sof-bin to sof-docs Board: Up Xtreme board (WHL01), BIOS version 1.9 (UPW1AM19). I have been using 5.10-rc7 kernel with 1.6.1 sof firmware and this has been working just fine. But when I change to 5.12.0-rc8 kernel from ...
Open Graph Description: Transferred from sof-bin to sof-docs Board: Up Xtreme board (WHL01), BIOS version 1.9 (UPW1AM19). I have been using 5.10-rc7 kernel with 1.6.1 sof firmware and this has been working just fine. But ...
X Description: Transferred from sof-bin to sof-docs Board: Up Xtreme board (WHL01), BIOS version 1.9 (UPW1AM19). I have been using 5.10-rc7 kernel with 1.6.1 sof firmware and this has been working just fine. But ...
Opengraph URL: https://github.com/thesofproject/sof-docs/issues/385
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't load firmware on UP Xtreme with 5.12 kernel","articleBody":"_Transferred from `sof-bin` to `sof-docs`_\r\n\r\nBoard: Up Xtreme board (WHL01), BIOS version 1.9 (UPW1AM19).\r\n\r\nI have been using 5.10-rc7 kernel with 1.6.1 sof firmware and this has been working just fine.\r\nBut when I change to 5.12.0-rc8 kernel from torvalds/master the SOF firmware fails to load (see dmesg output at end of this ticket). I tried replacing the sof firmware with 1.7 from this repo, but get exactly the same problem.\r\n\r\nI've tracked this to a kernel patch that went in between 5.10 and 5.12 that breaks firmware loading on Up Xtreme. If I revert commit https://github.com/thesofproject/linux/commit/bd8036eb1526, the firmware loads ok:\r\n\r\n```\r\nAuthor: Pierre-Louis Bossart \u003cpierre-louis.bossart@linux.intel.com>\r\nDate: Mon Feb 8 17:18:53 2021 -0600\r\n\r\n ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk\r\n \r\n The UpExtreme board supports the community key and was missed in\r\n previous contributions. Add it to make sure the open firmware is\r\n picked by default without needing a symlink on the target.\r\n \r\n Fixes: 46207ca24545 ('ASoC: SOF: pci: change the default firmware path when the community key is used')\r\n Signed-off-by: Pierre-Louis Bossart \u003cpierre-louis.bossart@linux.intel.com>\r\n Reviewed-by: Bard Liao \u003cbard.liao@intel.com>\r\n Reviewed-by: Ranjani Sridharan \u003cranjani.sridharan@linux.intel.com>\r\n Link: https://lore.kernel.org/r/20210208231853.58761-1-pierre-louis.bossart@linux.intel.com\r\n Signed-off-by: Mark Brown \u003cbroonie@kernel.org>\r\n\r\ndiff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c\r\nindex 215711ac7450..9adf50b20a73 100644\r\n--- a/sound/soc/sof/sof-pci-dev.c\r\n+++ b/sound/soc/sof/sof-pci-dev.c\r\n@@ -65,6 +65,13 @@ static const struct dmi_system_id community_key_platforms[] = {\r\n DMI_MATCH(DMI_BOARD_NAME, \"UP-APL01\"),\r\n }\r\n },\r\n+ {\r\n+ .ident = \"Up Extreme\",\r\n+ .matches = {\r\n+ DMI_MATCH(DMI_SYS_VENDOR, \"AAEON\"),\r\n+ DMI_MATCH(DMI_BOARD_NAME, \"UP-WHL01\"),\r\n+ }\r\n```\r\n\r\nMy sof firmware install has a /lib/firmware/intel/sof/community/ that matches the one from the v1.7 branch of this sof-bin github repository.\r\n\r\nError see if I do NOT revert the above patch:\r\n\r\n```\r\n[ 2.608023] sof-audio-pci-intel-cnl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver\r\n[ 2.608036] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)\r\n[ 2.608195] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100\r\n[ 2.610378] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode\r\n\u003cSNIP>\r\n[ 2.615092] sof-audio-pci-intel-cnl 0000:00:1f.3: No SoundWire machine driver found\r\n[ 2.615094] sof-audio-pci-intel-cnl 0000:00:1f.3: warning: No matching ASoC machine driver found\r\n[ 2.615095] sof-audio-pci-intel-cnl 0000:00:1f.3: Using nocodec machine driver\r\n[ 2.628716] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 1:7:0-47d07\r\n[ 2.628719] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel ABI 3:18:0\r\n[ 2.628725] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30\r\n\u003cSNIP>\r\n[ 5.696645] sof-audio-pci-intel-cnl 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read\r\n[ 5.696675] sof-audio-pci-intel-cnl 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000\r\n[ 5.696716] sof-audio-pci-intel-cnl 0000:00:1f.3: error: extended rom status: 0x80000012 0x2c 0x0 0x0 0x0 0x0 0x1811102 0x0 \r\n[ 5.696732] sof-audio-pci-intel-cnl 0000:00:1f.3: error: load fw failed ret: -110\r\n[ 5.696765] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to reset DSP\r\n[ 5.696771] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to boot DSP firmware -110\r\n[ 5.747966] sof-audio-pci-intel-cnl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read \r\n[ 5.747981] sof-audio-pci-intel-cnl 0000:00:1f.3: error: dsp core reset failed: core_mask 1\r\n[ 5.748162] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to probe DSP hardware!\r\n[ 5.748497] sof-audio-pci-intel-cnl: probe of 0000:00:1f.3 failed with error -110\r\n```","author":{"url":"https://github.com/rfvirgil","@type":"Person","name":"rfvirgil"},"datePublished":"2021-04-26T12:01:11Z","url":"https://github.com/thesofproject/sof-docs/issues/385"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6ae5e0d-9119-e7e4-8c13-f73fe4a75fde |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF74:6AC2A:2478CF:3354E9:6AFC5E57 |
| html-safe-nonce | 2076d11d0f3835ea6fa36e50ac24e32ef9aa3c16ac57c1fe17f37f1f0cdfb835 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjc0OjZBQzJBOjI0NzhDRjozMzU0RTk6NkFGQzVFNTciLCJ2aXNpdG9yX2lkIjoiNjk5OTY4Njk0Nzc0MDA4MTc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76ff9c10b58da5791fb2457bff6699377cb925655b0306d4b2755acecba9021c |
| hovercard-subject-tag | issue:1058790571 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/thesofproject/sof-docs/385/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e55efd0f0196dfe75cc94dd18116f25ba0a24d219037010cb1bd8718f457c07/thesofproject/sof-docs/issues/385 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e55efd0f0196dfe75cc94dd18116f25ba0a24d219037010cb1bd8718f457c07/thesofproject/sof-docs/issues/385 |
| og:image:alt | Transferred from sof-bin to sof-docs Board: Up Xtreme board (WHL01), BIOS version 1.9 (UPW1AM19). I have been using 5.10-rc7 kernel with 1.6.1 sof firmware and this has been working just fine. But ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rfvirgil |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f3b2b289515382e47edd25c65b136bf38bf579bf087f67ba6bcdcef5db540ad |
| turbo-cache-control | no-preview |
| go-import | github.com/thesofproject/sof-docs git https://github.com/thesofproject/sof-docs.git |
| octolytics-dimension-user_id | 39773507 |
| octolytics-dimension-user_login | thesofproject |
| octolytics-dimension-repository_id | 135632972 |
| octolytics-dimension-repository_nwo | thesofproject/sof-docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135632972 |
| octolytics-dimension-repository_network_root_nwo | thesofproject/sof-docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0012cfe4370eb5aa24887f80677be13de4df94d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width