Enabling UART2 BB Rev C4

Hi,
I want to enable UART2 on expansion ports in my beagleboard rev c4 for which I followed beagleboard pinmux wiki,but when I “make uImage” after doing necessary changes in “board-omap3beagle.c” file I get the following errror.

arch/arm/mach-omap2/board-omap3beagle.c:185: warning: braces around scalar initializer
arch/arm/mach-omap2/board-omap3beagle.c:185: warning: (near initialization for ‘mmc[0].mmc’)
arch/arm/mach-omap2/board-omap3beagle.c:185: error: field name not in record or union initializer
arch/arm/mach-omap2/board-omap3beagle.c:185: error: (near initialization for ‘mmc[0].mmc’)
arch/arm/mach-omap2/board-omap3beagle.c:185: warning: large integer implicitly truncated to unsigned type
arch/arm/mach-omap2/board-omap3beagle.c:185: error: field name not in record or union initializer
arch/arm/mach-omap2/board-omap3beagle.c:185: error: (near initialization for ‘mmc[0].mmc’)
arch/arm/mach-omap2/board-omap3beagle.c:185: warning: excess elements in scalar initializer
arch/arm/mach-omap2/board-omap3beagle.c:185: warning: (near initialization for ‘mmc[0].mmc’)
make[1]: *** [arch/arm/mach-omap2/board-omap3beagle.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

following is the line in the “board-omap3beagle.c” file where its giving error

185- .mmc =OMAP3_MUX(MCBSP3_FSX, OMAP_MUX_MODE1), 1,

eventhough I haven’t changed anything in line 185.I am using linux-omap-2.6 kernel and

My C4 beagleboard UART2 is active and I used it to talk to a GPS
receiver fine, without doing any pin-mux using default Angstrom
distro.

Everett

really!!! thanks for the information…I will check out mine :slight_smile:

regards
Nicobari

I checked out and found my Beagleboard’s UART2 is already enabled…silly I should have checked it first!!!

anyway thanks :slight_smile:

regards,
Nicobari