+ tf-m@
 
Dear Nicola,
 
Thank you for your reply.
I tried it using absolute paths;
 
-------------------------------------------------
cmake -S /home/suzaki-lab/trusted-firmware-0314/tf-m-tests/tests_reg/spe -B /home/suzaki-lab/trusted-firmware-0314/tf-m-tests/tests_reg/spe/build_rpi_single -DTFM_PLATFORM=rpi/rp2350 -DTFM_TOOLCHAIN_FILE=/home/suzaki-lab/trusted-firmware-0314/trusted-firmware-m/toolchain_GNUARM.cmake -DCONFIG_TFM_SOURCE_PATH=/home/suzaki-lab/trusted-firmware-0314/trusted-firmware-m -DTFM_PROFILE=profile_medium -DPLATFORM_DEFAULT_PROVISIONING=OFF -DTEST_S=ON -DTEST_NS=ON
-----------------------------------------------
 
and
 
--------------------------------------------------
cmake --build /home/suzaki-lab/trusted-firmware-0314/tf-m-tests/tests_reg/spe/build_rpi_single -- install
-----------------------------------------------
 
However, another error happens as follows;
 
------------------------------------------------
In file included from /home/suzaki-lab/pico-sdk/src/rp2350/hardware_structs/include/hardware/structs/timer.h:15,
                 from /home/suzaki-lab/pico-sdk/src/rp2_common/hardware_timer/include/hardware/timer.h:11,
                 from /home/suzaki-lab/pico-sdk/src/common/pico_time/include/pico/time.h:11,
                 from /home/suzaki-lab/pico-sdk/src/common/pico_sync/include/pico/lock_core.h:11,
                 from /home/suzaki-lab/pico-sdk/src/common/pico_sync/include/pico/sem.h:10,
                 from /home/suzaki-lab/pico-sdk/src/common/pico_sync/include/pico/sync.h:15,
                 from /home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/include/pico/multicore.h:11,
                 from /home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/multicore.c:7:
/home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/multicore.c: In function 'multicore_reset_core1':
/home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/multicore.c:103:31: error: called object is not a function or function pointer
  103 |     io_rw_32 *power_off_set = hw_set_alias(power_off);
      |                               ^~~~~~~~~~~~
/home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/multicore.c:104:31: error: called object is not a function or function pointer
  104 |     io_rw_32 *power_off_clr = hw_clear_alias(power_off);
      |                               ^~~~~~~~~~~~~~
gmake[5]: *** [platform/CMakeFiles/platform_s.dir/build.make:816: platform/CMakeFiles/platform_s.dir/home/suzaki-lab/pico-sdk/src/rp2_common/pico_multicore/multicore.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:4195: platform/CMakeFiles/platform_s.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2
gmake[2]: *** [CMakeFiles/TF-M.dir/build.make:89: temp/src/TF-M-stamp/TF-M-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/TF-M.dir/all] Error 2
gmake: *** [Makefile:124: all] Error 2
------------------------------------------------
 
I suspect that the error comes from pico-sdk, so it is not related to tf-m.
Do you have any idea to solve the problem?
 
regards,
Kato
 
 
----------------
To: tf-m@lists.trustedfirmware.org (tf-m@lists.trustedfirmware.org), no name (hajime.tanaka@yandex.com);
Subject: [TF-M] Re: Build Error for Regression Tests for RP2350;
14.03.2025, 23:02, "Nicola Mazzucato via TF-M" <tf-m@lists.trustedfirmware.org>:
Hi Kato,
 
Can you please try with absolute paths for CONFIG_TFM_SOURCE_PATH, TFM_TOOLCHAIN_FILE etc?
 
Thanks
Best regards,
Nicola
 
 

From: no name via TF-M <tf-m@lists.trustedfirmware.org>
Sent: 14 March 2025 12:48
To: tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] Build Error for Regression Tests for RP2350
 
Hi all,
 
I have tried building regression tests for RP2350 following the trusted firmware document below.
 
 
------------------------------------------------
 
cd trusted-firmware-m
 
cmake -S ../tf-m-tests/tests_reg/spe \
-B ../tf-m-tests/tests_reg/spe/build_rpi_single \
-DTFM_PLATFORM=rpi/rp2350 \
-DTFM_TOOLCHAIN_FILE=./toolchain_GNUARM.cmake \
-DCONFIG_TFM_SOURCE_PATH=. \
-DTFM_PROFILE=profile_medium \
-DPLATFORM_DEFAULT_PROVISIONING=OFF \
-DTEST_S=ON \
-DTEST_NS=ON
-------------------------------------------------
 
the command above was successfully done, however,
 
-----------------------------------------------------
cmake --build ../tf-m-tests/tests_reg/spe/build_rpi_single -- -j8 install
-------------------------------------------------------
the coomand above fails.
it says;
-----------------------------------------------------
gmake[3]: *** No targets specified and no makefile found.  Stop.
gmake[2]: *** [CMakeFiles/TF-M.dir/build.make:89: temp/src/TF-M-stamp/TF-M-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/TF-M.dir/all] Error 2
gmake: *** [Makefile:124: all] Error 2
--------------------------------------------------------
 
Does anyone face the same error?
 
regards,
 
Kato
,--
TF-M mailing list -- tf-m@lists.trustedfirmware.org
To unsubscribe send an email to tf-m-leave@lists.trustedfirmware.org