[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Initial console problems
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.
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
If those who are having difficulties can please try this out, and report
your experiences here, that would be most helpful.
If this is indeed the problem then please accept my apologies for the
hassle. The chance was necessary to bring the microblaze arch into line
with the rest of the kernel with how it initialises the kernel console
at startup.
Regards,
John
___________________________
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/