The system is Embeded Linux with kernel 2.6.14. And the CPU is MPC8270 of 
freescale. The rtc module is "Generic /dev/rtc emulation" and "Extended 
RTC operation". And the chip of rtc is ds1338 with the interface of i2c. 
The module of i2c has been included.

When i enable the dcache of mpc8270 and use "hwclock --hctosys" or 
"hwclock --show", the system will down. But if i disable dcache, it is ok. 

I found that when it call schedule_work(&genrtc_task) in the function 
"static inline int gen_set_rtc_irq_bit(unsigned char bit)" in file 
genrtc.c it will down.

Can you help me? 

Thanks.
Leo


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is 
solely property of the sender's organization. This mail communication is 
confidential. Recipients named above are obligated to maintain secrecy and are 
not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the originator of the 
message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to