Difference between revisions of "iMX6 Rex Basic Creating Bootable microSD Card"

From Voipac Wiki
Jump to navigation Jump to search
Line 17: Line 17:
  
 
=== Using USBWriter feature ===
 
=== Using USBWriter feature ===
 +
Some images need to be unpacked first. GZ files can be opened using Total Commander or by installing [https://www.winzip.com/win/en/tar-gz-file.html TAR-GZ file extension].
 +
<br /><br />
 
Open USBWriter. Browse source file (appropriate fsl-image). Select target device:<br />
 
Open USBWriter. Browse source file (appropriate fsl-image). Select target device:<br />
 
[[image:iMX6_Rex_Development_kit-USBWriter-Target_select.jpg|400px]]
 
[[image:iMX6_Rex_Development_kit-USBWriter-Target_select.jpg|400px]]
Line 37: Line 39:
 
=== Extracting binary files ===
 
=== Extracting binary files ===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo dd if=fsl-image-gui-imx6-rexbasic-2.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
+
gunzip -c fsl-image-gui-imx6-rexbasic-2.4.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
 
</syntaxhighlight>
 
</syntaxhighlight>
 
or
 
or
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
gunzip -c fsl-image-gui-imx6-rexbasic-2.4.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K
+
sudo dd if=fsl-image-gui-imx6-rexbasic-2.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 07:54, 27 March 2021

On this page the recommended procedure for creating a micro SD card contained with the required firmware and software is shown here. Following example shows steps used for iMX6 Rex Basic Module.

Recommended HW:

  • PC with microSD port (or an external SD reader)
  • microSD card

Recommended SW:

Windows

Using USBWriter feature

Some images need to be unpacked first. GZ files can be opened using Total Commander or by installing TAR-GZ file extension.

Open USBWriter. Browse source file (appropriate fsl-image). Select target device:
400px

Click on Write button and confirm the procedure:
400px

400px

Bootable microSD Card is now created and prepared for use:
400px

Linux

Downloading image

mkdir -pv ~/workdir/imx6/rootfs/yocto
cd ~/workdir/imx6/rootfs/yocto
wget http://downloads.voipac.com/files/iMX6_Rex_Development_kit/module/software/yocto/binaries/fsl-image-gui-imx6-rexbasic-2.4.sdcard.gz

Extracting binary files

gunzip -c fsl-image-gui-imx6-rexbasic-2.4.sdcard.gz | sudo dd of=/dev/mmcblk0 conv=sync bs=64K

or

sudo dd if=fsl-image-gui-imx6-rexbasic-2.1.sdcard of=/dev/mmcblk0 conv=sync bs=64K