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

Re: [microblaze-uclinux] Problem with ML300



Jon Masters wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Roberto Farina wrote:
> 
> | If you've got any suggestion.... ;)
> 
> Check you are registering your xmbrs serial driver as the console and
> that the IRQ and UART parameters are indeed correct for the board.
> 
> I imagine you are unable to do interrupt driven IO on the UART.

Further to Jon's comment - These parameters are set in a struct array 
initialiser at the top of linux-2.4.x/arch/microblaze/kernel/xmbserial.c

However, this business with the timer and interrupts etc is suspicious. 
  Some questions:

  - Have you reordered any of the IRQs in system.mhs (ie the order of 
the interrupt signals coming into the interrupt controller?  The kernel 
expects the timer to be IRQ 0 (see arch/microblaze/kernel/time.c:161-169)

- Are you doing anything else with the timer peripheral?  The opb_timer 
has two channels, and again the kernel is assuming that channel 0 is 
used as the system clock (mbvanilla.c:205 , microblaze_timer.c:22 and 
time.c:54).

- have you changed the base address of the timer (or any other periphs 
for that matter) in system.mhs, but not updated 
linux-2.4.x/include/asm-microblaze/xparameters.h?

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/