* Problem with Xilinx Uart Lite @ 2006-06-29 15:20 Qichen Huang 2006-06-29 15:32 ` Andrei Konovalov 0 siblings, 1 reply; 3+ messages in thread From: Qichen Huang @ 2006-06-29 15:20 UTC (permalink / raw) To: linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 803 bytes --] Hi all, I'm trying to port linuxppc_2_4_devel to Xilinx ML403. I want to use UartLite instead of Uart 16550. What changes should I do? I have disabled "Standard/generic (8250/16550 and compatible UARTs) serial support" and enabled "Xilinx UART Lite" & "Console on UART Lite port" in character devices. And the initial kernel command string is changed to "console=ttl0 console=ttyS0,9600 ip=off root=/dev/xsysace/disc0/part3 rw". The kernel boot log dosen't mention any serial device and it hangs up until "System started." There is no login prompt. My /etc/inittab is : ::sysinit:/etc/init.d/rcS #::askfirst:-/bin/sh ::ctrlaltdel:/sbin/reboot ::shutdown:/sbin/swapoff -a ::shutdown:/bin/umount -a -r ::restart:/sbin/init ::respawn:/sbin/getty 9600 tts/0 What else should I do? Thank you! Qichen [-- Attachment #2: Type: text/html, Size: 1007 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with Xilinx Uart Lite 2006-06-29 15:20 Problem with Xilinx Uart Lite Qichen Huang @ 2006-06-29 15:32 ` Andrei Konovalov [not found] ` <b4ebaa9d0606290959w528cac73qd0674c3b1de33a15@mail.gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Andrei Konovalov @ 2006-06-29 15:32 UTC (permalink / raw) To: Qichen Huang; +Cc: linuxppc-embedded Qichen Huang wrote: > Hi all, > > I'm trying to port linuxppc_2_4_devel to Xilinx ML403. I want to use > UartLite instead of Uart 16550. What changes should I do? > > I have disabled "Standard/generic (8250/16550 and compatible UARTs) > serial support" > and enabled "Xilinx UART Lite" & "Console on UART Lite port" in > character devices. > And the initial kernel command string is changed to "console=ttl0 > console=ttyS0,9600 ip=off root=/dev/xsysace/disc0/part3 rw". This command line sets default console to ttyS0. Please remove "console=ttyS0,9600". > The kernel boot log dosen't mention any serial device and it hangs up > until "System started." There is no login prompt. Are you using the correct xparameters_*.h - the one having the #defines for UartLite? > My /etc/inittab is : > > ::sysinit:/etc/init.d/rcS > #::askfirst:-/bin/sh > ::ctrlaltdel:/sbin/reboot > ::shutdown:/sbin/swapoff -a > ::shutdown:/bin/umount -a -r > ::restart:/sbin/init > ::respawn:/sbin/getty 9600 tts/0 > > > What else should I do? > Thank you! > > Qichen > > > ------------------------------------------------------------------------ > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs•org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <b4ebaa9d0606290959w528cac73qd0674c3b1de33a15@mail.gmail.com>]
[parent not found: <44A41C6B.4080701@ru.mvista.com>]
[parent not found: <b4ebaa9d0606291210p5c8284b9mec6ee8d3ed4b0ad8@mail.gmail.com>]
[parent not found: <44A5040B.8020508@ru.mvista.com>]
[parent not found: <b4ebaa9d0606300426v2a0b47d4mc49232dcacec19e3@mail.gmail.com>]
[parent not found: <44A5178A.5050808@ru.mvista.com>]
* Re: Problem with Xilinx Uart Lite [not found] ` <44A5178A.5050808@ru.mvista.com> @ 2006-07-03 10:59 ` Qichen Huang 0 siblings, 0 replies; 3+ messages in thread From: Qichen Huang @ 2006-07-03 10:59 UTC (permalink / raw) To: Andrei Konovalov; +Cc: linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 1778 bytes --] 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 > > > [-- Attachment #2: Type: text/html, Size: 2681 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-03 11:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 15:20 Problem with Xilinx Uart Lite Qichen Huang
2006-06-29 15:32 ` Andrei Konovalov
[not found] ` <b4ebaa9d0606290959w528cac73qd0674c3b1de33a15@mail.gmail.com>
[not found] ` <44A41C6B.4080701@ru.mvista.com>
[not found] ` <b4ebaa9d0606291210p5c8284b9mec6ee8d3ed4b0ad8@mail.gmail.com>
[not found] ` <44A5040B.8020508@ru.mvista.com>
[not found] ` <b4ebaa9d0606300426v2a0b47d4mc49232dcacec19e3@mail.gmail.com>
[not found] ` <44A5178A.5050808@ru.mvista.com>
2006-07-03 10:59 ` Qichen Huang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox