Skip to contentSkip to conversation

pull request: linux-firmware: add symlink for MT8188 SCP core 0

PATCH In review Moudy Ho 3 participants 5 messages Jan 13 Arm MediaTek

lore
Share & tools
lore

Moudy Ho

author
#0 lore raw

The following changes since commit 486ac8f9adb4d77b951b55179985c6b3c20b6957:

Merge branch 'robot/pr-0-1768198342' into 'main' (2026-01-12 07:14:40 +0000)

are available in the Git repository at:

https://github.com/MoudyHo/linux_fw_scp v27748.01

for you to fetch changes up to 1cdd079780792a4df3b36a78844112412c044983:

mediatek: add symlink for MT8188 SCP dual core firmware (2026-01-13 09:50:06 +0800)

----------------------------------------------------------------
Moudy Ho (1):
mediatek: add symlink for MT8188 SCP dual core firmware

 mediatek/mt8188/scp_c0.img | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 mediatek/mt8188/scp_c0.img
author
#1 lore raw

PATCH 1/1 mediatek: add symlink for MT8188 SCP dual core firmware

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.

---
 mediatek/mt8188/scp_c0.img | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 mediatek/mt8188/scp_c0.img
mediatek/mt8188/scp_c0.img new file +1 -0
new file mode 120000
index 00000000..8d1dcd4d
@@ -0,0 +1 @@
+scp.img
\ No newline at end of file
Signature · 1 line
2.45.2
#2 lore raw

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

Quoted 6 lines · Moudy Ho

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:

Quoted 7 lines
  [   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.

It should be the opposite. "scp_c0.img" is the proper name used upstream, "scp.img" is the old name used in old DTBs.

So you should rename "scp.img" to "scp_c0.img", and then add a symlink "scp.img" pointing to "scp_c0.img".

Quoted 18 lines
---
 mediatek/mt8188/scp_c0.img | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 mediatek/mt8188/scp_c0.img
mediatek/mt8188/scp_c0.img new file +1 -1
new file mode 120000
index 00000000..8d1dcd4d
@@ -0,0 +1 @@
+scp.img
\ No newline at end of file
--

2.45.2

#3 lore raw

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

Quoted 12 lines · Chen-Yu Tsai
Quoted 11 lines · Moudy Ho

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.
Quoted 8 lines
Quoted 2 lines

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

It should be the opposite. "scp_c0.img" is the proper name used upstream, "scp.img" is the old name used in old DTBs.

So you should rename "scp.img" to "scp_c0.img", and then add a symlink "scp.img" pointing to "scp_c0.img".

ALso please use the Link: string inside WHENCE file instead of actually creating a symlink.

Quoted 19 lines
Quoted 19 lines
---
 mediatek/mt8188/scp_c0.img | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 mediatek/mt8188/scp_c0.img
mediatek/mt8188/scp_c0.img new file +1 -1
new file mode 120000
index 00000000..8d1dcd4d
@@ -0,0 +1 @@
+scp.img
\ No newline at end of file
--

2.45.2

Signature · 2 lines
With best wishes
Dmitry
#4 lore raw

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

Quoted 33 lines · Dmitry Baryshkov

External email : Please do not click links or open attachments until you have verified the sender or the content.

Quoted 27 lines · Chen-Yu Tsai
Quoted 16 lines · Moudy Ho

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.

Quoted 4 lines

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

It should be the opposite. "scp_c0.img" is the proper name used upstream,
"scp.img" is the old name used in old DTBs.

Quoted 8 lines
Quoted 3 lines

So you should rename "scp.img" to "scp_c0.img", and then add a symlink
"scp.img" pointing to "scp_c0.img".

ALso please use the Link: string inside WHENCE file instead of actually
creating a symlink.

Hi Chen-Yu & Dmitry,

Thanks for your suggestions! I'll make the necessary changes in the next version.

Thanks & Regards,
Moudy

Quoted 24 lines
Quoted 7 lines
Quoted 7 lines

---
 mediatek/mt8188/scp_c0.img | 1 +

 1 file changed, 1 insertion(+)

 create mode 120000 mediatek/mt8188/scp_c0.img

Quoted 13 lines
Quoted 10 lines
mediatek/mt8188/scp_c0.img new file +1 -1
new file mode 120000
index 00000000..8d1dcd4d
@@ -0,0 +1 @@
+scp.img
\ No newline at end of file
--
Quoted 3 lines

2.45.2

--
With best wishes
Dmitry