
Wolfgang Denk wd@denx.de wrote:
But one exception for serial console driver. I found there wasn't enable control of UART receiver in 8xx kerenl serial console driver uart.c. Maybe this driver make a assumption that boot loader does this job?
It should not. But there are bugs and bugs and ...
So I know what the driver could be...
IMHO, if one person did u-boot and kernel port both, he would have the chance to consider the harmony between U-Boot and Kernel. So some initialization like receiver enable in kernel driver could be omitted. Is this an informal idea?
Actually it is a bad idea if the kernel makes assumptions about which boot loader is used, or which initializations the boot loader performes. Yes, we all like U-Boot more than every other boot oader, but why knows what sort of boot loader the next guy booting your kernel wants or has to use? Don't make life more difficult for him than absolutely necessary.
Hi, Wolfgang. I appreciate your reply in the view of kernel rather than u-boot. Well, sounds a little bit late to answer your help but after a deep consideration:-)
Thanks very much and Happy New Year!
===== Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...