From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dev.rtsoft.ru (unknown [85.21.88.2]) by ozlabs.org (Postfix) with SMTP id 456FD68348 for ; Wed, 21 Sep 2005 20:55:55 +1000 (EST) Message-ID: <43313C39.9010608@ru.mvista.com> Date: Wed, 21 Sep 2005 14:55:53 +0400 From: Vitaly Bordug MIME-Version: 1.0 To: "Landau, Bracha" References: <02AA386EB831044F8537A696BA785C78076297@ILEX5.IL.NDS.COM> In-Reply-To: <02AA386EB831044F8537A696BA785C78076297@ILEX5.IL.NDS.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org Subject: Re: using SCC4 on MPC8272ADS List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Landau, Bracha wrote: > I am using the MPC8272ADS with kernel 2.6.10. The kernel is configured to support 4 CPM SCCs, of which 1 and 4 are connected on the board. > I created device files as follows: > > mknod /dev/ttyCPM0 c 204 46 > mknod /dev/ttyCPM1 c 204 47 > mknod /dev/ttyCPM2 c 204 48 > mknod /dev/ttyCPM3 c 204 49 > > If I boot the kernel using console=ttyCPM3 I see that it uses SCC4. But when I boot with console=ttyCPM0 and write to the second port using a command like "echo hello > /dev/ttyCPM3" I don't see that anything is being outputted to the second console. > > What am I doing wrong? > Funny - you said that SCC 1 and 4 are connected to the board; than why you are enabling SCC2 and SCC3? This board does have 2 SCCs assigned for UARTs. No need to configure SCC2 and SCC3 - this is useless and may lead to kernel crash. This board will use in the correct configuration /dev/ttyCPM0 and /dev/ttyCPM1 . -- Sincerely, Vitaly