Hi June Lu,
I am still unable to have the flexbuild complete cleanly. I am on Ubuntu 20.04 LTS.
Here are the commands:
$ flex-builder -i clean-firmware
$ flex-builder -c atf -m lx2160ardb_rev2 -b xspi
It bails out with:
make[2]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
make -s -j4 fip pbl PLAT=lx2160ardb BOOT_MODE=flexspi_nor RCW=/home/ajedgar/Git/flexbuild_lsdk2108_github/build/firmware/rcw/lx2160ardb_rev2/XGGFF_PP_HHHH_RR_19_5_2/rcw_2200_750_3200_19_5_2.bin BL33=/home/ajedgar/Git/flexbuild_lsdk2108_github/build/firmware/u-boot/lx2160ardb/uboot_lx2160ardb_tfa.bin BL32=/home/ajedgar/Git/flexbuild_lsdk2108_github/components/apps/security/optee_os/out/arm-plat-ls/core/tee_lx2160ardb.bin SPD=opteed
make[2]: Entering directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
Including services/spd/opteed/opteed.mk
setting chssis
make[2]: *** No rule to make target 'plat/nxp/soc-lx2160a/LX2160A_RDB/ddr_init.c', needed by '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf/build/lx2160ardb/release/bl2/ddr_init.o'. Stop.
make[2]: *** Waiting for unfinished jobs....
Building tools/fiptool/fiptool
HOSTCC tbbr_config.c
HOSTCC fiptool.c
HOSTLD fiptool
Built fiptool successfully
make[2]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
cp: cannot stat 'build/lx2160ardb/release/bl2_flexspi_nor*.pbl': No such file or directory
atf.mk:11: recipe for target 'atf' failed
make[1]: *** [atf] Error 1
make[1]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/packages/firmware'
Makefile:19: recipe for target 'atf' failed
make: *** [atf] Error 2
make: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github'
And if I try the next step:
$ flex-builder -i mkfw -m lx2160ardb_rev2 -b xspi
It bails out with the very similar:
make[2]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
make -s -j4 fip pbl PLAT=lx2160ardb BOOT_MODE=flexspi_nor RCW=/home/ajedgar/Git/flexbuild_lsdk2108_github/build/firmware/rcw/lx2160ardb_rev2/XGGFF_PP_HHHH_RR_19_5_2/rcw_2200_750_3200_19_5_2.bin BL33=/home/ajedgar/Git/flexbuild_lsdk2108_github/build/firmware/u-boot/lx2160ardb/uboot_lx2160ardb_tfa.bin BL32=/home/ajedgar/Git/flexbuild_lsdk2108_github/components/apps/security/optee_os/out/arm-plat-ls/core/tee_lx2160ardb.bin SPD=opteed
make[2]: Entering directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
Including services/spd/opteed/opteed.mk
setting chssis
make[2]: *** No rule to make target 'plat/nxp/soc-lx2160a/LX2160A_RDB/ddr_init.c', needed by '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf/build/lx2160ardb/release/bl2/ddr_init.o'. Stop.
make[2]: *** Waiting for unfinished jobs....
Building tools/fiptool/fiptool
HOSTCC fiptool.c
HOSTCC tbbr_config.c
HOSTLD fiptool
Built fiptool successfully
make[2]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/components/firmware/atf'
cp: cannot stat 'build/lx2160ardb/release/bl2_flexspi_nor*.pbl': No such file or directory
atf.mk:11: recipe for target 'atf' failed
make[1]: *** [atf] Error 1
make[1]: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github/packages/firmware'
Makefile:19: recipe for target 'atf' failed
make: *** [atf] Error 2
make: Leaving directory '/home/ajedgar/Git/flexbuild_lsdk2108_github'
Thoughts? Suggestions?
Thanks for your help!
-Andrew