没有合适的资源?快使用搜索试试~ 我知道了~
i.MX_Linux_User's_Guide.pdf
需积分: 10 28 下载量 79 浏览量
2018-03-07
08:35:11
上传
评论
收藏 523KB PDF 举报
温馨提示
试读
45页
imx6-yotco-src/fsl-yocto-L4.1.15_2.1.0-ga/i.MX_Linux_User's_Guide.pdf
资源推荐
资源详情
资源评论
1 About This Book
This document describes how to build and install the i.MX
Linux
®
OS BSP, where BSP stands for Board Support
Package, on the i.MX platform. It also covers special i.MX
features and how to use them.
This document provides the steps to run the i.MX platform,
including board DIP switch settings, and instructions on
configuring and using the U-Boot bootloader.
The later chapters describe how to use some i.MX special
features when running the Linux OS kernel.
Features covered in this guide may be specific to particular
boards or SOCs. For the capabilities of a particular board or
SOC, see the i.MX Linux
®
Release Notes (IMXLXRN).
1.1
Audience
This document is intended for software, hardware, and system
engineers who are planning to use the product, and for anyone
who wants to understand more about the product.
1.2
Conventions
This document uses the following conventions:
NXP Semiconductors
Document Number: IMXLUG
User's Guide
Rev. L4.1.15_2.1.0-ga, 05/2017
i.MX Linux® User's Guide
Contents
1 About This Book............................. ....................... 1
2 Introduction.............................................................3
3 Basic Terminal Setup.............................................. 3
4 Booting Linux OS......................... ..........................4
5 Enabling Solo Emulation...................................... 27
6 Power Management...............................................27
7 Multimedia............................ ............................... 29
8 Graphics.................................................................40
9 Connectivity........................... .............................. 43
10 Revision History................................................... 43
• Courier New font: This font is used to identify commands, explicit command parameters, code examples,
expressions, data types, and directives.
1.3 Supported hardware SoCs and boards
These are the systems covered in this guide:
• i.MX 6Quad SABRE-SD Board and Platform
• i.MX 6DualLite SABRE-SD Platform
• i.MX 6Quad SABRE-AI Platform
• i.MX 6DualLite SABRE-AI Platform
• i.MX 6SoloLite EVK
• i.MX 6SLL EVK
• i.MX 6SoloX SABRE-SD Platform
• i.MX 6SoloX SABRE-AI Platform
• i.MX 7Dual SABRE-SD platform
• i.MX 6QuadPlus SABRE-AI platform
• i.MX 6QuadPlus SABRE-SD platform
• i.MX 6UltraLite EVK platform
• i.MX 6ULL EVK platform
Some abbreviations are used in places in this document.
• SABRE-SD refers to the i.MX 6Quad SABRE-SD, i.MX 6DualLite SABRE-SD, i.MX 6QuadPlus SABRE-SD, and
i.MX 7Dual SABRE-SD boards.
• SABRE-AI refers to the i.MX 6Quad SABRE-AI, i.MX 6DualLite SABRE-AI, and i.MX 6QuadPlus SABRE-AI
boards.
• SoloLite refers to the i.MX 6SoloLite board.
• 6SLL refers to the i.MX 6SLL board.
• SoloX or SX refers to the i.MX 6SoloX SABRE-SD and SABRE-AI boards.
• UL refers to the i.MX 6UltraLite board
• ULL refers to the i.MX 6ULL board
1.4
References
This release includes the following references and additional information.
•
i.MX Linux
®
Release Notes (IMXLXRN) - Provides the release information.
•
i.MX Linux
®
User's Guide (IMXLUG) - Contains the information on installing U-Boot and Linux OS and using i.MX-
specific features.
•
i.MX Yocto Project User's Guide (IMXLXYOCTOUG) - Contains the instructions for setting up and building Linux
OS in the Yocto Project.
•
i.MX Linux
®
Reference Manual (IMXLXRM) - Contains the information on Linux drivers for i.MX.
•
i.MX 6 Graphics User's Guide (IMX6GRAPHICUG) - Describes the graphics used.
•
i.MX BSP Porting Guide (IMXXBSPPG) - Contains the instructions on porting the BSP to a new board.
•
i.MX VPU Application Programming Interface Linux
®
Reference Manual (IMXVPUAPI) - Provides the reference
information on the VPU API.
The quick start guides contain basic information on the board and setting it up. They are on the NXP website.
• SABRE Platform Quick Start Guide (IMX6QSDPQSG)
• SABRE Board Quick Start Guide (IMX6QSDBQSG)
• i.MX 6UltraLite EVK Quick Start Guide (IMX6ULTRALITEQSG)
About This Book
i.MX Linux® User's Guide, Rev. L4.1.15_2.1.0-ga, 05/2017
2 NXP Semiconductors
• i.MX 6ULL EVK Quick Start Guide (IMX6ULLQSG)
• SABRE Automotive Infotainment Quick Start Guide (IMX6SABREINFOQSG)
• i.MX 6SoloLite Evaluation Kit Quick Start Guide (IMX6SLEVKQSG)
Documentation is available online at nxp.com.
• i.MX 6 information is at nxp.com/iMX6series
• i.MX SABRE information is at nxp.com/imxSABRE
• i.MX 6SoloLite EVK information is at nxp.com/6SLEVK
• i.MX 6SLL EVK information is at nxp.com/6SLLEVK
• i.MX 6UltraLite information is at nxp.com/iMX6UL
• i.MX 6ULL information is at nxp.com/iMX6ULL
• i.MX 7Dual information is at nxp.com/iMX7D
2
Introduction
The i.MX Linux BSP is a collection of binary files, source code, and support files that can be used to create a U-Boot
bootloader, a Linux kernel image, and a root file system for i.MX development systems. The Yocto Project is the framework
of choice to build the images described in this document, although other methods can be used.
All the information on how to set up the Linux OS host, how to run and configure a Yocto Project, generate an image, and
generate a rootfs, are covered in the i.MX Yocto Project User's Guide (IMXLXYOCTOUG).
When Linux OS is running, this guide provides information on how to use some special features that i.MX SoCs provide.
The release notes provide the features that are supported on a particular board.
3
Basic Terminal Setup
The i.MX boards can communicate with a host server (Windows
®
OS or Linux OS) using a serial cable. Common serial
communication programs such as HyperTerminal, Tera Term, or PuTTY can be used. The example below describes the serial
terminal setup using HyperTerminal on a host running Windows OS.
The i.MX 6Quad/QuadPlus/DualLite SABRE-AI boards connect to the host server using a serial cable.
The i.MX 6 SABRE-SD, i.MX 6SoloLite EVK, i.MX 6SoloX SABRE-AI, i.MX 7Dual SABRE-SD, i.MX 6UltraLite EVK
and i.MX 6ULL EVK boards connect the host driver using the micro USB connector. The USB to serial driver can be found
under www.ftdichip.com/Drivers/VCP.htm.
1. Connect the target and the PC running Windows OS using a serial cable on i.MX 6 SABRE-AI boards or a micro-B
USB cable on i.MX 6 SABRE boards.
2. Open HyperTerminal on the PC running Windows OS and select the settings as shown in the following figure.
Introduction
i.MX Linux® User's Guide, Rev. L4.1.15_2.1.0-ga, 05/2017
NXP Semiconductors 3
Figure 1. Teraterm settings for terminal setup
4
Booting Linux OS
Before the Linux OS kernel can boot on an i.MX board, the images (U-Boot, Linux kernel, device tree, and rootfs) need to be
copied to a boot device and the boot switches need to be set to boot that device. There are various ways that this can be done
for different boards, boot devices, and results desired. This section explains how to prepare a boot device, where files need to
be in the memory map, how to set switches for booting, and how to boot Linux OS from U-Boot.
4.1
Software overview
This section describes the software needed for the board to be able to boot and run Linux OS.
To boot a Linux image on i.MX 6 and i.MX 7, four elements are needed:
• Bootloader (U-Boot)
• Linux kernel image (zImage)
• A device tree file (.dtb) for the board being used
• A root file system (rootfs) for the particular Linux image
The system can be configured for a specific graphical backend. The graphical backends are X11, XWayland, and Frame
Buffer.
4.1.1
Bootloader
U-Boot is the tool recommended as the bootloader for i.MX 6 and i.MX 7. U-Boot must be loaded onto a device to be able to
boot from it. U-Boot images are board-specific and can be configured to support booting from different sources.
Booting Linux OS
i.MX Linux® User's Guide, Rev. L4.1.15_2.1.0-ga, 05/2017
4 NXP Semiconductors
The pre-built or Yocto Project default bootloader names start with the name of the bootloader followed by the name of the
platform and board and followed by the name of the device that this image is configured to boot from: imx-boot-[platform]
[board]_[machine_configuration].bin. If no boot device is specified, it boots from SD/MMC.
The manufacturing tool can be used to load U-Boot onto all devices with i.MX 6 and i.MX 7. U-Boot can be loaded directly
onto an SD card using the Linux dd command. U-Boot can be used to load a U-Boot image onto some other devices.
4.1.2 Linux kernel image and device tree
This i.MX BSP contains a pre-built kernel image based on the 4.1.15 version of the Linux kernel and the device tree files
associated with each platform.
The same kernel image is used for all the i.MX 6 and i.MX 7 boards. Device trees are kernel configuration files that allow a
common kernel to boot with different pin settings for different boards or configurations. Device tree files use the .dtb
extension. The configuration for a device tree can be found in the Linux source code under arch/arm/boot/dts in the *.dts
files.
The i.MX Linux delivery package contains pre-built device tree files for the i.MX boards in various configurations. File
names for the prebuilt images are named zImage--[kernel]-[platform]-[board]-[configuration].dtb.
The *ldo.dtb device trees are used for LDO-enabled feature support. By default, the LDO bypass is enabled. If your board
has the CPU set to 1.2 GHZ, you should use the *ldo.dtb device tree instead of the default, because LDO bypass mode is not
supported on the CPU at 1.2 GHZ. The device tree *hdcp.dtb is used to enable the DHCP feature because of a pin conflict,
which requires this to be configured at build time.
4.1.3
Root file system
The root file system package (or rootfs) provides busybox, common libraries, and other fundamental elements.
The i.MX BSP package contains several root file systems. The file system includes i.MX-specific libraries and common
Linux utilites. They are named with the following convention: [image recipe]-[backend]-[platform][board].[ext3|sdcard]. The
ext3 extension indicates a standard file system. It can be mounted as NFS, or its contents can be stored on a boot media such
as an SD/MMC card.
The graphical backend to be used is also defined by the rootfs.
4.2
Manufacturing Tool
The Manufacturing Tool (MfgTool) runs on a Windows OS host and is used to download images to different devices on an
i.MX board. The tar.gz file can be found with the pre-built images.
4.2.1
Configuring MfgTool
Decompress Mfgtools-Rel-[version]_UPDATER.tar.gz.
Instructions for MfgTool V2 can be found in the file Profiles/[SOC] Linux Update/OS Firmware/ucl2.xml. Read
and update the ucl2.xml file to understand the operations before using MfgTool.
Skip this step if a board in the supported list is used.
Booting Linux OS
i.MX Linux® User's Guide, Rev. L4.1.15_2.1.0-ga, 05/2017
NXP Semiconductors 5
剩余44页未读,继续阅读
资源评论
peng524542080
- 粉丝: 2
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功