All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Varnin <fenixk19@mail.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot] 128 Mb virtual memory configuration for u-boot
Date: Thu, 05 Aug 2010 21:19:23 +0400	[thread overview]
Message-ID: <4C5AF29B.6000004@mail.ru> (raw)

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

                 reply	other threads:[~2010-08-05 17:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5AF29B.6000004@mail.ru \
    --to=fenixk19@mail.ru \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.