[U-Boot-Users] Enabling both SMC ports

Hi All, Our product ( MPC860 arch with Mvista Kernel) has one serial port connected to the console & is interfaced thru' SMC1.The second serial port needs to be connected to the printer thru' SMC2. The u-boot does not allow enabling SMC1 & SMC2 both togather. How do I go about achieving this ?
Rgds
Kamesh Member, Software Group Signal Networks PVT. LTD

In message 1144822637.1434.7.camel@kamesh.signet you wrote:
Hi All, Our product ( MPC860 arch with Mvista Kernel) has one serial port connected to the console & is interfaced thru' SMC1.The second serial port needs to be connected to the printer thru' SMC2. The u-boot does not allow enabling SMC1 & SMC2 both togather.
You porbably don't want to control your printer by U-Boot anyway, or do you?
And Linux has no such limitations.
How do I go about achieving this ?
If you really want to use both SMC ports in U-Boot you have to extend the existing driver. But I don't see why you would want to do this.
Best regards,
Wolfgang Denk

Hi WD, First of all Thanks for your prompt reply. I needed further info on this issue. I have already tried enabling the SMC2 in the kernel. This is what I tried:
$ make menuconfig
1) Selected MPC8xx CPM Options and Enabled the Foll. i) Use SMC2 for UART ii) Use SMC2 for Console
Then Compiled the kernel & ported it to the board (MPC860) Connected the serial printer to SMC2. Tried printing using 'cat' command $ cat <file-name> > /dev/ttyS1 (since /dev/ttyS0 is for console) Command gets executed but printer does not print anything.
Have I missed anything or not tried enough ? Is there any other workaround ?
Your suggestions would be valuable.
Rgds Kamesh
On Wed, 2006-04-12 at 12:51, Wolfgang Denk wrote:
In message 1144822637.1434.7.camel@kamesh.signet you wrote:
Hi All, Our product ( MPC860 arch with Mvista Kernel) has one serial port connected to the console & is interfaced thru' SMC1.The second serial port needs to be connected to the printer thru' SMC2. The u-boot does not allow enabling SMC1 & SMC2 both togather.
You porbably don't want to control your printer by U-Boot anyway, or do you?
And Linux has no such limitations.
How do I go about achieving this ?
If you really want to use both SMC ports in U-Boot you have to extend the existing driver. But I don't see why you would want to do this.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de If you can't beat it or corrupt it, you pretend it was your idea in the first place. - Terry Pratchett, _Guards! Guards!_

In message 1144834874.1566.36.camel@kamesh.signet you wrote:
I have already tried enabling the SMC2 in the kernel.
This is off topic here.
[And without further information about your hardware, your kernel version and how it was ported to your hardware you should not expect much help from any other mailing list, either.]
Best regards,
Wolfgang Denk
participants (2)
-
Kamesh K S
-
Wolfgang Denk