[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Serial ports hangs
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] Serial ports hangs
- From: DeviPrasad Natesan <ndprasad@xxxxxxxxx>
- Date: Fri, 4 Nov 2005 14:56:54 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eIK6xfcnLQ08zM+1wgrKRDlw3/gKRSzEIpx0Lah32gZFKKFKmjMUxVn/5vBoDRG7dKyrB76QOV5OItfvdcHRqwU5UOVHrJv7TPVceS1hEc9KjHn0DhixSKU7FZvWOYAvEji2oBeBaUcHkhf79LUIojg/jy345JKV1tyJOr6oOT0=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
Hi,
While trying to bring up the kernel with the custom board, i kinda got
struck at the login prompt when the serial port freezes. If i remove
the line from the inittab (ttyS0:unknown:/bin/agetty) and run the
kernel again, i get the shell prompt without the login and then if i
exectute the agetty from the shell, the login process suceeds. I am
not sure what is the problem. I have enabled debugging in the
sys_execve in process.c and the DEBUGGING flag in the simpleinit.c.
Interesting part is the microblaze is still running, i can ping the
board and when the port ethernet cable is removed, it prints ("eth0:
Link carrier lost") in the serial port.
Please let me know or some pointers to solve this issue. (I checked
the serial port interrupt is happening).
Please see the log of the boot message below.
Thanx
- Prasad
===================================================================
Linux version 2.4.31-uc0 (mblaze@DeviPrasad) (gcc version 3.4.1 (
Xilinx EDK 8.5On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line:
Console: xmbserial on UARTLite
Calibrating delay loop... 49.76 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30164KB available (1077K code, 1163K data, 52K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 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
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 1) is a Microblaze UARTlite
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using fifo mode.
eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=3
eth0: id 2.0h; block id 7, type 1
uclinux[mtd]: RAM probe address=0x24144d04 size=0xec000
mtd: Giving out device 0 to RAM
uclinux[mtd]: root filesystem index=0
MicroBlaze auto-config flash probe(0xff800000,8388608,4): 800000 at ff800000
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x40000,blocks=32
Using buffer write method
Creating 8 MTD partitions on "Flash":
0x00000000-0x00004000 : "Bootloader"
mtd: partition "Bootloader" doesn't end on an erase block -- force read-only
mtd: Giving out device 1 to Bootloader
0x00004000-0x00008000 : "Bootargs"
mtd: partition "Bootargs" doesn't start on an erase block boundary --
force reaymtd: Giving out device 2 to Bootargs
0x00008000-0x0000c000 : "MAC"
mtd: partition "MAC" doesn't start on an erase block boundary -- force
read-onlymtd: Giving out device 3 to MAC
0x00010000-0x00020000 : "Config"
mtd: partition "Config" doesn't start on an erase block boundary --
force read-ymtd: Giving out device 4 to Config
0x0000c000-0x00010000 : "Spare"
mtd: partition "Spare" doesn't start on an erase block boundary --
force read-oymtd: Giving out device 5 to Spare
0x00100000-0x00400000 : "Image"
mtd: Giving out device 6 to Image
0x00400000-0x00800000 : "JFFS2"
mtd: Giving out device 7 to JFFS2
0x00000000-0x00800000 : "Flash"
mtd: Giving out device 8 to Flash
MicroBlaze auto-config ram probe(0x24144d04,966656,4): ec000 at 24144d04
Creating 1 MTD partitions on "RAM":
0x00000000-0x000ec000 : "Romfs"
mtd: Giving out device 9 to Romfs
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 52K
hello from sys_execve(/sbin/init)
hello from sys_execve(/bin/sh)
hello from sys_execve(/bin/echo)
Mounting prochello from sys_execve(/bin/mount)
:
hello from sys_execve(/bin/echo)
Mounting hello from sys_execve(/bin/mount)
var:
hello from sys_execve(/bin/echo)
Populatinhello from sys_execve(/bin/mkdir)
hello from sys_execve(/bin/mkdir)
hello from sys_execve(/bin/chmod)
g /var:
hello from sys_execve(/bin/echo)
Running lhello from sys_execve(/bin/[)
ocal start scripts.
hello from sys_execve(/bin/sh)
hello from sys_execve(/bin/echo)
Mounting hello from sys_execve(/bin/mount)
/etc/config:
hello from sys_execve(/bin/echo)
Populatinhello from sys_execve(/bin/flatfsd)
g /etc/config:
MTD_open
flatfsd: NoMTD_open
nexistenthello from sys_execve(/bin/[)
or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): Permission denied
flatfsd: Created 3 configuration files (618 bytes)
hello from sys_execve(/bin/sh)
hello from sys_execve(/bin/echo)
Setting hhello from sys_execve(/bin/hostname)
ostname:
hello from sys_execve(/bin/[)
hello from sys_execve(/bin/sh)
hello from sys_execve(/bin/echo)
Setting uhello from sys_execve(/bin/ifconfig)
p interface lo:
hello from sys_execve(/bin/echo)
Starting hello from sys_execve(/bin/dhcpcd)
DHCP client:
hello from sys_execve(/bin/[)
hello from sys_execve(/bin/sh)
hello from sys_execve(/bin/echo)
hello from sys_execve(/bin/thttpd)
hello from sys_execve(/bin/sh)
toks= /bin/sh (null) $(.($(.($(.0$(.0$(.8$#..$#..
tty= console
hello from sys_execve(/bin/sh)
termcap= linux
toks= /bin/agetty ttyS0 9600 (null)
tty= ttyS0
termcap= unknown
toks= /bin/flatfsd (null)
$(..$(..$(..$(..$(.b$(.b$(.�$(.$(.�$(.�$(hello from sys_exe
)..�$(.�$(..$(..$(.$(..$(.�$(.�$(.
tty= flt
termcap= unknown
# hello from sys_execve(/bin/flatfsd)
hello from sys_execve(/etc/config/dhcpcd-change)
uclinux-auto login:
===============================================================
(This is the point where shell freezes)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/