Clone and restore i.MX 6DualLite mmc on board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clone and restore i.MX 6DualLite mmc on board

2,296 Views
Pete_104636
Contributor I

Hi ,

we have NXP i.MX 6DualLite products running on linux, and we have quite a lot of dependencies installed on top of the linux running python to complete an embedded system. The question now is that installing those dependencies is a hit or miss with lots of trial and error, and we have quite a lot of devices that need to be provided to our end customer. Therefore we are thinking of the option to clone the linux system of other unconfigured devices with one "golden" device that has all libraries installed correctly. Is there a way to put the i.MX 6DualLite into a peripheral mode to clone and restore the whole mmc resided on the board ? 

In addition, how would one be able to change the bootup sequence so that we can use a usbdrive loaded with clonezilla ?

 

thanks

Pete

0 Kudos
Reply
7 Replies

2,267 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the document as below:

"https://hub.mender.io/t/how-to-install-packages-in-yocto-project/1004"

0 Kudos
Reply

2,251 Views
Pete_104636
Contributor I

Hi Joan, I assume you are implying that clone cannot be done, but only install packages customized can be prepared for our purpose ? thanks

0 Kudos
Reply

2,103 Views
joanxie
NXP TechSupport
NXP TechSupport

according to your previous questions, I though you need install your own packages based on yocto, but you don't want to customized yocto because of too many dependencies, so I send the link about how to install the packages in yocto, if you just want to mount your own rootfile system, you can use uuu tools, which is very useful tools to download images to the board, more detailed information you can refer to the enclosed file

0 Kudos
Reply

2,091 Views
Pete_104636
Contributor I

no worries and thanks for the info

0 Kudos
Reply

2,208 Views
smithcoba
Contributor III

 

You can check the following document page 5. 

How to upgrade Linux Kernel and dtb on eMMC witho... - NXP Community

ums in uboot can let your board become a sdcard reader.

 

Another way  is to boot and mount rootfs on  sdcard or usb stick if you have sdcard slot or usb on your board, then use dd command to dump the mmc as mirror file. 

 

Re: boot partition in SD card and rootfs in the US... - NXP Community

 

 

 

0 Kudos
Reply

2,188 Views
Pete_104636
Contributor I

thanks Smithcoba for providing a lot of useful information.

0 Kudos
Reply

2,171 Views
smithcoba
Contributor III

I forgot one thing.

If your board has ethernet design on board, you can use mount nfs rootfs, then dump the mmc/emmc as a mirror files. 

If your board has usb port on board, you can use usb disk as rootfs.Or use usb ethernet gargde and use nfs rootfs.But this way is too compliated, I personally not recommand. 

0 Kudos
Reply