public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] 128 Mb virtual memory configuration for u-boot
@ 2010-08-05 17:19 Alexander Varnin
  0 siblings, 0 replies; only message in thread
From: Alexander Varnin @ 2010-08-05 17:19 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-05 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05 17:19 [U-Boot] 128 Mb virtual memory configuration for u-boot Alexander Varnin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox