2020-12-14 06:44 PM
Hi:
I encountered a strange problem when I compiled TF source code separately to generate xxserialboot.stm32 File, but found that there are always errors? eg:
make -f $PWD/../Makefile.sdk TFA_DEVICETREE=stm32mp157c-dk2 TF_A_CONFIG=serialboot ELF_DEBUG_ENABLE='1' all
But complain about the compiler:
arm-ostl-linux-gnueabi-gcc: error: unrecognized command line option '-mstrict-align'; did you mean '-Wstrict-aliasing'?
But it's normal when I compile the trust file alone:
make -f $PWD/../Makefile.sdk TFA_DEVICETREE=stm32mp157c-dk2 TF_A_CONFIG=trusted ELF_DEBUG_ENABLE='1' all
How can I fix this problem?Could you give me some advice?
Best regards!
2021-01-25 08:59 AM
Hello, if you are on V2.0.0 please see this post with the updated Makefile.sdk (there was on issue for serial target): https://community.st.com/s/question/0D53W00000HOJdOSAX/use-v22r0-tfa-to-burn-to-stm32mp157cev1-via-stm32programmercli-usb-is-not-supported
Or you can move to V2.1.0 that has also this correction. IF you follow the README file, there shouldn't be any issue.