I am currently working on building the root filesystem (RFS) for the NXP board NPE010 by following the commands mentioned in the BSP User Guide. I have executed the following steps:
1. Navigated to the 'gvlinux/toolchain/gnlsdk' directory.
2. Sourced the 'setup.env' file to set up the NXP SDK environment.
3. Executed the command 'flex-builder -c linux -m npe010' as specified, which was completed successfully.
4. Next, I attempted to build the full root filesystem by executing the command 'flex-builder -i mkrfs -r ubuntu:devel -m npe010', and it completed without any errors, confirming the successful installation of the base system.
However, when I proceeded to pack the root filesystem using the command 'flex-builder -i packrfs', an error occurred with the following message:
"INSTRUCTION: packrfs
*/gnlsdk/build/rfs/rootfs_lsdk2004_ubuntu_main_arm64 is incomplete."
I am unsure about the cause of this error and would appreciate your assistance in resolving it.
You need to execute the following command to to pack the root filesystem.
flex-builder -i packrfs -r ubuntu:devel -m npe010
I tried as you mentioned and got the following error response. Do you have any idea how to resolve this?
INSTRUCTION: packrfs
DISTRO TYPE: ubuntu
DISTRO SCALE: devel
MACHINE: npe010
*/gnlsdk/build/rfs/rootfs_lsdk2004_ubuntu_devel_arm64 is incomplete
Please remove "/gnlsdk/build/rfs/rootfs_lsdk2004_ubuntu_devel_arm64" with "sudo rm -rf /gnlsdk/build/rfs/rootfs_lsdk2004_ubuntu_devel_arm64"
and execute the following command again.
$ flex-builder -i mkrfs -r ubuntu:devel -m npe010