From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: Linux on Armada 370
Date: Thu, 16 Jul 2015 17:14:48 +0200 [thread overview]
Message-ID: <20150716171448.59eb45e5@free-electrons.com> (raw)
In-Reply-To: <CAE7jHC_u0kTcaRUypSMdL=GqKrizcE8cjbJnp3RJrt9oL8m7ug@mail.gmail.com>
Hello,
On Thu, 16 Jul 2015 01:24:59 +0300, Constantine Shulyupin wrote:
> I want to run the mainstream Linux on Armada 370 and then contribute to it.
>
> I use custom board derived from DB-88F6710-BP
> Now I successfully run Marvell's linux-3.2.54-2014_T1.1 with u-boot
> "Marvell version: v2011.12 2013_Q1.0p2"
> U-boot and Linux are patched by our OEM according HW changes.
>
> I unsuccessfully tried to to run linux-4.2 with armada-370-db.dts.
>
> Can you please tell me, were can I find the latest Linux, which runs
> on Armada 370?
> What is proper configuration etc?
Most likely you're hitting the internal register issue. Can you
make sure you have either an A0 or B0 stepping or the 370 (it's shown
in the U-Boot messages at boot), and then check whether your internal
registers are at 0xd0000000 or 0xf1000000. To achieve this, please run:
md 0xd0020080
md 0xf1020080
One of the two may crash the system. If the first command returns
0xd0000000, then your internal registers are at that location. If the
second command returns 0xf1000000, then your internal registers are at
that location.
I suspect that you might be using an old U-Boot that still maps
registers at 0xd0000000. You have two choices:
1/ Update your U-Boot. This is the best option obviously. An updated
U-Boot is available for the Armada 370 DB.
2/ Change the kernel armada-370-db.dts to use the internal registers
at 0xd0000000. Basically, you can revert commit
4f054d445139d63868f931328f897ac5ef87242e.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-07-16 15:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-15 22:24 Linux on Armada 370 Constantine Shulyupin
2015-07-16 15:14 ` Thomas Petazzoni [this message]
2015-07-17 12:30 ` Arnd Bergmann
2015-07-17 19:10 ` Constantine Shulyupin
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=20150716171448.59eb45e5@free-electrons.com \
--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;
as well as URLs for NNTP newsgroup(s).