Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed some links

...

  1. Configure the boot switch to boot from SD Card as described in Selecting i.MX7 Boot ModesConfigurations. Power on the board and boot into Linux.
  2. Flash fsl-image-gui-<YOCTO MACHINE>.sdcard from the SD card to eMMC. This will partition the card and copy U-Boot, zImage, dtb, and root filesystem to eMMC.

    Umount existing partitions (if any) and write the image to flash.

    Code Block
    umount /run/media/mmcblk2p*
    dd if=/run/media/mmcblk0p3/fsl-image-gui-<YOCTO MACHINE>.sdcard of=/dev/mmcblk2 bs=1MB; sync


...

  1. Configure the boot switch to boot from SD Card as described in Selecting i.MX7 Boot ModesConfigurations. Power on the board and stop in U-Boot.

  2. Flash fsl-image-gui-<YOCTO MACHINE>.sdcard from the SD card to eMMC. This will partition the card and copy U-Boot, zImage, dtb, and root filesystem to eMMC.

    Code Block
    => fatload mmc 0:3 ${loadaddr} fsl-image-gui-<YOCTO MACHINE>.sdcard
    reading fsl-image-gui-<YOCTO MACHINE>.sdcard
    935329792 bytes read in 41164 ms (21.7 MiB/s)
    
    => mmc dev 1
    switch to partitions #0, OK
    mmc1(part 0) is current device
    => mmc write ${loadaddr} 0x0 <number of blocks to write. In this case 0x1BF000>
    
    MMC write: dev # 1, block # 0, count 1830912 ... 1830912 blocks written: OK
    
    


  3. Reset the board. Stop in U-Boot again and check that the partition table for eMMC is as expected.

    Code Block
    => reset
     
    ...
     
    => mmc dev 1
    switch to partitions #0, OK
    mmc1(part 0) is current device
    => mmc part
    
    Partition Map for MMC device 1  --   Partition Type: DOS
    
    Part    Start Sector    Num Sectors     UUID            Type
      1     8192            16384           ef3963c1-01     0c
      2     24576           1794048         ef3963c1-02     83


...