Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to set up UART2 in J990

316 bytes added, 13:44, 26 January 2012
no edit summary
= Third way (under construction) =
Third way: configure kernel source. <span lang="en" idclass="result_boxshort_text" classid="short_textresult_box"><span class="hps">Configuration will be</span> <span class="hps">permanent. </span></span>This tutorial is focused for igep0020 only, tested in revision C.Don't use: buddy=igep0022 and buddy.modem=yes<br>
=== Configure IGEP ===
<pre> OMAP3_MUX(UART2_TX, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT),
OMAP3_MUX(UART2_RX, OMAP_MUX_MODE0 | OMAP_PIN_INPUT), </pre>
Add the following lines at the same position:
<pre> OMAP3_MUX(UART2_TX, OMAP_MUX_MODE7 | OMAP_PIN_INPUT),
OMAP3_MUX(UART2_RX, OMAP_MUX_MODE7 | OMAP_PIN_INPUT),
OMAP3_MUX(UART2_RTS, OMAP_MUX_MODE7 | OMAP_PIN_INPUT),
OMAP3_MUX(UART2_CTS, OMAP_MUX_MODE7 | OMAP_PIN_INPUT), </pre> 
<br> '''Enable UART2 in J990:'''
Go to[http://git.igep.es/?p=pub/scm/linux-omap-2.6.git;a=blob_plain;f=arch/arm/mach-omap2/board-igep0020.c;hb=refs/heads/linux-2.6.35.y $(kernel path)/arch/arm/mach-omap2/board-igep0020.c]
Add the following lines to static struct omap_board_mux board_mux[] __initdata: <brpre> OMAP3_MUX(MCBSP3_DR, OMAP_MUX_MODE1 | OMAP_PIN_INPUT), OMAP3_MUX(MCBSP3_DX, OMAP_MUX_MODE1 | OMAP_PIN_INPUT), OMAP3_MUX(MCBSP3_FSX, OMAP_MUX_MODE1 | OMAP_PIN_INPUT), OMAP3_MUX(MCBSP3_CLKX, OMAP_MUX_MODE1 | OMAP_PIN_INPUT), </pre> 
<br>
4,199
edits