There is one mini system that you can use to make one bootable TF card.

https://chipsee-tmp.s3.amazonaws.com/mksdcardfiles/IMX6Q/Tools/prebuilt-imx6qdl-bootfile-update-20220323.tar.gz

 

Use the following commands to make a bootable TF card.

#./mksdcard.sh –device /dev/sde –cpu 6Q –display 1024768 //or other 1024600 1280800. Then, please proceed to check your display resolution. 

Change the boot mode to SD ( 1 0 0 0) on PCB, then boot this mini system. You can use it to compress the rootfs in eMMC.

 

Once you are in the mini system, run the following command:

# mkdir /mnt/rootfs

# mount /dev/mmcblk3p2 /mnt/rootfs // mmcblk3p2 is the second partition of your eMMC

# cd /mnt/rootfs/

# tar jcvf rootfs.tar.bz2 * //or tar zcvf rootfs.tar.gz *, you need check your rootfs format in prebuilt-xxx/emmc-flash/

# sync

 

Once you get the rootfs.tar.bz2/rootfs.tar.gz, copy it to a USB storage or TF card.

# mkdir /mnt/tf

# mount /dev/mmcblk1p2 /mnt/tf

# cp /mnt/rootfs/rootfs.tar.bz2 /mnt/tf // or cp /mnt/rootfs/rootfs.tar.gz /mnt/tf

# sync

 

Use this rootfs.tar.bz2/rootfs.tar.gz to replace the default one in prebuilt-xxx/emmc-flash/emmc/ (The prebuilt-xxx is our released system package.)

Use the new prebuilt-xxx to make one bootable SD card and use the SD card to flash other boards.