Skip to contentSkip to conversation

How to initialize SMC2 for another console port ?

DISCUSSION SangTae Ha 1 participant 1 message Jun 18, 2000

lore
Share & tools
lore

SangTae Ha

author
#0 lore raw

Hi all.

Since my team have purchased HIOX board for RPXLite, me and my friend working on HIOX SMC2 port on linux.

My question is ...

Are there any code for using HIOX SMC2 port as a secondary RS232 serial port (/dev/ttyS1) on linux?

I tried to set BCSR register, But I couldn't get the output (/dev/ttyS1).

/* uart.c */

#if 1
        /* This enables HIOX Extension Board, I think */
         *((uint *)0xfac00000) = ((uint)0x380F3C00);

#endif

We use MontaVista linux-2.2.13-7.

Thanks in advance.

Have a nice day.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/