From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:18:58
|
If you got a good connection you could download our git repositories, I merged my lethal tree with jlime tree so its not always easy to spot the differences. The board specific code should be compiled I think, but need to double check. in jlime-current.git OFFCHIP_IRQ_BASE is defined as hmmm, I got same as you. Really weird, I should get exact same error. In my board/hp6xx/setup.c mv_nr_irq is set to use HD64461_IRQBASE + HD64461_IRQ_NUM, really strange that you got something else. I'll try and run a quick diff to see whats in lethals. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |