From: Rafal Jaworowski <raj@semihalf.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Regarding Dcache Flush in MPC85xx
Date: Fri, 29 Feb 2008 18:10:10 +0100 [thread overview]
Message-ID: <47C83C72.6060005@semihalf.com> (raw)
In-Reply-To: <FA896496-8E8E-4BF4-8487-B06F22182626@kernel.crashing.org>
Kumar Gala wrote:
>> We are using MPC8555 processor and uboot 1.1.4 both the uboot and
>> linux
>> was up. Now we plan to port QNX, we are facing following issues.
>>
>> 1. Qnx is not jumping to the startup location. After giving go
>> command
>> control is still in the uboot only.
>>
>> 2. When searching in the mailling list we came to know qnx required
>> to
>> flush the Data Cache before disabling it in the uboot level
>> (common/cmd_bootelf.c line no:59)
>>
>> 3. I checked other powerpc architecture like 7xx/74xx, 86xx and 4xx.
>> These architecture has seperate cache.S file ( cpu/mpc86xx/
>> cache.S). That
>> file contains flush_data_cache function to flush the cache before
>> disabling it. But in the MPC85xx flushing the data cache was missing.
>>
>> 4. This is a bug in the 85xx uboot code. Is there any work arround for
>> this?
>
> 1.1.4 is a fairly old u-boot at this point. I believe we have
> reworked the PPC cache ops and fixed the fact that 85xx was missing
> flush_data_cache in the process.
>
Not really, unfortunatelly: the 85xx still lacks flushing the d-cache before
disabling it. I was going to fix this by refactoring existing d-cache
disabling/flushing routines into a common code that would sit in the
lib_ppc/ppccache.S (as mostly exisiting implementations are just copy/paste of
the same thing) and have 85xx use it too, but didn't have time yet to clean it
up. If anyone is willing to do it sooner, I won't complain :)
Rafal
next prev parent reply other threads:[~2008-02-29 17:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 17:30 [U-Boot-Users] Regarding Dcache Flush in MPC85xx s.balamurugan
2008-02-27 5:25 ` Kumar Gala
2008-02-29 17:10 ` Rafal Jaworowski [this message]
2008-02-29 17:42 ` Scott Wood
2008-03-04 19:37 ` Rafal Jaworowski
[not found] <mailman.1194741.1204051265.7786.u-boot-users@lists.sourceforge.net>
2008-02-26 19:48 ` Fowley, Douglas G
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=47C83C72.6060005@semihalf.com \
--to=raj@semihalf.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox