Read-only-rootfs image using yocto for Apalis IMX6Q

Hi,

I am trying to build a read-only-rootfs for Apalis IMX6Q using yocto.

So I started with the meta-readonly-rootfs-overlay layer added it to the yocto build.

And followed the instructions in the Readme.

When I tried the image the kernel boots up but gets stuck at init. I traced the error to the initscript line number 179 . Where it has to move the current mounted filesystems to the new read-write filesystem.

I am unable to debug it further.

I think my approach might be wrong. Please can you help me point to good reads that can help me get a good approach to solve this problem

What exact hardware (module and carrier board) and Software versions of things are you talking about?