[U-Boot-Users] Enabling both SMC ports
Kamesh K S
kamesh at signal-networks.com
Wed Apr 12 11:41:13 CEST 2006
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.
On Wed, 2006-04-12 at 12:51, Wolfgang Denk wrote:
> In message <1144822637.1434.7.camel at 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 at 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!_
More information about the U-Boot