Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the binary images for BSP-Yocto-FSL-iMX7-PD17.1.x from PHYTEC's Artifactory.

  2. Extract the tarball to your desired working directory:

    Code Block
    tar -jxf BSP-Yocto-FSL-iMX7-PD17.1.1.xml.tar.bz2 -C <WORK_DIR>


  3. Flash the SD card image to a micro SD card:

    Code Block
    sudo dd if=fsl-image-gui-imx7d-phyboard-zeta.sdcard of=/dev/sd<SD partition> bs=1M && sync


    Note

    For more information on formatting an SD card, see the Creating a Bootable SD Card section of the Quickstart.


  4. If using the evaluation module PEB-EVAL-02, plug it into the expansion connector X16 on the carrier board.

  5. If using the LCD Display, connect the module PEB-AV-02-TC to the AV connectors X3 and X4. 
  6. Plug micro SD card into slot on underside of board.

  7. Connect UART cable to the 5x2 pin header labelled "RS-232". This header requires an adapter as well as Null modem cable. When plugged in, the adapter cable should be oriented towards the USB and ethernet interfaces.

  8. Start your favorite terminal software (such as Minicom or TeraTerm) on your host PC and configure it for 115200 baud, 8 data bits, no parity, and 1 stop bit (8n1) with no handshake

  9. Connect 5V power supply to the 2-pin phoenix connector. Looking into the connector, the pin on the left is positive and the one next to it is negative.

  10. Press the "PWR" button (this may not be necessary if the battery has completely discharged). You will now start to see console output on your terminal window. If everything was done correctly the board should boot completely into Linux, arriving at a login prompt:
    "Freescale i.MX Release Distro 4.1.15-2.0.1 imx7d-phyboard-zeta /dev/ttymxc4"

    imx7d-phyboard-zeta login:


  11. The default login account is root with an empty password.
Note
titleTroubleshooting

Not seeing output on the console?

  • Make sure to press the power button on the carrier board. Unlike some other PHYTEC boards, the phyBOARD-i.MX7 does not get powered on simply by plugging in the power supply (this may not be necessary if the battery has completely discharged)
  • Check that you have setup the terminal software correctly per step 8 .
  • Create a Bootable SD Card with the release images from the PHYTEC Artifactory, then configure the board to boot from SD/MMC (Selecting Boot Modes). After booting, you can restore your eMMC contents by following the Flashing Images to eMMC section.


Anchor
DevelopmentHostSetup
DevelopmentHostSetup
Development Host Setup

...

Note

Note that the U-Boot environment is configured to autodetect which mmc interface U-boot was booted from and boot the kernel and root file system from the same device. More information below.

Basic Settings

After application of power, approximately three seconds are allotted for the user to hit any key which will halt autoboot and enter U-Boot:

...

The SD card image "fsl-image-gui-imx7d-phyboard-zeta.sdcard" can be flashed to eMMC. This image will need to be copied to the boot partition of a properly formatted SD card as described in the Create a Bootable SD Card section of the Quickstart. 

...

  1. Configure the boot switch to boot from SD Card as described in  Selecting Boot Modes . Power on the board and boot fully into Linux.
  2. Flash fsl-image-gui-imx7d-phyboard-zeta.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)

    Code Block
    umount /run/media/mmcblk2p*
    dd if=/run/media/mmcblk0p3/fsl-image-gui-imx7d-phyboard-zeta.sdcard of=/dev/mmcblk2 bs=1MB; sync


...

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

  2. Flash fsl-image-gui-imx7d-phyboard-zeta.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-imx7d-phyboard-zeta.sdcard
    reading fsl-image-gui-imx7d-phyboard-zeta.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


...