Re: [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture.

2006-11-27 Thread Benjamin Zores
On Sun, 26 Nov 2006 20:10:17 +0100
Wolfgang Grandegger [EMAIL PROTECTED] wrote:

 - NR_IRQS is not defined. This is a problem with the include weirdness 
 due to radix-tree.h, IIRC. It is set to 512 for all PowerPC archs, puh, 
 that's overkill (but not our problem for the time being).

Indeed it seemed so.
On my private tree, i've fixed/redefined it to 512 to have it compile
(ugly hack though).

 _ipipe_grab_irq(): special IRQ numbers have changed. Check for 
 NO_IRQ_IGNORE in the attached patch. Also the new IRQ handling needs a 
 more detailed review (check irq.c in the powerpc tree).
 
 - disarm_decr[] has disappeared. It was used to disable the programming 
 of the decrementer in arch/ppc/kernel/time.c:timer_interrupt(). It needs 
 an appropriate replacement in the powerpc tree. A quick, untested hack 
 is in the attached patch.

I'll try to check on that.

 Hope this helps you to get a bit further (kernel booted).

Well, I hack a bit my patch to make it compile and the kernel already booted.
Though it hangs when loading the SATA driver.
I have no idea why atm.

Ben

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture.

2006-11-27 Thread Wolfgang Grandegger

Benjamin Zores wrote:

On Mon, 27 Nov 2006 12:21:25 +0100
Wolfgang Grandegger [EMAIL PROTECTED] wrote:


Well, I hack a bit my patch to make it compile and the kernel already booted.
Though it hangs when loading the SATA driver.
I have no idea why atm.

Problems with IRQs?


Probably, as when unplugging the SATA drive, the boot goes further
but then hang at USB detection (both are handlign IRQs a lot i guess).
Would be interesting if someone could test on other board than just mine.


As I pointed out in my previous mail, the IRQ handling is not yet 
correct for powerpc. Try to correct his first.


Wolfgang.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core