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

Re: [microblaze-uclinux] uclinux port to Multimedia board



Didier,
see below,

didier delacretaz wrote:

> Hi,
>
> John Williams wrote:
>
>> Hi Didier,
>>
>> didier delacretaz wrote:
>>
>>> the value of the variable ticks in linux-2.4.x/init/main.c is 
>>> allways the same (0), i think that the problem comes from the timer, 
>>> but i can't find it. I checked the xparameters.h file and everything 
>>> seems right. The CPU_CLK_FREQ is set with the correct value.
>>
>>
>>
>> It seems like the timer interrupt is simply not running.  Confirm you 
>> have your timer peripheral connected to IRQ 0 (or have adjusted the 
>> setup code appropriately if that's not the case).
>>
> the interruption port of the mhs file:
> PORT Intr = ethernet_interrupt & debug_uart_interrupt & 
> console_uart_interrupt & timer_interrput

This looks like a misspelling to me "timer_interrput" can you check if 
you have the same name at the timer side

Aurash

>
> reading the csr register of the timer after the time of a tick returns 
> me the value of 0x1d0, the bit 23 is set to "1", an interrupt has 
> occured.
>
> I wasn't able to find witch interrupt function is called, in 
> linux-2.4.x/arch/microblaze/kernel/irq.c, I put a printk in the 
> begining of every function.
>
> Thanks,
> Didier
> ___________________________
> 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/
>
>


___________________________
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/