没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
i.MX 6 BSP Porting Guide
Document Number: IMX6BSPPG
Rev L3.10.17_1.0.0-ga, 05/2014
i.MX 6 BSP Porting Guide, Rev. L3.10.17_1.0.0-ga, 05/2014
2 Freescale Semiconductor, Inc.
Contents
Section number Title Page
Chapter 1
Porting U-Boot from an i.MX 6 Reference Board to an i.MX 6 Custom Board
1.1 U-Boot Overview............................................................................................................................................................7
1.2 Obtaining the Source Code for the U-Boot.....................................................................................................................7
1.2.1 Preparing the Code...............................................................................................................................................8
1.3 Customizing the i.MX 6 Custom Board Code................................................................................................................10
1.3.1 Changing the DCD Table for i.MX 6 DDR3LPDDR2 Initialization..................................................................10
1.3.2 Booting with the Modified U-Boot .....................................................................................................................10
1.3.3 Adding New Driver Initialization Code to Board Files.......................................................................................11
1.3.4 Further Customization at System Boot................................................................................................................12
1.3.5 Customizing the Printed Board Name.................................................................................................................12
1.4 Debugging.......................................................................................................................................................................13
1.4.1 Using RealView ICE for Debugging...................................................................................................................13
1.4.2 Using printf for debugging...................................................................................................................................13
Chapter 2
Configuring the IOMUX Controller
2.1 IOMUX Overview..........................................................................................................................................................15
2.2 Information for Setting IOMUX Controller Registers....................................................................................................16
2.3 Using IOMUX in the Device Tree - Example................................................................................................................17
Chapter 3
Registering a New UART Driver
3.1 Enabling UART on Kernel Menuconfig.........................................................................................................................19
3.2 UART Settings................................................................................................................................................................19
3.3 File Names and Locations...............................................................................................................................................19
Chapter 4
Adding Support for SDHC
4.1 SDHC Overview.............................................................................................................................................................21
i.MX 6 BSP Porting Guide, Rev. L3.10.17_1.0.0-ga, 05/2014
Freescale Semiconductor, Inc. 3
Section number Title Page
Chapter 5
Configuring the SPI NOR Flash Memory Technology Device (MTD) Driver
5.1 SPI NOR Overview.........................................................................................................................................................23
5.2 Source Code Structure....................................................................................................................................................23
5.2.1 Configuration Options..........................................................................................................................................23
5.2.2 Selecting SPI NOR on the Linux Image..............................................................................................................24
5.3 Changing the SPI Interface Configuration......................................................................................................................24
5.4 Hardware Operation........................................................................................................................................................24
5.4.1 Software Operation..............................................................................................................................................25
Chapter 6
Connecting an LVDS Panel to an i.MX 6Dual/6Quad/6Solo/6DualLite Reference Board
6.1 LVDS Overview.............................................................................................................................................................27
6.1.1 Connecting an LVDS Panel to the i.MX 6Dual/6Quad/6DualLite Reference Board..........................................27
6.2 Enabling an LVDS Channel............................................................................................................................................28
6.2.1 Locating Menu Configuration Options ...............................................................................................................28
6.3 LDB Ports.......................................................................................................................................................................28
6.3.1 Input Parallel Display Ports.................................................................................................................................29
6.3.2 Output LVDS Ports..............................................................................................................................................30
6.4 Additional Information...................................................................................................................................................30
Chapter 7
Supporting the i.MX 6Dual/6Quad/6Solo/6DualLite Camera Sensor with CSI
7.1 CSI Overview..................................................................................................................................................................31
7.1.1 Required Software ...............................................................................................................................................31
7.1.2 i.MX 6Dual/6Quad/6Solo/6DualLite CSI Interfaces Layout..............................................................................32
7.1.3 Configuring the CSI Unit in Test Mode...............................................................................................................32
7.2 Adding Support for a New CMOS Camera Sensor........................................................................................................33
7.2.1 Adding a Camera Sensor Entry in Kconfig.........................................................................................................33
7.2.2 Creating the Camera Sensor File.........................................................................................................................34
7.2.3 Adding a Compilation Flag for the New Camera................................................................................................36
i.MX 6 BSP Porting Guide, Rev. L3.10.17_1.0.0-ga, 05/2014
4 Freescale Semiconductor, Inc.
Section number Title Page
7.3 Using the I2C Interface...................................................................................................................................................37
7.3.1 Loading and Testing the Camera Module............................................................................................................39
7.4 Additional Reference Information..................................................................................................................................39
7.4.1 CMOS Interfaces Supported by the i.MX 6Dual/6Quad/6Solo/6DualLite.........................................................39
7.4.2 i.MX 6Dual/6Quad/6Solo/6DualLite CSI Parallel Interface...............................................................................41
7.4.3 Timing Data Mode Protocols...............................................................................................................................43
Chapter 8
Porting Audio Codecs to a Custom Board
8.1 Audio Overview..............................................................................................................................................................45
8.1.1 Common Porting Task.........................................................................................................................................45
8.1.2 Porting the Reference BSP to a Custom Board (audio codec is the same as in the reference design)................46
8.1.3 Porting the Reference BSP to a Custom Board (audio codec is different than the reference design).................47
Chapter 9
Porting the Ethernet Controller Driver
9.1 Ethernet Controller Overview.........................................................................................................................................49
9.1.1 Pin Configuration.................................................................................................................................................49
9.1.2 Source Code.........................................................................................................................................................50
9.1.3 Ethernet Configuration.........................................................................................................................................51
Chapter 10
Porting USB Host1 and USB OTG
10.1 USB Overview for i.MX 6Dual/6Quad/6Solo/6DualLite..............................................................................................53
10.2 USB Overview for i.MX 6SoloLite................................................................................................................................55
i.MX 6 BSP Porting Guide, Rev. L3.10.17_1.0.0-ga, 05/2014
Freescale Semiconductor, Inc. 5
剩余56页未读,继续阅读
资源评论
- soho67672018-12-19不错,有参考意义
- liangs992018-05-28不错的参考,谢谢分享!
- 风露清愁062017-08-24imx6的开发文档,其实可在NXP官网上下载
qq_31432921
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功