SDK: LayerScape version LSDK-17.09
When invoking flex-builder with:
flex-builder -i mkfw -b sd -B uboot -m ls1021atwr
it fails with the following message:
dd: failed to open 'build/firmware/qe-ucode/fsl_qe_ucode_1021_10_A.bin': No such file or directory
This file is specified in file: manifest/ls1021atwr.manifest.
Quick scan through scripts in tools/ folder shows that there is no mechanism to transfer mentioned file into the path.
Also, Makefile located in packages/firmware folder creates invalid link to file flexbuild/packages/firmware/qe-ucode which does not exists.
Workaround: manually copy the file there.
Ok, this was my mistake. Once I moved the root folder location the links in buoild/images got invalidated. The Makefile otherwise creates valid links.