...
Additional available versions:
SW- Release | Git commit SHA string |
---|---|
rel_cgtqmx6_23-05-05-0 | 792b5eb4ac997da7b564501650d38aaf833c157b |
rel_cgtqmx6_24-02-29-0 | 3e1b5c8f0ab730c0e47978dd45c0d6097ddac723 |
1.2.2 Configure the build environment
...
fsl-image-machine-test: A console-only image that includes gstreamer packages, Freescale's multimedia packages (VPU and GPU) when available, and test and benchmark applications.
core-image-minimal: A small image that only allows a device to boot
imx-image-core: Image with i.MX test applications to be used for Wayland backends
imx-image-multimedia: Image with multimedia and graphics
imx-image-full: Image with multimedia and machine learning and Qt
...
Code Block |
---|
$ bzcat <image_name>.wic.bz2 | sudo dd of=/dev/sd<X> bs=1M conv=fsync && fsyncsync |
Where
<image_name> is the name of the built image, like "core-image-minimal"
<X> is the name of the SD card in your system, like "sdc" or "sdd"
...
It is also possible just to transfer the rootfs to an already paritioned partitioned (a single ext4 partition) micro-SD card. For this, the "tar.bz2" file from BSP build folder is used. Follow the next steps to copy it to the empty micro-SD card. Also change sdX to your detected device:
Code Block |
---|
$ cd ~/yocto/build*/tmp/deploy/images/cgtqmx6/ $ sudo dd if=/dev/zero of=/dev/sdX count=1000 bs=512 $ sudo sfdiskfdisk --force -uM /dev/sdX <<EOF 10,,83 EOF $ sudo mkfs.ext3 -j /dev/sdX1 $ sudo mount /dev/sdX1 /mnt $ sudo tar -xjvf fsl-image-machine-test-cgtqmx6.tar.bz2 -C /mnt $ sync $ sudo umount /dev/sdX1 |
...
It should have the size of the eMMC of your module. This device can be used like any other disk. For the following example replace sdX with your detected device.
As above format eMMC and copy rootfs to it:
Code Block language none $ sudo su $ DISK=/dev/sdX $ umount /dev/sdX $ dd if=/dev/zero of=/dev/${DISK} count=1000 bs=4k $ echo -e "o\nn\np\n1\n\n\nw\n" | fdisk /dev/${DISK} $ mkfs.ext3 -j /dev/${DISK}1 $ mount /dev/${DISK} /mnt $ cd /mnt $ tar -xjvf fsl-image-machine-test-cgtqmx6.tar.bz2 -C /mnt $ sync $ umount /mnt
...
Code Block |
---|
$ cd ~/yocto/build/tmp/deploy/images/cgtqmx6/ $ sudo dd if=/dev/zero of=/dev/sdX count=1000 bs=512 $ sudo sfdiskfdisk --force -uM /dev/sdX <<EOF 10,,83 EOF $ sudo mkfs.ext3 -j /dev/sdX1 $ sudo mount /dev/sdX1 /mnt $ sudo tar -xjvf fsl-image-machine-test-cgtqmx6.tar.bz2 -C /mnt $ sync $ sudo umount /dev/sdX1 |
...