From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: Armada XP Internal registers
Date: Tue, 22 Oct 2013 15:29:50 +0200 [thread overview]
Message-ID: <20131022152950.40171b36@skate> (raw)
In-Reply-To: <20131021184219.GA24520@titan.lakedaemon.net>
Jason, Matthew,
On Mon, 21 Oct 2013 14:42:19 -0400, Jason Cooper wrote:
> > Hm.. so if you upgraded the bootloader and the internal register address
> > is now 0xf100000 then it makes sense to fix your DT accordingly.
>
> Agreed.
>
> > Are you enabling CONFIG_DEBUG_LL? In that case, please note there's a
> > new option that will let you move to the 'new' internal regs address.
>
> The option is CONFIG_DEBUG_MVEBU_UART. Since you swapped out the
> bootloader, you need to tell it so. (Early printk assumes the
> bootloader setup the uart and just writes to it blindly. If it's at a
> different address than expected, it'll crash.)
I do confirm what Ezequiel and Jason said. The earlier U-Boot versions
from Marvell remapped the registers at 0xd0000000, while the more
recent versions remap the registers at 0xf1000000.
In recent kernel versions (I guess since 3.10 or 3.11), we've made sure
that changing the DT Mbus informations was enough to switch the entire
kernel to use the correct internal register base address. With the
exception of DEBUG_LL, which can't really on the DT, so that's why we
have two separate Kconfig options, one for 0xd0000000 and another one
for 0xf1000000.
That being said, I don't think the issue Matthew is seeing is related
to improper DEBUG_LL configuration. He wouldn't be getting "Unhandled
fault: external abort on non-linefetch (0x808) at 0xf0144010". He would
simply be getting *nothing* if the DEBUG_LL configuration was wrong.
Matthew, can you tell me which U-Boot version exactly you're using, and
give me the diff of the changes you've made to your Device Tree, so I
can see if I can reproduce the problem? For what it's worth, register
0x44010 is part of the PCIe registers, but I don't see right now what
could be the reason for the problem you're seeing.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-22 13:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 14:47 Armada XP Internal registers Matthew Minter
2013-10-21 14:59 ` Matthew Minter
2013-10-21 17:43 ` Ezequiel Garcia
2013-10-21 18:42 ` Jason Cooper
2013-10-22 13:29 ` Thomas Petazzoni [this message]
2013-10-22 15:56 ` Matthew Minter
2013-10-22 16:11 ` Thomas Petazzoni
[not found] ` <CAFJTrDsaq-NjLhcwHBuN1Q_zu-Q-yJkWLMUER1zVzc1=AFNM=Q@mail.gmail.com>
[not found] ` <047d7b86e7727b700204ea828c1d@google.com>
2013-11-06 14:06 ` Delivery Status Notification (Failure) Matthew Minter
2013-11-06 14:19 ` Armada XP Internal registers Thomas Petazzoni
[not found] <CAFJTrDv_UdSP9hxAgrXa2Z6p1HFK0WnbQO=csKh8-EL9yUEvqQ@mail.gmail.com>
2013-11-06 14:38 ` Thomas Petazzoni
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=20131022152950.40171b36@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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