public inbox for op-tee@lists.trustedfirmware.org
 help / color / mirror / Atom feed
* build breakage with SCMI
@ 2025-12-15 19:02 Dan Carpenter
  2025-12-16 10:53 ` Jerome Forissier
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2025-12-15 19:02 UTC (permalink / raw)
  To: Valentin Caron; +Cc: op-tee, Valentin Caron, Jerome Forissier

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build breakage with SCMI
  2025-12-15 19:02 build breakage with SCMI Dan Carpenter
@ 2025-12-16 10:53 ` Jerome Forissier
  2025-12-16 14:54   ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Jerome Forissier @ 2025-12-16 10:53 UTC (permalink / raw)
  To: Dan Carpenter, Valentin Caron; +Cc: op-tee

Hi Dan,

On 12/15/25 20:02, Dan Carpenter wrote:
> 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,
-- 
Jerome

> 
> regards,
> dan carpenter
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build breakage with SCMI
  2025-12-16 10:53 ` Jerome Forissier
@ 2025-12-16 14:54   ` Dan Carpenter
  2025-12-17 12:23     ` Jérôme Forissier via OP-TEE
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2025-12-16 14:54 UTC (permalink / raw)
  To: Jerome Forissier; +Cc: Valentin Caron, op-tee

On Tue, Dec 16, 2025 at 11:53:13AM +0100, Jerome Forissier wrote:
> Hi Dan,
> 
> On 12/15/25 20:02, Dan Carpenter wrote:
> > 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
> 

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build breakage with SCMI
  2025-12-16 14:54   ` Dan Carpenter
@ 2025-12-17 12:23     ` Jérôme Forissier via OP-TEE
  0 siblings, 0 replies; 4+ messages in thread
From: Jérôme Forissier via OP-TEE @ 2025-12-17 12:23 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: Jerome Forissier, Valentin Caron, op-tee

On Tue, Dec 16, 2025 at 3:54 PM Dan Carpenter <dan.carpenter@linaro.org>
wrote:

> On Tue, Dec 16, 2025 at 11:53:13AM +0100, Jerome Forissier wrote:
> > Hi Dan,
> >
> > On 12/15/25 20:02, Dan Carpenter wrote:
> > > 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
> >
>
> 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" />
>
>
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,
-- 
Jerome

regards,
> dan carpenter
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-17 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 19:02 build breakage with SCMI Dan Carpenter
2025-12-16 10:53 ` Jerome Forissier
2025-12-16 14:54   ` Dan Carpenter
2025-12-17 12:23     ` Jérôme Forissier via OP-TEE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox