public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] disabling d-cache in 'bootelf' for QNX
Date: Mon, 7 Jan 2008 10:35:40 +0100	[thread overview]
Message-ID: <200801071035.40857.sr@denx.de> (raw)
In-Reply-To: <200801071014.01174.matthias.fuchs@esd-electronics.com>

Hi Matthias,

On Monday 07 January 2008, Matthias Fuchs wrote:
> there is a simple approach to disable dcaching on 440 used for the 440 usb
> code (cpu/ppc4xx/usb.c). The code is used to disable dcaching before
> starting the USB subsystem. It updates the tlb entry. But it is not
> complete working. Disbling works, but reenabling (via 'usb stop') does not
> work.

Right. It would really be great if somebody could take a look at this issue. 
Since this is the last showstopper to enable cache (I & D) on 440 platforms.

> But with CONFIG_4xx_DCACHE enabled this at least allows you to use 
> USB but with disabled dcache from that moment on.
>
> Perhaps it is possible to move the change_tlb() call into the
> dcache_disable when it is working sometime.

Yes, this is the plan. When it is finally working completely, the "normal" 
cache functions should be supported for 440 too.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-01-07  9:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 17:40 [U-Boot-Users] disabling d-cache in 'bootelf' for QNX Rafal Jaworowski
2008-01-03 10:16 ` Stefan Roese
2008-01-03 10:30   ` Rafal Jaworowski
2008-01-03 11:12     ` Stefan Roese
2008-01-05 22:18       ` Rafal Jaworowski
2008-01-06  1:58         ` Josh Boyer
2008-01-06 14:11           ` Rafal Jaworowski
2008-01-07  9:14             ` Matthias Fuchs
2008-01-07  9:35               ` Stefan Roese [this message]
2008-01-03 16:45     ` Wolfgang Denk

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=200801071035.40857.sr@denx.de \
    --to=sr@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox