From: Kamesh K S Date: 12 Apr 2006 15:11:13 +0530 Subject: [U-Boot-Users] Enabling both SMC ports In-Reply-To: <20060412072132.AE5A5353C96@atlas.denx.de> References: <20060412072132.AE5A5353C96@atlas.denx.de> Message-ID: <1144834874.1566.36.camel@kamesh.signet> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > /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 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!_ >