Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c1_hardware_uart [2016/11/14 17:12] odroid [How to use UART(/dev/ttyS1) on 40 Pin Header] |
en:c1_hardware_uart [2016/11/14 17:19] odroid [How to use enable another UART /dev/ttyS1 on 40 Pin Header] |
||
---|---|---|---|
Line 44: | Line 44: | ||
Send characters via minicom. | Send characters via minicom. | ||
- | ==== How to use enable another UART /dev/ttyS1 on 40 Pin Header ==== | + | ==== How to enable another UART /dev/ttyS1 on 40 Pin Header ==== |
=== Pin Map : GPIOX.4[29, TXD], GPIOX.5[18, RXD] === | === Pin Map : GPIOX.4[29, TXD], GPIOX.5[18, RXD] === | ||
Line 52: | Line 52: | ||
</WRAP> | </WRAP> | ||
- | 1. Need package install | + | 1. Install the device-tree compiler package |
<code> | <code> | ||
sudo apt-get install device-tree-compiler | sudo apt-get install device-tree-compiler | ||
</code> | </code> | ||
- | 2. Download dts file from github. | + | 2. Download dts file from our github. |
<code> | <code> | ||
wget https://github.com/hardkernel/linux/raw/odroidc-3.10.y/arch/arm/boot/dts/meson8b_odroidc.dts | wget https://github.com/hardkernel/linux/raw/odroidc-3.10.y/arch/arm/boot/dts/meson8b_odroidc.dts | ||
Line 67: | Line 67: | ||
</code> | </code> | ||
- | 4. find uart_ao & edit | + | 4. find uart_ao & add uart_0 definition. |
<code> | <code> | ||
... | ... | ||
Line 101: | Line 101: | ||
</code> | </code> | ||
- | 5. find pinmux & edit | + | 5. find pinmux & add uart_0 pin mux. |
<code> | <code> | ||
... | ... |