[U-Boot-Users] Interrupt in u-boot standalone application.

Leonid Leonid at a-k-a.net
Thu Nov 1 01:12:15 CET 2007


Hi:

I am trying to use interrupts (from serial DBGU port) in my u-boot
standalone application, running on at91rm9200. I initialize AIC using
examples from romboot but don't see any interrupts. Looks like
interrupts are not enabled in u-boot. 

When I try to enable interupts in u-boot startup code

#define ARM_MODE_SYS    0x1F

#define I_BIT           0x80
#define F_BIT           0x40
.....................

/* Enable interrupts */
                msr     CPSR_c, #ARM_MODE_SYS | F_BIT 

system doesn't come up.

What should I do to enable intrrupts and to get DBGU RX interrupt?

Thanks,

Leonid.




More information about the U-Boot mailing list