All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] avr32: Add simple paging support
Date: Mon, 02 Aug 2010 16:13:33 +0200	[thread overview]
Message-ID: <4C56D28D.8010301@googlemail.com> (raw)
In-Reply-To: <1280750789-10359-4-git-send-email-haavard.skinnemoen@atmel.com>

Dear H?vard Skinnemoen,

I have tested the simple TLB implementation on our own hardware and it
does work with CFI driver.
Thanks a lot for introducing this, we had to wait so long ...

Am 02.08.2010 14:06, schrieb Haavard Skinnemoen:
> Use the MMU hardware to set up 1:1 mappings between physical and virtual
> addresses. This allows us to bypass the cache when accessing the flash
> without having to do any physical-to-virtual address mapping in the CFI
> driver.
> 
> The virtual memory mappings are defined at compile time through a sorted
> array of virtual memory range objects. When a TLB miss exception
> happens, the exception handler does a binary search through the array
> until it finds a matching entry and loads it into the TLB. The u-boot
> image itself is covered by a fixed TLB entry which is never replaced.
> 
> This makes the 'saveenv' command work again on ATNGW100 and other boards
> using the CFI driver, hopefully without breaking any rules.
> 
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tested-by: Andreas Bie?mann <biessmann@corscience.de>

  reply	other threads:[~2010-08-02 14:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02 12:06 [U-Boot] [PATCH 0/3] avr32 fixes Haavard Skinnemoen
2010-08-02 12:06 ` [U-Boot] [PATCH 1/3] avr32: Add missing asm/unaligned.h header file Haavard Skinnemoen
2010-08-02 12:06 ` [U-Boot] [PATCH 2/3] avr32: Print unrelocated PC on exception Haavard Skinnemoen
2010-08-02 12:06 ` [U-Boot] [PATCH 3/3] avr32: Add simple paging support Haavard Skinnemoen
2010-08-02 14:13   ` Andreas Bießmann [this message]
2010-08-07 21:10   ` Wolfgang Denk
2010-08-09  1:44     ` Haavard Skinnemoen
2010-08-02 12:28 ` [U-Boot] [PATCH 0/3] avr32 fixes Bas Mevissen
2010-08-02 12:43   ` Haavard Skinnemoen
2010-08-02 15:44     ` Bas Mevissen
2010-08-02 22:00       ` Bas Mevissen

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=4C56D28D.8010301@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --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.