Thread (1 message) 1 message, 1 author, 2015-09-04

Porting MIPS IRQ handler to ARM

From: Måns Rullgård <hidden>
Date: 2015-09-04 21:49:28

Mason [off-list ref] writes:
On 04/09/2015 18:36, M?ns Rullg?rd wrote:
quoted
Mason wrote:
quoted
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.
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help