[U-Boot-Users] IXDP size comments and board reset issue

Sam Song samsongshu at yahoo.com.cn
Tue Jan 18 05:46:34 CET 2005


Ara Avanesyan <araav at hylink.am> wrote:
> i am confused by the following comments:
> 1. board/ixdp425/flash.c
>  switch (value) {
> 
>  case (FPW) INTEL_ID_28F128J3A:
>   info->flash_id += FLASH_28F128J3A;
>   info->sector_count = 128;
>   info->size = 0x02000000;
>   break;  /* => 16 MB     */
> 
> the comment shows 16 mb (correctly) while it's
> assigned 32 mb

Actually, it's the comment updating later than code.
In this case, try to believe yourself. Most cases, I
perfer to believe code itself rather than comment:-)

> am i missing something?

No, the writer was too busy to synchronize them.
 
> Also I have another issue regarding to reset.
> After linux reboot, it calls hardware reset
> (arch_reset). My board hangs. 
> The same linux build resets fine with RedBoot. Is
> there anything specific 
> here? (i do not have debugger to debug it myself :(
> )

Well, an uneducated hint. Could you define
CFG_RESET_ADDRESS in <YOUR-BOARD.h> ?

=====
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_1g/




More information about the U-Boot mailing list