Hello,

김영순 wrote:
> I’ve worked on my custum board based on SEQUOIA.
> 
> 
> I’d like to add new device (DSP, SIZE=256M, CS4).
> I added tlbentry(256M) in init.S and defined CS4 in sequoia.h.
> 
> Init.S:
>            /* TLB-entry for EBC(DSP) */
>           tlbentry( CFG_DSP_BASE, SZ_256M, CFG_DSP_BASE, 1,
> AC_R|AC_W|AC_X|SA_G|SA_I )
> 
> sequoia.h:
> #define CFG_DSP_BASE              0xd0000000
> #define CFG_EBC_PB4AP             0x05014300
> #define CFG_EBC_PB4CR             (CFG_DSP_BASE | 0x3a000)
> 
> The problem is this.
> When I access over 2Mbytes area of DSP4(Over d0200000), I’ve got bus
> error in my application.
> Accessing to under 2Mbytes, it works well….

This behavior is expected because you configured CS4 bank size
for 2 MB. But you can configure max. 128 MB for EBC bank size, so
you need additional chip select to be able to cover 256 MB range.

> Are there anything to do, when I want to attatch new devices????

Proper HW design and configuration of bank access parameters?

> ------=_NextPart_000_000D_01C9018B.214C4BE0
> Content-Type: text/html;
>       charset="ks_c_5601-1987"
> Content-Transfer-Encoding: quoted-printable

Please do not post to old list and do not post HTML.

Best Regards,
Anatolij

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to