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.

How to configure timer2 for Linux -OMAPL138

Other Parts Discussed in Thread: OMAPL138

Here in OMAPL138, Timer0 has been configured for Linux.

Here we have a problem, Since we wanted to use timer 0 for DSP BIOS(only 2 options available- Timer0 and Timer1 as dropdown in ccs 4.x/5.x)

How to change the timer0 configured for linux to timer2. as we do not want to touch the watchdog timer(timer1).

We want arm using timer2 and dsp using timer0 with watchdog(timer1).

Thanks in advance.

--

Zaheer

  • In the boot arguments you set clocksource equal to the timer you want linux to use.  "clocksource=timer1".  In my case I want the DSP to use all the timers so I tell Linux to use the "jiffies" timer.  For example my boot arguments are the following:

    setenv bootargs "clocksource=jiffies mem=32M console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1 ip=192.168.1.76:192.168.1.1:255.255.255.0"

    At the linux prompt type "cat /sys/devices/system/clocksource/clocksource0/available_clocksource to see what clocksources you can choose from.

    I am using Angstrom Linux.