Skip to contentSkip to conversation

build breakage with SCMI

DISCUSSION Dan Carpenter 3 participants 4 messages Dec 15, 2025 – Dec 17, 2025

lore
Share & tools
lore
#0 lore raw

When I try building with make run WITH_SCMI=y then the build fails:

core/lib/scmi-server/scmi_server.c: In function ‘scmi_server_initialize’:
core/lib/scmi-server/scmi_server.c:83:22: error: implicit declaration of function ‘scmi_configure’ [-Wimplicit-function-declaration]

   83 |                 rc = scmi_configure(cfg);
      |                      ^~~~~~~~~~~~~~

This was introduced in commit ce6ea4112008 ("scmi-server: configure SCP-firmware from DT"). A grep for scmi_configure() turns up empty. Was part of the commit missing?

regards,
dan carpenter

#1 lore raw

Hi Dan,

Quoted 10 lines · Dan Carpenter

When I try building with make run WITH_SCMI=y then the build fails:

core/lib/scmi-server/scmi_server.c: In function ‘scmi_server_initialize’:
core/lib/scmi-server/scmi_server.c:83:22: error: implicit declaration of function ‘scmi_configure’ [-Wimplicit-function-declaration]

   83 |                 rc = scmi_configure(cfg);
      |                      ^~~~~~~~~~~~~~

This was introduced in commit ce6ea4112008 ("scmi-server: configure SCP-firmware from DT"). A grep for scmi_configure() turns up empty. Was part of the commit missing?

I suspect your SCP-firmware source tree is too old. Please see:
https://github.com/OP-TEE/optee_os/blob/master/.github/workflows/ci.yml#L226

Thanks,

Signature · 1 line
Jerome
Quoted 4 lines

regards,
dan carpenter

#2 lore raw
Quoted 10 lines · Jerome Forissier

Hi Dan,

Quoted 7 lines · Dan Carpenter

When I try building with make run WITH_SCMI=y then the build fails:

core/lib/scmi-server/scmi_server.c: In function ‘scmi_server_initialize’:
core/lib/scmi-server/scmi_server.c:83:22: error: implicit declaration of function ‘scmi_configure’ [-Wimplicit-function-declaration]

   83 |                 rc = scmi_configure(cfg);
      |                      ^~~~~~~~~~~~~~
Quoted 7 lines
Quoted 3 lines

This was introduced in commit ce6ea4112008 ("scmi-server: configure SCP-firmware from DT"). A grep for scmi_configure() turns up empty. Was part of the commit missing?

I suspect your SCP-firmware source tree is too old. Please see:
https://github.com/OP-TEE/optee_os/blob/master/.github/workflows/ci.yml#L226

Huh. Thanks. That fixes the build. I had used this command:

repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml

https://github.com/OP-TEE/manifest/blob/master/qemu_v8.xml

That manifest file checks out revision="refs/tags/v2.16.0" which doesn't build. Actually, all the manifest files which reference SCP are too old:

qemu_v8.xml:        <project path="SCP-firmware"         name="linaro-swg/SCP-firmware.git"             revision="refs/tags/v2.16.0" clone-depth="1" />
stm32mp1.xml:        <project path="scp-firmware"         name="firmware/SCP-firmware.git" revision="refs/tags/v2.15.0" remote="arm-gitlab" clone-depth="1" />
synquacer.xml:        <project path="SCP-firmware"         name="ARM-software/SCP-firmware.git"         revision="56d4f515bcf1bc1b843abe343e9cf9dc44898ca2" />

regards,
dan carpenter

#3 lore raw
Quoted 31 lines · Dan Carpenter
Quoted 6 lines · Jerome Forissier

Hi Dan,

Quoted 3 lines · Dan Carpenter

When I try building with make run WITH_SCMI=y then the build fails:

core/lib/scmi-server/scmi_server.c: In function

‘scmi_server_initialize’:

Quoted 1 line
Quoted 1 line

core/lib/scmi-server/scmi_server.c:83:22: error: implicit declaration

of function ‘scmi_configure’ [-Wimplicit-function-declaration]

Quoted 9 lines
Quoted 6 lines
   83 |                 rc = scmi_configure(cfg);
      |                      ^~~~~~~~~~~~~~

This was introduced in commit ce6ea4112008 ("scmi-server: configure SCP-firmware from DT"). A grep for scmi_configure() turns up empty. Was part of the commit missing?

I suspect your SCP-firmware source tree is too old. Please see:

https://github.com/OP-TEE/optee_os/blob/master/.github/workflows/ci.yml#L226

Quoted 1 line

Huh. Thanks. That fixes the build. I had used this command:

repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml

https://github.com/OP-TEE/manifest/blob/master/qemu_v8.xml

That manifest file checks out revision="refs/tags/v2.16.0" which doesn't build. Actually, all the manifest files which reference SCP are too old:

Quoted 11 lines

qemu_v8.xml: <project path="SCP-firmware"
name="linaro-swg/SCP-firmware.git" revision="refs/tags/v2.16.0" clone-depth="1" />
stm32mp1.xml: <project path="scp-firmware"
name="firmware/SCP-firmware.git" revision="refs/tags/v2.15.0"
remote="arm-gitlab" clone-depth="1" />
synquacer.xml: <project path="SCP-firmware"
name="ARM-software/SCP-firmware.git" revision="56d4f515bcf1bc1b843abe343e9cf9dc44898ca2" />

The latest release tag I can see on GitLab is v2.16.0, do you know if there is going to be a release soon? In this case we could wait before updating the manifests. Otherwise, using a SHA-1 is fine.
Would you mind creating a pull request?

Thanks,

Signature · 3 lines
Jerome

regards,
Quoted 3 lines

dan carpenter