From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Varnin Date: Thu, 05 Aug 2010 21:19:23 +0400 Subject: [U-Boot] 128 Mb virtual memory configuration for u-boot Message-ID: <4C5AF29B.6000004@mail.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. I'm using ARM based system (samsung smdk2443) and u-boot (old, from samsung). Previously, it was set up to use 64 Mb of RAM. But we have 128 Mb on board. I have reconfigured MMU and some definitions (i.e. PHYS_SDRAM_1_SIZE). But then i found out, that virtual addresses 0x835a0000 and 0x875a0000 point to the same physical address. Something is wrong with configuration, but what? Thanks in advance. Here is MMU table: mmu_table: .set __base,0 /* 1:1 mapping for debugging */ .rept 0x600 FL_SECTION_ENTRY __base,3,0,0,0 .set __base,__base+1 .endr /* access is not allowed. */ .rept 0x800 - 0x600 .word 0x00000000 .endr .set __base, 0x300 .rept 0x880 - 0x800 FL_SECTION_ENTRY __base,3,0,1,1 .set __base,__base+1 .endr /* access is not allowed. */ .rept 0x1000 - 0x880 .word 0x00000000 .endr