Binaries showing Exec format error when trying to run

Hello team,

I have built my own carrier board with Lx2160a solidrun ComE module. I am using the delvelop-ls-5.15.72-2.2.0 branch to build the linux using Docker on a VM.

uname -a
Linux sync008 6.8.0-78-generic #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug xx xx:xx:xx UTC x x86_64 x86_64 x86_64 GNU/Linux

I am able to boot but I see Exec format error when trying to run some basic utilities like apt-get or even apt from /usr/bin.

Even some libraries (not all) has the same issue when i checked with file command

root@localhost:/lib/aarch64-linux-gnu# file libsystemd.so.0.32.0
libsystemd.so.0.32.0: data

I am using VM on windows computer for the build process (cross compiling).

What could cause such issue?

Resolved: I was using instructions here https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494288/HoneyComb+LX2+ClearFog+CX+LX2+Quick+Start+Guide to get the custom binary working
load mmc 0:1 0xa4000000 ubuntu-core.img
mmc dev 0
mmc write 0xa4000000 0 0xd2000

Updating the 0xd2000 to correct number of sectors taken up by the rootfs fixed the issue.