From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by ozlabs.org (Postfix) with ESMTP id 4D8DD67B55 for ; Mon, 3 Jul 2006 21:09:30 +1000 (EST) Received: by nf-out-0910.google.com with SMTP id p77so623478nfc for ; Mon, 03 Jul 2006 04:09:29 -0700 (PDT) Message-ID: Date: Mon, 3 Jul 2006 12:59:54 +0200 From: "Qichen Huang" To: "Andrei Konovalov" Subject: Re: Problem with Xilinx Uart Lite In-Reply-To: <44A5178A.5050808@ru.mvista.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30000_3291748.1151924394699" References: <44A3F29F.8020507@ru.mvista.com> <44A41C6B.4080701@ru.mvista.com> <44A5040B.8020508@ru.mvista.com> <44A5178A.5050808@ru.mvista.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_30000_3291748.1151924394699 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Andrei, Thank you. I have tried this patch, but without luck, the system can not start, there's no login prompt. Boot stopps after starting system. The boot log looks like this: loaded at: 00400000 004C51E0 board data at: 004C2138 004C2150 relocated to: 0040530C 00405324 zimage at: 00405811 004C1A00 avail ram: 004C6000 04000000 Linux/PPC load: console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw Uncompressing Linux...done. Now booting the kernel ...... Welcome to ML300 powerpc linux 2.4.21, E.I.S. edition Starting system... mounting /proc: done. Mounting '/' read-write: mount: Cannot read /etc/mtab: No such file or directory done. brining up loopback interface: done. Setup IP-address for eth0: done. Mounting /tmp: done. Starting syslogd: done. Starting klogd: done. Starting Thanks, Qichen ps. Sorry, I forgot to post this to the mailing list. On 6/30/06, Andrei Konovalov wrote: > > Seeing a lot of ^M (LF) characters in the end of lines makes me think > you are using [Win]DOS. > This makes the patch to look somewhat funny - some of the lines terminated > with > only ("Unix style"), some - with ("DOS style"). > > Please try the attached patch. It should help. > > Thanks, > Andrei > > Qichen Huang wrote: > > Hello, > > > > attached is my xuartlite_serial.c > > > > Thanks, > > Qichen > > > > On 6/30/06, *Andrei Konovalov* > > wrote: > > > > > Xilinx OS Independent Code XAssert: xuartlite.c:194 > > > Code may crash due to unhandled errors. > > > > So this is inside XUartLite_Send(). > > Could you send me your xuartlite_serial.c? > > Seems yours doesn't have one of the fixes. > > > > Thanks, > > Andrei > > > ------=_Part_30000_3291748.1151924394699 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Andrei,

Thank you. I have tried this patch, but without luck, the system can not start, there's no login prompt.
Boot stopps after starting system.
The boot log looks like this:

loaded at: 00400000 004C51E0
board data at: 004C2138 004C2150
relocated to: 0040530C 00405324
zimage at: 00405811 004C1A00
avail ram: 004C6000 04000000

Linux/PPC load: console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw
Uncompressing Linux...done.
Now booting the kernel
......

Welcome to ML300 powerpc linux 2.4.21, E.I.S. edition

Starting system...
mounting /proc: done.
Mounting '/' read-write: mount: Cannot read /etc/mtab: No such file or directory

done.
brining up loopback interface: done.
Setup IP-address for eth0: done.
Mounting /tmp: done.
Starting syslogd: done.
Starting klogd: done.
Starting


Thanks,
Qichen

ps. Sorry, I forgot to post this to the mailing list.


On 6/30/06, Andrei Konovalov <akonovalov@ru.mvista.com> wrote:
Seeing a lot of ^M (LF) characters in the end of lines makes me think
you are using [Win]DOS.
This makes the patch to look somewhat funny - some of the lines terminated with
<CR> only ("Unix style"), some - with <CR><LF> ("DOS style").

Please try the attached patch. It should help.

Thanks,
Andrei

Qichen Huang wrote:
> Hello,
>
> attached is my xuartlite_serial.c
>
> Thanks,
> Qichen
>
> On 6/30/06, *Andrei Konovalov* <akonovalov@ru.mvista.com
> <mailto:akonovalov@ru.mvista.com>> wrote:
>
>      > Xilinx OS Independent Code XAssert: xuartlite.c:194
>      > Code may crash due to unhandled errors.
>
>     So this is inside XUartLite_Send().
>     Could you send me your xuartlite_serial.c?
>     Seems yours doesn't have one of the fixes.
>
>     Thanks,
>     Andrei



------=_Part_30000_3291748.1151924394699--