[U-Boot] 128 Mb virtual memory configuration for u-boot
Alexander Varnin
fenixk19 at mail.ru
Thu Aug 5 19:19:23 CEST 2010
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
More information about the U-Boot
mailing list