Skip to content

Commit 1539ff2

Browse files
neuschaefer7Ji
authored andcommitted
doc/available-modes: fix names of etod/dtoe modes
The CLI actually uses etod/dtoe, not e2d/d2e.
1 parent 7348ae9 commit 1539ff2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/available-modes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Summary
44
|mode|usage|dtb|reserved|disk|
55
|-|-|-|-|-|
6-
|d2e|generate pedantic EPT from DTB|X|||
7-
|e2d|generate DTB partitions node from EPT|X|||
6+
|dtoe|generate pedantic EPT from DTB|X|||
7+
|etod|generate DTB partitions node from EPT|X|||
88
|epedantic|check if EPT is pedantic|X|||
99
|dedit|edit partitions in DTB, update EPT when necessary||||
1010
|eedit|edit EPT, update DTB when necessary|X|||
@@ -19,7 +19,7 @@ _dtb, reserved, disk columns stand for whether the mode accept the content with
1919

2020
All modes are in listed in a _**mode selector** (full name)_ style
2121

22-
## d2e (DTB to pedantic EPT)
22+
## dtoe (DTB to pedantic EPT)
2323
Create pedantic EPT from the partitions node in DTB(s), behaves the same as Amlogic's u-boot
2424

2525
### Partition arguments
@@ -34,7 +34,7 @@ Create pedantic EPT from the partitions node in DTB(s), behaves the same as Amlo
3434
- If the partitions node do not exist in the DTB, no pedantic EPT will be constructed. This can be the case if you've used the legacy version of ampart, or ceemmc to modify the EPT, as they would remove partitions node from DTBs to prevent Amlogic u-boot's EPT restoration function from working.
3535
- If multiple DTBs exist, yet they don't guarantee the same EPT, no construted EPT will be used
3636

37-
## e2d (pedantic EPT to DTB)
37+
## etod (pedantic EPT to DTB)
3838
Restore/Recreate partitions node in DTB(s) according to a pedantic EPT
3939

4040
### Partition arguments:

doc/available-modes_cn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
## 总结
33
|模式|用途|设备树|保留分区|全盘|
44
|-|-|-|-|-|
5-
|d2e|通过DTB生成迂腐EPT|X|||
6-
|e2d|通过EPT生成DTB|X|||
5+
|dtoe|通过DTB生成迂腐EPT|X|||
6+
|etod|通过EPT生成DTB|X|||
77
|epedantic|检查EPT是否迂腐|X|||
88
|dedit|编辑DTB里的分区,必要的话更新EPT||||
99
|eedit|编辑EPT,必要的话更新DTB|X|||
@@ -18,7 +18,7 @@ _设备树, 保留分区, 全盘 三列表示该模式是否接受操作此
1818

1919
所有模式都以 _**模式选择名** (全名)_ 的风格列出
2020

21-
## d2e (DTB转化为迂腐EPT)
21+
## dtoe (DTB转化为迂腐EPT)
2222
根据DTB里面的分区节点构建迂腐EPT,和Amlogic的u-boot行为一致
2323

2424
### 分区参数:
@@ -33,7 +33,7 @@ _设备树, 保留分区, 全盘 三列表示该模式是否接受操作此
3333
- 如果DTB里不存在分区节点,迂腐EPT不会被创建。可能因为你用过旧版本的ampart,或者是ceemmc来修改过EPT而造成。这些方案会把DTB里面的分区节点移除,来避免Amlogic的u-boot来通过DTB还原EPT
3434
- 如果存在多个DTB,但不能保证构建相同的EPT,任何构建的EPT都不会被使用
3535

36-
## e2d (迂腐EPT转化为DTB)
36+
## etod (迂腐EPT转化为DTB)
3737
根据一个迂腐EPT来还原/重建DTB里的分区节点
3838

3939
### 分区参数:

0 commit comments

Comments
 (0)