Skip to content

Commit fbbf512

Browse files
fix: fix report 404 urls of issue 35 (#36)
1 parent 0191c15 commit fbbf512

3 files changed

Lines changed: 36 additions & 2 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<PageHeader icon="🌲" title="设备树实践" description="深入理解设备树在驱动开发中的应用" />
2+
3+
## 设备树教程
4+
5+
<ChapterNav>
6+
<ChapterLink num="01" href="01-Introduction">设备树简介</ChapterLink>
7+
<ChapterLink num="02" href="02-Hardware-Manual">硬件手册阅读</ChapterLink>
8+
<ChapterLink num="03" href="03-Basic-Skeleton">基本骨架结构</ChapterLink>
9+
<ChapterLink num="04" href="04-Device-Bindings">设备绑定规范</ChapterLink>
10+
<ChapterLink num="05" href="05-DTB-Format">DTB 格式解析</ChapterLink>
11+
<ChapterLink num="06" href="06-DTS-Syntax">DTS 语法详解</ChapterLink>
12+
<ChapterLink num="07" href="07-History-and-Specifications">历史与规范</ChapterLink>
13+
</ChapterNav>
14+
15+
::: tip 学习目标
16+
掌握设备树的基本语法和结构,理解设备树与驱动的绑定机制,能够根据硬件手册编写正确的设备树配置。
17+
:::
18+
19+
::: info 前置知识
20+
C 语言基础 · 硬件原理图阅读能力 · Linux 内核基础
21+
:::
22+
23+
::: details 延伸阅读
24+
- [Device Tree 规范](https://www.devicetree.org/)
25+
- [Linux 内核设备树文档](https://www.kernel.org/doc/html/latest/devicetree/)
26+
- [i.MX 6ULL 参考手册](https://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf)
27+
:::
28+
29+
## 继续学习
30+
31+
<ChapterNav variant="sub">
32+
<ChapterLink href="../" variant="sub">← 返回驱动教程</ChapterLink>
33+
<ChapterLink href="../02_pinctrl_gpio/" variant="sub">Pin Control & GPIO →</ChapterLink>
34+
</ChapterNav>

document/tutorial/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<RoadMapPhase icon="⚙️" title="驱动开发" subtitle="Driver Dev" time="~15 天" :difficulty="4" :num="6">
4444
<ChapterLink num="01" href="driver/char_device/" variant="sub">字符设备基础</ChapterLink>
4545
<ChapterLink num="02" href="driver/device_tree/" variant="sub">设备树实践</ChapterLink>
46-
<ChapterLink num="03" href="driver/pinctrl_gpio/" variant="sub">Pin Control & GPIO</ChapterLink>
46+
<ChapterLink num="03" href="driver/02_pinctrl_gpio/01_introduction" variant="sub">Pin Control & GPIO</ChapterLink>
4747
<ChapterLink num="04" href="driver/modules/" variant="sub">模块开发</ChapterLink>
4848
<ChapterLink num="05" href="driver/firmware_apply/" variant="sub">固件应用</ChapterLink>
4949
</RoadMapPhase>

document/tutorial/kernel/mainline/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| 版本更新 | ⚠️ 较慢 | ✅ 快速 |
1212

1313
<ChapterNav variant="sub">
14-
<ChapterLink href="README.md" variant="sub">主线内核迁移指南</ChapterLink>
14+
<ChapterLink href="01_why_mainline" variant="sub">为什么要用主线内核</ChapterLink>
1515
</ChapterNav>
1616

1717
::: details 构建命令

0 commit comments

Comments
 (0)