From: Wolfgang Denk Date: Mon, 15 Dec 2003 05:37:06 +0100 Subject: [U-Boot-Users] =?gb2312?B?U0RSQU0gYW5kIERSQU0gbWFwcGluZyBvbiBGQURT?= In-Reply-To: Your message of "Sat, 13 Dec 2003 13:07:12 +0800." <3FDA9E80.000010.12071@bjapp11> Message-ID: <20031215043711.D980FC5F5F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <3FDA9E80.000010.12071@bjapp11> you wrote: > > With these settings, bank 2 is mapped to 0x00000000~0x00ffffff, bank > 3 is mapped to 0x01800000~0x01ffffff. This is not the desired > mapping. The desired mapping is: 0x00800000~(0x01800000-1) => bank2, So change the mapping as desired. > 0x01800000~(0x02800000-1) => bank3. But I don't think we can get > this mapping by setting BR/OR2 and BR3/OR3 with appropriate values. What makes you think so? > So I think DRAM should be mapped at address 0 and SDRAM follows if > the DRAM size is 16MB or 32MB. You can define any mapping you like. This is done in software, so feel free to implrement whichever mapping makes sense. > Is my understanding correct? I don;t know. You did not explain why you think this or that. > --Boundary-=_AEdPcDyxqrbEmaHUPRnUdWsXLQqh > Content-Type: text/html; charset="gb2312" > Content-Transfer-Encoding: 8bit Arrrgh. Never post HTML, please. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Objects in mirror are closer than they appear.