Skip to contentSkip to conversation

Porting to Intel IXP425

Adeos-main Richard Cochran 3 participants 4 messages Apr 2, 2007 – Apr 3, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines

This is needed for machines where the hardware timer is based on a decrementer. But for machines with a free-running counter and a match register, reading the value of the free-running counter is simpler. IXP425 is in the "free-running counter and match register category". So, its implementation should look like the one of the PXA.

The IXP425 does not have a match register, AFAICT.

It does have four 32-bit counters clocked at 66.66 MHz: a watch dog, a free-running timestamp, and two general purpose timers.

The general purpose timers may be used either as one-shot timers (count down to zero and stop) or as periodic times (count down, automatically reload, and keep going).

I already have xenomai running on the IXP425, but I will have to take a closer look at the timer code.

Richard

#2 lore raw

Am Montag, den 02.04.2007, 08:52 +0200 schrieb Richard Cochran:

Quoted 11 lines
Quoted 5 lines

This is needed for machines where the hardware timer is based on a decrementer. But for machines with a free-running counter and a match register, reading the value of the free-running counter is simpler. IXP425 is in the "free-running counter and match register category". So, its implementation should look like the one of the PXA.

The IXP425 does not have a match register, AFAICT.

It does have four 32-bit counters clocked at 66.66 MHz: a watch dog, a free-running timestamp, and two general purpose timers.

Quoted 8 lines

The general purpose timers may be used either as one-shot timers (count down to zero and stop) or as periodic times (count down, automatically reload, and keep going).

I already have xenomai running on the IXP425, but I will have to take a closer look at the timer code.

Richard

Then you have to implement it like I described.

Take a look at the implementation for integrator-platforms. (Timer with wraparound)

- Manfred Schlaegl

#3 lore raw
Quoted 20 lines · Schlägl Manfred jun.

Am Montag, den 02.04.2007, 08:52 +0200 schrieb Richard Cochran:

Quoted 18 lines
Quoted 5 lines

This is needed for machines where the hardware timer is based on a decrementer. But for machines with a free-running counter and a match register, reading the value of the free-running counter is simpler. IXP425 is in the "free-running counter and match register category". So, its implementation should look like the one of the PXA.

The IXP425 does not have a match register, AFAICT.

It does have four 32-bit counters clocked at 66.66 MHz: a watch dog, a free-running timestamp, and two general purpose timers.

The general purpose timers may be used either as one-shot timers (count down to zero and stop) or as periodic times (count down, automatically reload, and keep going).

I already have xenomai running on the IXP425, but I will have to take a closer look at the timer code.

Quoted 7 lines
Quoted 1 line

Richard

Then you have to implement it like I described.

Take a look at the implementation for integrator-platforms. (Timer with wraparound)

I have tried to put together on Xenomai wiki some ideas on porting the ARM I-pipe patch on a new platform. I have not explained the case of the integrator, in the hope that others who know better could modify the howto.

http://www.xenomai.org/index.php/I-pipe:ArmPorting

Signature · 1 line
                                                 Gilles Chanteperdrix
#4 lore raw
Quoted 6 lines

I have tried to put together on Xenomai wiki some ideas on porting the ARM I-pipe patch on a new platform. I have not explained the case of the integrator, in the hope that others who know better could modify the howto.

http://www.xenomai.org/index.php/I-pipe:ArmPorting

This looks good. I will add to this, or refine it, based on my experience with the IXP425.

I now have Xenomai running on the IXP425. I will test this for a while and then post a patch on this list. I still need to get a release from "management", but I expect to get the okay. However, the gate keeper is away for two weeks, so please be patient!

Many thanks to all,

Richard