How to copy full image from one Apalis-imx6 SOM to another

I am trying to make copies of the image I currently have on one Apalis IMX6 module on which I have modified the rootfs (added libraries, headers, bash scripts, etc.) Is there any way I can copy that image off the module (like a linux “dd” command of sorts) to copy to other modules?

Thanks!

Although we generally advise against doing this as it is less maintainable & manageable than controlling the image configuration using a OpenEmbedded/Yocto Project build system. You can either dd the eMMC by booting from external media or by using U-boot’s USB mass storage support to dd the rootfs from a host Linux machine.

See also this related question.

If you have any interest in the OpenEmbedded/Yocto Project approach, I recommend viewing our webinars on the topic: