This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
products:sbc:common:configurations:device-tree-overlay [2022/09/23 22:25] frank [Edit DT overlays configuration] |
products:sbc:common:configurations:device-tree-overlay [2023/06/05 04:05] nick [Edit DT Overlays Configuration] |
||
---|---|---|---|
Line 3: | Line 3: | ||
We can use DT overlays to enable/ | We can use DT overlays to enable/ | ||
- | ===== Device reference table ====== | + | ===== DT collections |
- | ^ | + | https://github.com/khadas/khadas-linux-kernel-dt-overlays |
- | ^ VIM1 | + | |
- | ^ VIM2 | + | |
- | ^ VIM3 | + | |
- | ^ VIM3L | / | + | |
- | ^ VIM1S | / | + | |
- | ^ VIM4 | + | |
- | ^ Edge2 | / | + | |
- | ^ Edge1 | / | + | |
- | | ::: | + | |
- | ===== Device | + | ===== Device |
+ | |||
+ | ^ | ||
+ | ^ VIM1 | ||
+ | ^ VIM2 | ||
+ | ^ VIM3 | ||
+ | ^ VIM3L | / | ||
+ | ^ VIM1S | / | ||
+ | ^ VIM4 | ||
+ | ^ Edge2 | / | ||
+ | ^ Edge1 | / | ||
+ | | ::: | ||
+ | |||
+ | ===== Device Configurations | ||
<tabbox VIM1/ | <tabbox VIM1/ | ||
Line 64: | Line 68: | ||
<tabbox VIM4> | <tabbox VIM4> | ||
- | DT-overlays '' | + | DT-overlays '' |
```shell | ```shell | ||
Line 103: | Line 107: | ||
</ | </ | ||
- | ===== Configuration DT overlays | + | ===== Configuration DT Overlays |
- | Need edit the DT overlays configuration file and add custom DT overlays '' | + | You need to edit the DT overlays configuration file and add custom DT overlays '' |
- | ===== Make custom DT overlays | + | ===== Make custom DT Overlays |
There are some preparations steps for DT overlays '' | There are some preparations steps for DT overlays '' | ||
- | ==== Write DT overlay source==== | + | ==== Write DT Overlay Source==== |
Basic DT overlay source example: | Basic DT overlay source example: | ||
Line 130: | Line 134: | ||
``` | ``` | ||
- | ==== Compile DT overlay source | + | ==== Compile DT Overlay Source |
```sh | ```sh | ||
Line 136: | Line 140: | ||
``` | ``` | ||
- | ==== Copy DT overlays | + | ==== Copy DT Overlays |
* VIM4 is ''/ | * VIM4 is ''/ | ||
* VIM1S is ''/ | * VIM1S is ''/ | ||
* Edge2 is ''/ | * Edge2 is ''/ | ||
- | * VIM1/ | + | * VIM1/ |
<WRAP important > | <WRAP important > | ||
- | **BOARD** should be '' | + | **BOARD** should be '' |
</ | </ | ||