Hi!
When I run this command from latest flexbuild_lsdk2004.tgz:
flex-builder -i mkboot -m ls1012afrwy -a arm64
After a while I get following error:
getopt: option requires an argument -- 'f'
This error is caused by trivial typo in flex-builder script - passing "$CONFIGLIS" instead of "$CONFIGLIST".
Applying one-line patch (also attached), fixes this bug. --- flexbuild_lsdk2004/tools/flex-builder.orig 2020-05-22 06:32:33.288300556 +0000 +++ flexbuild_lsdk2004/tools/flex-builder 2020-05-22 06:32:46.052274393 +0000 @@ -557,7 +557,7 @@ # install distro boot script fbprint_n "Installing distro boot script ..." - [ -f $distro_bootscript ] || flex-builder -i mkdistroscr -p $SOCFAMILY -f $CONFIGLIS + [ -f $distro_bootscript ] || flex-builder -i mkdistroscr -p $SOCFAMILY -f $CONFIGLIST if [ $DESTARCH = arm64 -a $SOCFAMILY = LS ]; then socseries=l; scrmask="-v -E ls1021atwr" elif [ $DESTARCH = arm32 -a $SOCFAMILY = LS ]; then
1631b235bfa8e929f8b58129475bd86e *flexbuild_lsdk2004.tgz
Best regards
--Henryk Paluch
Please execute the following command.
$ flex-builder -i mkboot -a arm64