...
Hide If special @anonymous Status colour Yellow title MOVED
This Quickstart provides you with the tools and know-how to install and work with the Linux Board Support Package (BSP) for the phyBOARD-Zeta. This Quickstart shows you how to do everything from installing the appropriate tools and source, to building custom kernels, to deploying the OS, to exercising the software and hardware. Additionally, gain access to the SOM and baseboard schematics for the phyBOARD-Zeta by registering at the following: http://phytec.com/support/registration/.
...
Download the binary images for BSP-Yocto-FSL-iMX7-PD17.1.x from PHYTEC's Artifactory.
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>
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.
If using the evaluation module PEB-EVAL-02, plug it into the expansion connector X16 on the carrier board.
- If using the LCD Display, connect the module PEB-AV-02-TC to the AV connectors X3 and X4.
Plug micro SD card into slot on underside of board.
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.
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
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.
- 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:
- The default login account is root with an empty password.
Note | ||
---|---|---|
| ||
Not seeing output on the console?
|
Anchor | ||||
---|---|---|---|---|
|
...
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.
...
- Configure the boot switch to boot from SD Card as described in Selecting Boot Modes . Power on the board and boot fully into Linux.
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
...
Configure the boot switch to boot from SD Card as described in Selecting Boot Modes . Power on the board and stop in U-Boot.
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
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
...