From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Add tlbentry problem]
Date: Mon, 18 Aug 2008 17:28:58 +0200 [thread overview]
Message-ID: <200808181728.58259.sr@denx.de> (raw)
In-Reply-To: <000001c90142$03ca7900$0b5f6b00$@com>
On Monday 18 August 2008, ??? 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)
With this you defined the bank size to 2MB. So a bus error for access "after"
these 2MB is to be expected. Try this instead:
#define CFG_EBC_PB4CR (CFG_DSP_BASE | 0xfa000)
This will only cover 128MB though as this is the max for an EBC bank size.
Best regards,
Stefan
=====================================================================
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: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-08-18 15:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 14:52 [U-Boot] [Add tlbentry problem] 김영순
2008-08-18 15:28 ` Stefan Roese [this message]
2008-09-09 20:19 ` Feng Kan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200808181728.58259.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox