Rootfs location in lx2160a_build

I’d like to add some startup options for systemd to my build using the solidrun supplied kernel repository, lx2160a_build. Could you please tell me how to add files to merge into rootfs at build time? I can’t seem to locate rootfs but I’m probably looking in the wrong place.

Look at the runme.sh script in lx2160a_build. If you go down to the part that starts “Assembling kernel and rootfs image” you will see where e2cp, e2mkdir, and e2ln are used to mkdir directories, copy files and create links in the base Ubuntu image, during the boot process.

Thanks, I’ll check it out.

My next step is to nfs mount the entire filesystem from u-boot on my workstation. Have you done that at SolidRun? Is it possible to build the rootfs on the development system with your build tools?

I am working on a Yocto meta-layer for the lx2160a. That is much easier way for you to build a custom filesystem.

Perfect. Setting up a Yocto build is on my list of things to do. Please let me know if you need a beta tester.