Skip to contentSkip to conversation

scc2 conflict with usb?

DISCUSSION navinb 2 participants 2 messages Jun 24, 2002

lore
Share & tools
lore

navinb

author
#0 lore raw

Hello,

I am able to run a usb slave driver in linux 2.4.7 on 823/850 (rpxlite) boards.
problem being faced is that usb (scc1 addres space) works when my CPM ENET is not either at SCC1 or SCC2.
when I enable ENET on SCC3 my UART conflicts and says during compilation
uart.c:68: #error "Can't use SMC1 for console with Ethernet on SCC3"

guided by this now when i enable console on SMC2 it compliles but no o/p during booting on screen.

looks like uart.c file need to be looked upon.

ENET on SCC1 would conflict with USB as there would be clash of interrupts (CPMVEC_SCC1),
But I am not able to understand why ENET on SCC2 disturbs USB at all.

is there any solution without touching uart.c file ?

Best Regards,
_________________________________________________________
There is always a better job for you at Monsterindia.com. Go now http://monsterindia.com/rediffin/

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

#1 lore raw
Quoted 2 lines · navinb

problem being faced is that usb (scc1 addres space) works when my CPM ENET is not either at SCC1 or SCC2.

How does USB conflict with SCC2 in Ethernet mode? The default configuration should just build this way, since the only thing you can run on SCC1 is USB. On an 823, the default (and about the only configuration) is USB on SCC1, Ethernet on SCC2 and console on SMC1. Not all parts have SCC3.

Thanks.

	-- Dan

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