MX8X_4.19.35_kernel_V4-20200217_chn linux kernel定制文档

Document created by John Li Employee on Feb 24, 2020
Version 1Show Document
  • View in full screen mode

Contents
1 创建 i.MX8QXP Linux 4.14.98_ga 板级开发包编译环境
2
1.1 下载板级开发包 ...................................................... 2
1.2 创建yocto编译环境: ................................................ 3
2 Device Tree ............................................................. 15
2.1 恩智浦的device Tree结构 ..................................... 15
2.2 device Tree的由来(no updates) ............................ 18
2.3 device Tree的基础与语法(no updates) ................. 20
2.4 device Tree的代码分析(no updates) .................... 42
3 恩智浦i.MX8XBSP 包文件目录结构 ......................... 75
4 恩智浦i.MX8XBSP的编译(no updates) .................... 77
4.1 需要编译哪些文件 ................................................ 77
4.2 如何编译这些文件 ................................................ 78
4.3 如何链接为目标文件及链接顺序 ........................... 79
4.4 kernel Kconfig ...................................................... 81
5 恩智浦BSP的内核初始化过程(no updates) .............. 81
5.1 初始化的汇编代码 ................................................ 83
5.2 初始化的C代码 ..................................................... 87
5.3 init_machine ....................................................... 100
6 恩智浦BSP的内核定制 ........................................... 103
6.1 DDR修改 ............................................................ 103
6.2 IO管脚配置与Pinctrl驱动 .................................... 105
6.3 新板bringup ........................................................ 120
6.4 更改调试串口 ...................................................... 128
6.5 uSDHC设备定制(eMMC flash,SDcard, SDIOcard)
135
6.6 LVDS LCD 驱动定制 .......................................... 144
6.7 GPIO_Key 驱动定制 .......................................... 147
6.8 GPIO_LED 驱动定制 ......................................... 151
6.9 Fuse nvram驱动 ................................................. 154
6.10 SPI与SPI Slave驱动 ........................................... 155
6.11 USB 3.0 TypeC 改成 USB 3.0 TypeA(未验证) ... 162
6.12 汽车级以太网驱动定制 ....................................... 162
6.13 i.MX8DX MEK支持 ............................................. 180
6.14 NAND Flash支持与烧录 ..................................... 181

3 people found this helpful

Outcomes