
The use of U-Boot (with SPL)
内容索引
内容索引 ..................................................................................................................................................................................... 3
1. 介绍 ........................................................................................................................................................................................ 5
1.1. 目的 ................................................................................................................................................................................. 5
1.2. 范围 ................................................................................................................................................................................. 5
1.3. 参考资料 / 缩写 / 术语 ............................................................................................................................................... 5
2. 背景 ........................................................................................................................................................................................ 6
2.1. U-Boot 简介 ..................................................................................................................................................................... 6
2.2. U-Boot 的功能 ................................................................................................................................................................. 6
2.3. SPL 简介 .......................................................................................................................................................................... 6
3. 结构分析 ................................................................................................................................................................................ 7
3.1. 版本说明 ........................................................................................................................................................................ 7
3.2. U-Boot 目录结构 ............................................................................................................................................................. 7
3.3. 重点目录分析 ................................................................................................................................................................. 8
3.3.1. arch 目录............................................................................................................................................................ 8
3.3.2. board 目录 ......................................................................................................................................................... 8
4. 移植相关 ................................................................................................................................................................................ 9
4.1. 芯片移植 ......................................................................................................................................................................... 9
4.1.1. Cpu 目录移植(以 ck807 为例) .................................................................................................................... 9
4.1.2. Include 目录移植............................................................................................................................................. 10
4.2. 板级移植
....................................................................................................................................................................... 11
5. 配置相关 .............................................................................................................................................................................. 11
6. 编译相关 .............................................................................................................................................................................. 13
6.1. 总体编译介绍 ............................................................................................................................................................... 13
6.2. 配置文件生成 ............................................................................................................................................................... 13
6.3. SPL 编译流程分析 ........................................................................................................................................................ 13
6.4. U-Boot 编译流程分析 ................................................................................................................................................... 15
中天微系统 C-Sky This document is controlled electronically. Software_Design_Template_01
Sheet 3 of 22 All paper copies of this document are uncontrolled unless stamped controlled 0.1