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

[microblaze-uclinux] Additional serial port



Hello,

My earlier post has been solved through a great tip from Tsoi Kuen Hung -
the FPGA was simply running too hot.

I need to add 4 uart-lite serial ports to the Suzaku board. The uarts work OK 
through port accesses and I have changed the driver parameters to reflect the 
order of interrupts. I'm still using the distribution sources that come with 
the board and have only included the reverse IRQ lookup method I have seen in 
the CVS version of the serial driver. This is necessary because the uart's 
interrupts are not all in a row. Since the console works fine I think I've 
made no mistake there.
Moreover, I've extended the switch-case in xmbrs_irqinit up to 4.

I _have_ checked the synthesised design and the order of my interrupts is:
(0-timer,1-console,2-ethernet,3-serportA,4-serportB,5-serportC,6-serportD)

The kernel boot message is (debug for reverse lookup):
Microblaze UARTlite serial driver version 1.00
DEBUG: BUILD_table irq_lookup[1]=ttyS0
ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
DEBUG: BUILD_table irq_lookup[3]=ttyS1
ttyS1 at 0xffff4000 (irq = 3) is a Microblaze UARTlite
DEBUG: BUILD_table irq_lookup[4]=ttyS2
ttyS2 at 0xffff4100 (irq = 4) is a Microblaze UARTlite
DEBUG: BUILD_table irq_lookup[5]=ttyS3
ttyS3 at 0xffff4200 (irq = 5) is a Microblaze UARTlite
DEBUG: BUILD_table irq_lookup[6]=ttyS4
ttyS4 at 0xffff4300 (irq = 6) is a Microblaze UARTlite

In fact I've also tried to compile the entire CVS kernel but it is unable to 
find init and right now I don't know how to fix this.

I'd be very gratefull if someone could give me a hint how to get the driver to 
support more than the console uart or how to check for errors. I have tried 
to use printk in xmbrs_interrupt but that produced no output at all.

Regards,
eike
___________________________
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/