* [U-Boot-Users] IXDP size comments and board reset issue
[not found] <20050117042925.B7F5CF8DB@sc8-sf-spam2.sourceforge.net>
@ 2005-01-17 10:58 ` Ara Avanesyan
2005-01-18 4:46 ` Sam Song
0 siblings, 1 reply; 3+ messages in thread
From: Ara Avanesyan @ 2005-01-17 10:58 UTC (permalink / raw)
To: u-boot
Hi all,
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
2. configs/ixdp425.h
/*
* Physical Memory Map
*/
#define CONFIG_NR_DRAM_BANKS 1 /* we have 2 banks of DRAM */
defined 1 but commented 2 banks.
am i missing something?
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 :( )
Thanks!
Ara
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] IXDP size comments and board reset issue
2005-01-17 10:58 ` [U-Boot-Users] IXDP size comments and board reset issue Ara Avanesyan
@ 2005-01-18 4:46 ` Sam Song
2005-01-20 9:06 ` Ara Avanesyan
0 siblings, 1 reply; 3+ messages in thread
From: Sam Song @ 2005-01-18 4:46 UTC (permalink / raw)
To: u-boot
Ara Avanesyan <araav@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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] IXDP size comments and board reset issue
2005-01-18 4:46 ` Sam Song
@ 2005-01-20 9:06 ` Ara Avanesyan
0 siblings, 0 replies; 3+ messages in thread
From: Ara Avanesyan @ 2005-01-20 9:06 UTC (permalink / raw)
To: u-boot
>> 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> ?
>
Oh, seems I figured out what's the problem. That is, after ixdp reset the
flash is not resetted and is in undefined state. There is a good discussion
about this topic at arm-linux mailing list.
One needs to manually reset flash somewhere before the arch_reset function.
Hey I got u-boot running on avila board, i'll soon write a small description
of how i ported it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-20 9:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050117042925.B7F5CF8DB@sc8-sf-spam2.sourceforge.net>
2005-01-17 10:58 ` [U-Boot-Users] IXDP size comments and board reset issue Ara Avanesyan
2005-01-18 4:46 ` Sam Song
2005-01-20 9:06 ` Ara Avanesyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox