Dear all,
In one of our modules for power fail handling, there is a need to use
interrupts trough which our ISR will invoke and run. The requirement
is such that whenever power fail condition occurs i.e. detecting
through a H/W circuit in the response 0 or 1 will be receive at one
DIO lines that is dedicated for interrupt generation at IRQ -
GPIO0INTR 20 or GPIO1INTR 21 or GPIO2INTR 22 or GPIOINTR 59,
the VIC(vectored interrupt controller) should send an interrupt
request (IRQ) to the CPU, in response ISR will run, should call the
desired interrupt handler routine which would save the exit status of
the application into CMOS.
For this purpose we used Vectored Interrupt Controllers using GPIOINTR
no. 59 configured for port B as provided in EP9301 User Guide for ARM9
SBC. But using this facility, we are not getting the desired results
because the interrupt handler routine is not getting called when the
CPU is interrupted by the hardware.
Alternatively, we also used request_irq routine that registers
specified IRQ number to a handler routine (ISR) for device, caused to
handle the interrupt. But after compiling this code, giving lots of
undefined references and error in kernel level files perhaps I included
Kernel files kernel.h,linux/sched.h and linux/interrupt.h etc.
I think for this we have to go in kernel mode, reconfigure & recompile
the kernel at Redboot at user level, how to make it possible.
Queries need to find out
 Can you suggest how to generate any interrupt?
 How to create terminal?
 How can we load our own device in the kernel & compile it?
 How can we save the original kernel contents before making any
changes to the kernel?
Please provide solutions to these queries if it is possible as earliest?
Regards,
Manmohan
+919848743305
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|