From: Wolfgang Denk Date: Mon, 04 Oct 2004 00:40:35 +0200 Subject: [U-Boot-Users] pagetable / BDI2000 question In-Reply-To: Your message of "Sat, 02 Oct 2004 14:38:07 -0000." Message-ID: <20041003224040.40472C1430@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 you wrote: > This is not specifically a u-boot question, but involves some things that > knowledgeable u-boot person may have insight into. Actually this is 100% off topic here. > initialization our system bridge chip (Marvell 64360 / DiscoveryII) is > remapped to a new virtual address (via the ioremap() kernel call). At that > point the new virtual address returns bad data. > > Physical address is: 0xF1000000 > Original virtual address: 0xF1000000 > Remapped virtual address: 0xEF5F0000 0xEF5F0000 is obviously a bogus address. How exactly did you call ioremap() ? And why do you have (and need) an "original virtual address" at all? > Here is the key question: How is it possible that the same location in memory > accessed via the BDI2000 and accessed programmatically return DIFFERENT values. The BDI2000 (through the telnet interface) uses physical addresses. 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 "There's only one way to have a happy marriage and as soon as I learn what it is I'll get married again." - Clint Eastwood