From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Kan Date: Tue, 09 Sep 2008 13:19:18 -0700 Subject: [U-Boot] [Add tlbentry problem] In-Reply-To: <000001c90142$03ca7900$0b5f6b00$@com> References: <000001c90142$03ca7900$0b5f6b00$@com> Message-ID: <48C6DA46.1080804@amcc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Yshim: Please check your EBC CR value, if you configure for 2M, then thats what you will get. Feng Kan ??? 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?. > > > > Are there anything to do, when I want to attatch new devices???? > > > > Best Regards? > > > > > > > > >