[PATCH] mediatek: add symlink for MT8188 SCP dual core firmware

Moudy Ho <[email protected]>
Newsgroups org.kernel.lore.linux-firmware,org.infradead.lists.linux-mediatek
Message-ID <[email protected]>
The MT8188 device tree (DTS) is configured for dual core SCP, and the
driver by default attempts to load "scp_c0.img" as the core 0 firmware.
Without this symlink, the firmware fails to load and the following error
is observed:

  [   79.494105] remoteproc remoteproc0: powering up scp
  [   79.496217] remoteproc remoteproc0: Booting fw image mediatek/mt8188/scp.img, size 636548
  [   79.497298] platform 10500000.scp: IPI buf addr 0x000ffb40
  [   79.498013] platform 10500000.scp: IPI buffer does not fit in SRAM.

This patch adds a symlink "scp_c0.img" pointing to "scp.img" under
meditek/mt8188/ to ensure proper firmware loading for dual core SCP.

Signed-off-by: Moudy Ho <[email protected]>
---
 mediatek/mt8188/scp_c0.img | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 mediatek/mt8188/scp_c0.img

diff --git a/mediatek/mt8188/scp_c0.img b/mediatek/mt8188/scp_c0.img
new file mode 120000
index 00000000..8d1dcd4d
--- /dev/null
+++ b/mediatek/mt8188/scp_c0.img
@@ -0,0 +1 @@
+scp.img
\ No newline at end of file
-- 
2.45.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.