From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] porting u-boot, MMU question
Date: Wed, 05 Nov 2014 17:58:14 +0100 [thread overview]
Message-ID: <545A5726.70800@denx.de> (raw)
In-Reply-To: <1415205392077-194761.post@n7.nabble.com>
Hi David,
On 05/11/2014 17:36, DaveKucharczyk wrote:
> I'm trying to upgrade u-boot-2009.08 to u-boot-2014.07.
>
> Our board is loosely based on the Freescale mx53loco board. I used the old
> board file and config header files and moved them over to new u-boot
> directory. Then using the new api to make changes.
>
> I'm now trying to figure out how to port and turn on the MMU part below. I
> noticed the below code is not in the new mx53loco board file anymore and
> MMU_ON() doesn't exist either, since include/asm-arm/mmu.h is not included
> in new u-boot.
Instead of doing this, I think it will be easier if you start from the
current mx53loco nad make the customization for your board. Freescale's
U-Boot (2009.08) and mainline diverged, as well as some internal API.
>
> So how do I get the same effect? I see arch/arm/cpu/armv8/cache_v8.c and
> arch/arm/lib/cache-cp15.c are the likely candidates?
You do not need to care about that. Cache is activated per default with
mx5/mx6, if you do not explicitely deactivate it in your config file.
You do not need to bother about MMU setup in your board files.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2014-11-05 16:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 16:36 [U-Boot] porting u-boot, MMU question DaveKucharczyk
2014-11-05 16:58 ` Stefano Babic [this message]
2014-11-05 17:16 ` DaveKucharczyk
2014-11-05 21:04 ` Stefano Babic
2014-11-05 21:24 ` Otavio Salvador
2014-11-06 20:03 ` DaveKucharczyk
2014-11-10 15:14 ` [U-Boot] porting u-boot, few final questions DaveKucharczyk
2014-11-10 15:30 ` Fabio Estevam
2014-11-10 15:47 ` Wolfgang Denk
2014-11-10 16:04 ` Fabio Estevam
2014-11-10 17:54 ` Nikolay Dimitrov
2014-11-10 20:45 ` DaveKucharczyk
2014-11-10 22:21 ` DaveKucharczyk
2014-11-11 17:39 ` DaveKucharczyk
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=545A5726.70800@denx.de \
--to=sbabic@denx.de \
--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.