A clean full build using the latest “lx2160a_build” project fails on a clean install of Ubuntu 22.04. This is a fresh VM:
$ git clone https://github.com/SolidRun/lx2160a_build
$ cd lx2160a_build/
$ ./runme.sh
...
kernel2160cex7.its:15.11-17.6: Warning (unit_address_vs_reg): /images/kernel/hash@1: node has a unit name, but no reg or ranges property
kernel2160cex7.its:28.11-30.6: Warning (unit_address_vs_reg): /images/initrd/hash@1: node has a unit name, but no reg or ranges property
kernel2160cex7.its:40.11-42.6: Warning (unit_address_vs_reg): /images/lx2160acex7-dtb/hash@1: node has a unit name, but no reg or ranges property
mkimage: verify_header failed for FIT Image support with exit code 1
ERROR: Line 416 failed with status 1: mkimage -f kernel2160cex7.its kernel-lx2160acex7.itb
$ mkimage -V
mkimage version 2022.01+dfsg-2ubuntu2.4
$ uname -a
Linux cs-ubuntu 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
I found a post here about a similar issue from Jun-2022, but without a resolution (the thread changed to a different subject).
The issue with building the Docker environment is resolved - this was due to a known access issue when using the snap version of Docker; removing and reinstalling via “sudo apt install docker.io” worked.
However, the “lx2160a_build” project still does not build using the docker command:
I will look into and get back to you. NXP has just changed their BSP build methodology and we are working to incorporate that into our runme.sh build environment.