Re: Problem with Xilinx Uart Lite
From: Qichen Huang <hidden>
Date: 2006-07-03 11:09:30
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 [off-list ref] 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:quoted
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