AnsweredAssumed Answered

LSDK1906 build error---gzip: ramdisk_rootfs_arm64.ext4.gz: unexpected end of file

Question asked by Xiaofan Lee on Oct 18, 2019
Latest reply on Oct 21, 2019 by Johannes Renkl

I use flexbuild_lsdk1906_update_290719.tgz , my host machine is CentOS7, so I unpack this pkgs, and then use

flex-builder docker 

this create a docker image for fbubuntu18.04, and then enter it, then I 

source setup.env

flex-builder -m ls1043ardb -a arm64

evetythins is ok, but at the last occur errors , please help me!!

... 

cd plat/nxp/tools; make clean ; cd -;
make[3]: Entering directory '/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/packages/firmware/atf/plat/nxp/tools'
make[3]: Leaving directory '/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/packages/firmware/atf/plat/nxp/tools'
/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/packages/firmware/atf
make[2]: Leaving directory '/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/packages/firmware/atf'
-rw-r--r--. 1 root root 44756 Oct 18 08:05 /home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/build/firmware/atf/ls1043ardb/bl2_nor.pbl
-rw-r--r--. 1 root root 1095353 Oct 18 08:05 /home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/build/firmware/atf/ls1043ardb/fip_uefi.bin
Build ATF for ls1043ardb norboot in /home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/build/firmware/atf/ls1043ardb [Done]
make[1]: Leaving directory '/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/packages/firmware'
make: Leaving directory '/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906'
Generating norboot composite firmware image for ls1043ardb ...
/home/lee/zData/Projects/lsdk-1906/flexbuild_lsdk1906/build/images/lsdk_linux_arm64_LS_tiny.itb not exist, generating it ...
INSTRUCTION: mklinux
DESTARCH: arm64
PORTFOLIO: LS
CONFIGLIST: build_lsdk.cfg

gzip: ramdisk_rootfs_arm64.ext4.gz: unexpected end of file

Outcomes