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

[microblaze-uclinux] re: UART query



Hi Gunter,

Gunter wrote:

 > I have a board running the MicroBlaze with two MicroBlaze UARTs at a
 > different address as the MBVanilla design. To get uClinux going I have
 > to change the addresses. Is there a setup file I can change the
 > address or do I have to do it in a source/header file and recompile
 > the kernel?

You need to edit the file linux-2.4.x/include/asm-microblaze/xparameters.h

It's essentially the xparameters.h file generated by EDK, with a few
tweaks.  It should be obvious how to change it for what you need.  You
will then need to recompile the kernel for your changes to take effect.

It sounds ridiculous, but if you don't have your kernel build
environment going yet it might be easier to change the hardware (MHS) to
fit the kernel, rather than the other way around!

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/