wb_editors
14 391
правка
(Новая страница: «The compiled file must be written to /boot/dtsb. <b>Be sure to make a backup of the existing / boot/dtsb file!</b>») |
FuzzyBot (обсуждение | вклад) (Обновление для соответствия новой версии исходной страницы.) |
||
Строка 1: | Строка 1: | ||
<languages/> | <languages/> | ||
<div class="mw-translate-fuzzy"> | |||
Device Tree are files describing the hardware configuration. They are used in Linux and therefore in the Wiren Board controllers firmware. Modification of Device Tree-files may be required when re-assigning ports, connecting some UEXT-devices, when connecting 1-Wire sensors, etc. | Device Tree are files describing the hardware configuration. They are used in Linux and therefore in the Wiren Board controllers firmware. Modification of Device Tree-files may be required when re-assigning ports, connecting some UEXT-devices, when connecting 1-Wire sensors, etc. | ||
</div> | |||
Read more about Device Tree: https://en.wikipedia.org/wiki/Device_tree , http://elinux.org/Device_Tree | Read more about Device Tree: https://en.wikipedia.org/wiki/Device_tree , http://elinux.org/Device_Tree | ||
Строка 8: | Строка 10: | ||
Device Tree files are written in .dts text format, which is compiled into dtb binary format | Device Tree files are written in .dts text format, which is compiled into dtb binary format | ||
== Loading == | == Loading == | ||
Строка 20: | Строка 21: | ||
The dtb file is located in /boot/dtbs/imx23-wirenboard28.dtb (for Wiren Board rev. 2.8), at /boot/dtbs/imx23-wirenboard32.dtb (for Wiren Board Smart Home rev. 3.5) | The dtb file is located in /boot/dtbs/imx23-wirenboard28.dtb (for Wiren Board rev. 2.8), at /boot/dtbs/imx23-wirenboard32.dtb (for Wiren Board Smart Home rev. 3.5) | ||
== Reassembly == | == Reassembly == | ||
Строка 27: | Строка 27: | ||
Another way is to build the kernel:[[Special:MyLanguage/Сборка ядра|Сборка ядра]] | Another way is to build the kernel:[[Special:MyLanguage/Сборка ядра|Сборка ядра]] | ||
===Download=== | ===Download=== | ||
Строка 38: | Строка 37: | ||
imx23-wirenboard28.dts for Wiren Board rev. 2.8 | imx23-wirenboard28.dts for Wiren Board rev. 2.8 | ||
: | : | ||
Строка 48: | Строка 46: | ||
$ #export WB_BRANCH=v3.12-rc3-imxv5-x0.3 # for kernel 3.12 | $ #export WB_BRANCH=v3.12-rc3-imxv5-x0.3 # for kernel 3.12 | ||
$ export WB_BRANCH=v3.13-imxv5-x0.1 | $ export WB_BRANCH=v3.13-imxv5-x0.1 | ||
$ wget https://raw.github.com/contactless/linux/$WB_BRANCH/arch/arm/boot/dts/mxs-pinfunc.h | $ wget https://raw.github.com/contactless/linux/$WB_BRANCH/arch/arm/boot/dts/mxs-pinfunc.h | ||
Строка 67: | Строка 64: | ||
imx23.dtsi imx23-wirenboard28.dts skeleton.dtsi | imx23.dtsi imx23-wirenboard28.dts skeleton.dtsi | ||
imx23-pinfunc.h mxs-pinfunc.h | imx23-pinfunc.h mxs-pinfunc.h | ||
</pre> | </pre> | ||
===Compiler=== | ===Compiler=== | ||
Строка 80: | Строка 74: | ||
$ sudo apt-get install device-tree-compiler | $ sudo apt-get install device-tree-compiler | ||
</pre> | </pre> | ||
gcc is also required | gcc is also required | ||
Строка 87: | Строка 80: | ||
$ sudo apt-get install gcc | $ sudo apt-get install gcc | ||
</pre> | </pre> | ||
===Compilation=== | ===Compilation=== | ||
Строка 97: | Строка 89: | ||
DTC: dts->dtb on file "-" | DTC: dts->dtb on file "-" | ||
</pre> | </pre> | ||
===Installation=== | ===Installation=== | ||
The compiled file must be written to /boot/dtsb. <b>Be sure to make a backup of the existing / boot/dtsb file!</b> | The compiled file must be written to /boot/dtsb. <b>Be sure to make a backup of the existing / boot/dtsb file!</b> |