[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Initial console problems




This is exactly what i am receiving I get it repeat over and over and over but have yet ot get it to boot at all. Even with making these changes.  I have no ethernet or system ace, but am using gpio.  I think I may have to try an older kernel to since it seems to be broken right now.  But exactly how can I obtain an old kernel tree to try prior to this issue arising?
Brett



Claudio Lanconelli <lanconelli.claudio@eptar.com>
Sent by: owner-microblaze-uclinux@itee.uq.edu.au

04/20/2005 10:20 AM

Please respond to
microblaze-uclinux@itee.uq.edu.au

To
microblaze-uclinux@itee.uq.edu.au
cc
Subject
Re: [microblaze-uclinux] Initial console problems





John Williams wrote:

> Hi folks,
>
> A few people have recently reported a problem with the kernel opening
> the console - I've just done a build from fresh CVS kernel + dist,
> with the patch identified on the website:
>
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Downloads/_files/microblaze-vendors-20050215.patch
>
>
> and it's working fine at this end.
>
> However, I think the problem is related to some changes I commited to
> CVS last Friday afternoon, where I shuffled around the handling of the
> consle for microblaze.  You can check the CVS logs for a complete
> description of what it was for, but for the fix I think you want to
> ensure the following:
>
> 1. your entire kernel is up to date on CVS, not just the microblaze
> arch.  In particular, there were changes in drivers/char/tty_io.c,
> that you will need for all to work as expected.

I updated all the kernel tree again, just to be sure, but the problems
is not solved

>
> 2. if you have created a "custom" platform, in
> arch/microblaze/platform/MyPlatform, you need to edit the machine.c
> file in that directory, and remove the following line:
>
>     xmbrs_console_init();
>
> in the function mach_setup()
>
> Since you've created your own platform, the CVS update won't touch
> your new version of machine.c, you must make this change manually.  
> This is illustated nicely in the following CVS diff snapshot:
>
> http://cvs.uclinux.org/cgi-bin/cvsweb.cgi/uClinux-2.4.x/arch/microblaze/platform/uclinux-auto/machine.c.diff?r1=1.6;r2=1.7;f=h

I use uclinux-auto platform without ethernet and gpio and with systemace.

>
>
> If those who are having difficulties can please try this out, and
> report your experiences here, that would be most helpful.
>
I tried to rebuild the kernel and this time the error message appears
continuously after the boot:

Linux version 2.4.29-uc0 (lanco@claudio) (gcc version 2.95.3-4 Xilinx
EDK 6.3 Build EDK_Gmm.12.2) #1 Wed Apr 20 15:42:54 CEST 2005
On 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... 16.23 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30268KB available (1101K code, 1036K data, 40K 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 0xffff2000 (irq = 1) is a Microblaze UARTlite
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Initializing SystemAce driver
Partition check:
xsysacea: xsysacea1 xsysacea2
System ACE at 0xFFFE0000 mapped to 0xFFFE0000, irq=2, 125440KB
MBVanilla flash probe(0xff000000,8388608,4): 800000 at ff000000
CFI: Found no Flash device at location zero
Search for id:(00 00) interleave(2) type(2)
Search for id:(00 00) interleave(2) type(2)
Search for id:(00 00) interleave(2) type(2)
Search for id:(00 00) interleave(2) type(1)
Search for id:(00 00) interleave(2) type(1)
Search for id:(00 00) interleave(2) type(1)
Search for id:(00 00) interleave(4) type(2)
Search for id:(00 00) interleave(4) type(2)
Search for id:(00 00) interleave(4) type(2)
Search for id:(00 00) interleave(4) type(1)
Search for id:(00 00) interleave(4) type(1)
Search for id:(00 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MBVanilla ram probe(0x8014ec24,819200,4): c8000 at 8014ec24
Creating 1 MTD partitions on "RAM":
0x00000000-0x000c8000 : "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 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
release_dev: driver.table[60] not tty for (04:40)
Warning: unable to open an initial console.
Warning: dev (04:40) tty->count(2) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(2) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(3) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(3) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(4) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(4) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(5) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(5) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(6) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(6) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(7) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(7) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(8) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(8) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(9) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(9) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(10) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(10) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(11) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(11) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(12) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(12) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(13) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(13) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(14) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(14) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(15) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(15) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(16) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(16) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
Warning: dev (04:40) tty->count(17) != #fd's(1) in tty_open
Warning: dev (04:40) tty->count(17) != #fd's(1) in release_dev
release_dev: driver.table[60] not tty for (04:40)
...

I'll checkout an old kernel version and give it a try.

Cheers,
Claudio Lanconelli
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/