From: A. Geisreiter <ageisreiter@dh-electronics.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Performance problems with gunzip
Date: Mon, 25 Jan 2010 10:10:52 +0100 [thread overview]
Message-ID: <000f01ca9d9e$4d42d6a0$e7c883e0$@de> (raw)
In-Reply-To: <m2vdeucgk7.fsf@ohwell.denx.de>
Hi Detlev,
thanks for the help. I have tried CONFIG_CMD_CACHE but this doesn't work,
because dcache_enable() is not implemented for PXA.
Then I tried to get the U-Boot source code for Gumstix verdex project, but I
can't find it. Where can I download this?
Regards,
Andreas
-----Urspr?ngliche Nachricht-----
Von: Detlev Zundel [mailto:dzu at denx.de]
Gesendet: Freitag, 22. Januar 2010 16:20
An: A. Geisreiter
Cc: u-boot at lists.denx.de
Betreff: Re: AW: [U-Boot] Performance problems with gunzip
Hi Andreas,
> thanks for the fast response. How do I enable data caches?
I fear this is not as easy as flipping a bit in a register. Depending
on the platform caches tend to be tied to the MMU, so enabling the
caches require setting up correct data structures for the MMU to work.
That's the non-trivial work.
Apart from that, there is CONFIG_CMD_CACHE which builds
common/cmd_cache.c. I see that at least two PXA250 platforms enable
this, so maybe simply try that?
Moreover, a quick qoogle showed that the (non-mainline) Gumstix verdex
(PXA270) U-Boot port has a dcache command:
http://docwiki.gumstix.org/index.php/U-Boot
Maybe you can reap the code from their repository. If you do, please
post it here ;)
Cheers
Detlev
--
There are three kinds of people in the world; those who can count and
those who can't.
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
prev parent reply other threads:[~2010-01-25 9:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 14:03 [U-Boot] Performance problems with gunzip A. Geisreiter
2010-01-22 14:45 ` Detlev Zundel
2010-01-22 14:57 ` A. Geisreiter
2010-01-22 15:20 ` Detlev Zundel
2010-01-22 15:45 ` Alessandro Rubini
2010-01-22 16:03 ` Detlev Zundel
2010-01-23 1:33 ` Alessandro Rubini
2010-01-25 9:10 ` A. Geisreiter [this message]
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='000f01ca9d9e$4d42d6a0$e7c883e0$@de' \
--to=ageisreiter@dh-electronics.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