From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] L2 cache and LCD on sunxi
Date: Mon, 29 Dec 2014 20:17:26 +0100 [thread overview]
Message-ID: <54A1A8C6.3020303@redhat.com> (raw)
In-Reply-To: <CAPnjgZ3b09X2ry4Lnp_rE0bfrS133Vvx84BFgxGCc1G1mhhTQg@mail.gmail.com>
Hi,
On 29-12-14 17:23, Simon Glass wrote:
> Hi Hans,
>
> On 24 December 2014 at 09:47, Hans de Goede <hdegoede@redhat.com> wrote:
>> Hi,
>>
>> On 23-12-14 05:36, Simon Glass wrote:
>>>
>>> Hi Hans,
>>>
>>> On 22 December 2014 at 09:45, Hans de Goede <hdegoede@redhat.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> On 21-12-14 19:52, Simon Glass wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I ran up a banana PI and noticed that HDMI works in U-Boot. Great!
>>>>>
>>>>> Scrolling seems very slow though - is the L2 cache disabled perhaps?
>>>>
>>>>
>>>>
>>>> I don't think so, but it could be, I think the scrolling code is just
>>>> very inefficient. Feel free to poke things a bit around this, ARM
>>>> cache management is not my forte.
>>>
>>>
>>> I think it need ssomething like the code in exynos/soc.c - see
>>> v7_outer_cache_enable().
>>>
>>> Even with the 7 inch it's very slow.
>>
>>
>> I've run some tests, and it is not slower then on say the A10 (cortex A8),
>> also I've been unable to find any docs or allwinner code pointing to
>> allwinner specific l2 cache init. As such ATM I do not believe that we've
>> the l2 cache disabled.
>
> Yes the code is not super-efficient (and could use the arch-specific
> memcpy()) but I'm mostly interested in whether the platform is running
> at full speed.
>
> I'm comparing it to say an Exynos 5250 which is 1.7GHz Cortex-A15.
> Without the L2 cache it scrolls quite slowly but with it it is fast.
Well this is a 1 GHz Cortex A7, and one with likely a much less
efficient DRAM controller / less DRAM bandwidth.
> There is probably some cache setup required.
That could be, but if that is the case then I don't know where to start
looking for it. I certainly cannot find any such thing in allwinner;s
boot0 / boot1 bootloader.
Regards,
Hans
next prev parent reply other threads:[~2014-12-29 19:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-21 18:52 [U-Boot] L2 cache and LCD on sunxi Simon Glass
2014-12-22 16:45 ` Hans de Goede
2014-12-23 4:36 ` Simon Glass
2014-12-23 10:03 ` Hans de Goede
2014-12-24 16:47 ` Hans de Goede
2014-12-29 16:23 ` Simon Glass
2014-12-29 19:17 ` Hans de Goede [this message]
2014-12-29 19:34 ` Simon Glass
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=54A1A8C6.3020303@redhat.com \
--to=hdegoede@redhat.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