Porting MIPS IRQ handler to ARM

Måns Rullgård mans at mansr.com
Fri Sep 4 14:49:28 PDT 2015


Mason <slash.tmp at free.fr> writes:

> On 04/09/2015 18:36, Måns Rullgård wrote:
>
>> Mason wrote:
>> 
>>> There's just too much DT syntax that flies light-years over my head.
>>> #address-cells, #size-cells, #interrupt-cells, ranges, aliases, etc.
>>> Basically, all I understand is /dts-v1/;
>>> (Anyone have links to good tutorials?)
>>>
>>> I've attached the current version I'm playing with (I tried to make it
>>> as small as possible). If some charitable soul spots an obvious problem...
>>> (Commented blocks have been tested uncommented, of course.)
>> 
>> What happens when you try to boot with this device tree?
>
> It panics in tangox_irq_init IIRC.
>
>> Are you sure these addresses are correct?  Those are the values from
>> tango3.
>
> AFAIU, that HW block hasn't changed in a long time, but I'll
> double-check to be sure.

Even if the HW block itself is unchanged, it may be mapped at a
different address.  ARM and MIPS systems generally have quite
different-looking memory maps, so I'd actually be surprised if hasn't
been moved.

-- 
Måns Rullgård
mans at mansr.com



More information about the linux-arm-kernel mailing list