flex-builder LS1046ARDB in ARM32

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flex-builder LS1046ARDB in ARM32

701 Views
srak
Contributor III

Does flex-builder support arm32 built for LS1046ARDB? 

flex-builder -c atf -b qspi -m ls1046ardb -a arm32

arm64 build is successful. But I get the following error for arm32.

I am using ubuntu 20.04 (WSL)

Building tools/fiptool/fiptool
HOSTCC fiptool.c
HOSTCC tbbr_config.c
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mstrict-align’; did you mean ‘-Wstrict-aliasing’?
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mstrict-align’; did you mean ‘-Wstrict-aliasing’?
make[2]: *** [Makefile:1089: /home/test/flexbuild_lsdk2108/components/firmware/atf/build/ls1046ardb/release/bl2/ddr_init.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:1089: /home/test/flexbuild_lsdk2108/components/firmware/atf/build/ls1046ardb/release/bl2/platform.o] Error 1
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mstrict-align’; did you mean ‘-Wstrict-aliasing’?
make[2]: *** [Makefile:1089: /home/test/flexbuild_lsdk2108/components/firmware/atf/build/ls1046ardb/release/bl2/qspi.o] Error 1
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mstrict-align’; did you mean ‘-Wstrict-aliasing’?
make[2]: *** [Makefile:1089: /home/test/flexbuild_lsdk2108/components/firmware/atf/build/ls1046ardb/release/bl2/i2c.o] Error 1
HOSTLD fiptool

I tried to remove -mstrict-align from Makefiles but it resulted in other errors. It seems that build environment settings are not correctly set for arm32.

 

0 Kudos
Reply
0 Replies