[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] printk disables interrupts
Hi,
My boot stalls in calibrate_delay function. I have made some proves testing
timer interrupt, and it seems to be ok. However when I try to boot uclinux
just two timer interrupts are catched (jiffies updated). I have put a call for
reading MSR inside the while-nothing loop in calibration_delay and I have
discovered interrupts are disabled.
I have tested that IE bit at MSR is actived when the function starts (the
previous function executed by start_kernel was sti) and then the surprise:
calls to printk leave the IE bit disabled. I have read the xmbrs_put_char
code and the interrupts are disabled at the beginning and enabled at the end.
But, the flags this function store have already disabled the IE bit.
If I enable the IE bit after the printk("Calibrating delay loop..") the
BogoMips are calculated.
has someone seen this behaviour?
Thanks.
--
Alejandro Lucero
OS3, OS Serveis i Solucions
www.os3sl.com
Ingeniería Informática
+34 665687168
Av.Benjamin Franklin
CEEI. Parque Tecnológico de Paterna
Valencia(Spain)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/