This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Enabling Timer Interrupt In Linux.

Hi All,

I am Trying to Enable Timer interrupt for Beaglebone - A3 . I have "linux-3.1.0-psp04.06.00.03.sdk" & "u-boot-2011.09-psp04.06.00.03".

I have few queries :

1. Should i enable the Timer interrupt in U-boot or Linux ?

2. In u-boot the file "board-support\u-boot-2011.09-psp04.06.00.03\arch\arm\cpu\armv7\omap-common" has defination timer_init(). should i add the following statement 

     a) Timer Load value.

     b) Enable Timer

     c) Enable Compare .

     d) Start the timer.

3) I hope the initial MIR and ILR registers are written and interrupts are Enabled in U-boot.

4) The next thing i need to do is write a code to toggle GPIO in timer_isr.

5) I have gone through an Example in  "board-support\u-boot-2011.09-psp04.06.00.03\arch\arm\cpu\arm720t" where i can see the interrupt handler installed . should i follow the same thing to load the ISR_handler address.

I am not sure about the Linux files to be changed.

I am Expecting for Small pointer towards the istallation of the handler process and Modifications to be done.

Thanking u all in advance and Expecting for few pointers

Hrishikesh!!