From: Fabio G. <fg...@ti...> - 2002-04-03 14:13:15
|
Sorry, but I don't understand what means: "unexpected IRQ trap at vector 0d" I suppose it is an interrupt always entering but I don't understand what is its source. Thanks. Fabio On Tuesday 02 April 2002 14:27, Stuart Menefy wrote: > Hi Fabio > > You might like to have a look at the 'board porting guide' a colleague > here wrote. Have a look at: > http://www.linuxsh.st.com/getting_started/board_porting.php3 > > As far as I know, you'll be the first person to try it in anger, so any > comments welcome! > > You're right, it sounds like you have a pending interrupt. So the first > thing I'd do is stick a printk at the start of do_IRQ(), and print the irq > number (just after the little bit of asm code which retreives it). > > Stuart > > > On Fri, 29 Mar 2002 10:55:32 +0100 > > fg...@ti... wrote: > > Hi, Stuart, > > I' porting linux SH on my sh3 7709a based board. > > I'm able to compile and run for my board sh-boot got from CVS repository, > > I'm able to compile the kernel 2.4.18 and I can boot it using gdb. > > > > Making a debug using printk("...."); while(1); to understant I see that > > kernel stops execution at init/main.c -> start_kernel -> sti(); > > > > I compiled my kernel as my board were a SolutionEngine, but my board > > isn't a SolutionEngine. > > > > Having read the Documentation/sh/ document from the CVS kernel and > > seeing you are the father of sh_mv model, I write to you for asking: > > 1) Is it possible when I enable the interrupt mask with sti() an > > interrupt pending occurs which I have no handler for? > > > > 2) There is an optiminezed way to trace this kind of troubles? > > > > > > Thanks a lot. > > > > Fabio |