[uClinux-dev] Serial error output ?After sti() operate?

Gongfen Qiu water018 at 163.com
Wed Oct 19 12:21:53 EDT 2005


Hi,

	I got a strange problem.My serial has some error output.(arm7tdmi, uClinux, 
W90N740 borad).

this function(init/main.c):
asmlinkage void __init start_kernel(void)
{
	--------------------------------------
	if printk() write here ,then work very good.

	sti();

	if printk() here--------> has some error output(serial). about 0.1%?
	______________________
}

Maybe about interrupt? Then I read the interrupt mask register, the only time0 
interrupt is enable. Why do this sti ,then got some error serial, and every 
reset has different results.

Anyone help me?




More information about the uClinux-dev mailing list