* no login prompt with ml403 + uartlite-->major numbers?
@ 2006-06-28 12:14 Robert Zach
2006-06-28 15:06 ` Grant Likely
0 siblings, 1 reply; 3+ messages in thread
From: Robert Zach @ 2006-06-28 12:14 UTC (permalink / raw)
To: linuxppc-embedded
Hello!
I use the "Standart" ml403 Design with the uartlite instead of the
uart16550...
my kernel parameters are:
"console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw"
It boots correctly, but i got no login prompt!!
getty is started with init.
my inittab looks like:
...
::respawn:/sbin/getty 9600 ttl0
...
I use devfs.
Is the inittab entry correct?
Which device is the uartlite in devfs?
Which major numbers uses the uartlite?
thanks in advanced!
nice greetings,
Robert Zach
loaded at: 00400000 004CC1E0
board data at: 004C9138 004C9150
relocated to: 0040530C 00405324
zimage at: 004058D1 004C885F
avail ram: 004CD000 04000000
Linux/PPC load: console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.26 (sem03@escola06) (gcc version 3.4.1) #3 Wed Jun 28
13:19:30
CEST 2006
Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc.
(source@mvista.com)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw
Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFF000
Calibrating delay loop... 299.82 BogoMIPS
Memory: 62884k available (1420k kernel code, 400k data, 56k init, 0k
highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Partition check:
xsysacea: p1 p2 p3
System ACE at 0x41800000 mapped to 0xC5000000, irq=28, 500472KB
eth0: using fifo mode.
eth0: No PHY detected. Assuming a PHY at address 0.
eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0xC5013000, irq=31
eth0: id 2.0h; block id 7, type 1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on System ACE(254,3), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 56k init
XDS ML403 powerpc linux 2.4.26 Training
Starting system...
Starting Network
Start syslogd
done.
Start klogd
done.
System Started.
eth0: Link carrier lost.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no login prompt with ml403 + uartlite-->major numbers?
2006-06-28 12:14 no login prompt with ml403 + uartlite-->major numbers? Robert Zach
@ 2006-06-28 15:06 ` Grant Likely
0 siblings, 0 replies; 3+ messages in thread
From: Grant Likely @ 2006-06-28 15:06 UTC (permalink / raw)
To: Robert Zach; +Cc: linuxppc-embedded
On 6/28/06, Robert Zach <rza1@so-logic.co.at> wrote:
> Hello!
>
> I use the "Standart" ml403 Design with the uartlite instead of the
> uart16550...
>
> my kernel parameters are:
> "console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw"
>
> It boots correctly, but i got no login prompt!!
> getty is started with init.
> my inittab looks like:
> ...
> ::respawn:/sbin/getty 9600 ttl0
Looks ok. busybox I assume. You might try:
ttl0::respawn:/sbin/getty 9600 ttl0
You could try just launching a shell on the console. Then you can
look around and see what's there:
::respace:/bin/sh
> ...
>
> I use devfs.
Ugh. You should turn off devfs and build a static /dev folder for the
time being. Otherwise you've got no idea if devfs is putting the
right things into /dev. If you *really* want to, you can go back to
devfs later (but I don't recommend it).
> Is the inittab entry correct?
I think so
> Which device is the uartlite in devfs?
I don't know; read the source. Look for where it registers with devfs
to get the expected name. Does the uartlite driver you're using even
support devfs?
>
> Which major numbers uses the uartlite?
I don't know; it should be easy to find in the driver source
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no login prompt with ml403 + uartlite-->major numbers?
[not found] <mailman.1193.1151524639.11183.linuxppc-embedded@ozlabs.org>
@ 2006-06-28 20:14 ` T Ziomek
0 siblings, 0 replies; 3+ messages in thread
From: T Ziomek @ 2006-06-28 20:14 UTC (permalink / raw)
To: linuxppc-embedded
> On 6/28/06, Robert Zach <rza1@so-logic.co.at> wrote:
>> Hello!
>>
>> I use the "Standart" ml403 Design with the uartlite instead of the
>> uart16550...
>>
>> my kernel parameters are:
>> "console=ttl0 ip=off root=/dev/xsysace/disc0/part3 rw"
>>
>> It boots correctly, but i got no login prompt!!
>> getty is started with init.
>> my inittab looks like:
>> ...
>> ::respawn:/sbin/getty 9600 ttl0
At a lower level...are you keeping in mind that the UART-Lite baud rate (and
probably parity, stop bits, # of data bits) is set in hardware? So any at-
tempt to specify settings in software (e.g. your 'getty' line above, or on
the kernel cmd line) have no effect. If your console isn't set to match the
UART-Lite's hardware settings you're going to see gibberish, or nothing.
Tom
--
/"\ ASCII Ribbon Campaign |
\ / | Email to user 'CTZ001'
X Against HTML | at 'email.mot.com'
/ \ in e-mail & news |
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-28 20:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 12:14 no login prompt with ml403 + uartlite-->major numbers? Robert Zach
2006-06-28 15:06 ` Grant Likely
[not found] <mailman.1193.1151524639.11183.linuxppc-embedded@ozlabs.org>
2006-06-28 20:14 ` T Ziomek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).