From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Content-Type: multipart/alternative; boundary="Apple-Mail=_54668375-23BB-4928-87F0-F44EAA8E79DF" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH 2/2] ARM: mvebu: Added dts defintion for Lenovo Iomega ix4-300d NAS From: Benoit Masson In-Reply-To: <20140723225841.GD28485@lunn.ch> Date: Thu, 24 Jul 2014 01:11:12 +0200 Message-Id: <10A7C530-7CD2-4ED0-889A-7FAC1922320F@perenite.com> References: <1406154923-13612-1-git-send-email-yahoo@perenite.com> <1406154923-13612-2-git-send-email-yahoo@perenite.com> <20140723224236.GC28485@lunn.ch> <94F87063-D717-435B-B7C5-EDAC9B26742C@perenite.com> <20140723225841.GD28485@lunn.ch> To: Andrew Lunn Cc: Gregory Clement , Benoit Masson , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jason Cooper , Sebastian Hesselbarth List-ID: --Apple-Mail=_54668375-23BB-4928-87F0-F44EAA8E79DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I sure do, confirmed by u-boot output below: U-Boot 2009.08 (Mar 04 2013 - 11:13:04) Marvell version: 2.3.2 PQ U-Boot Addressing: Code:..00600000:006BFFF0 BSS:..00708EC0 Stack:..0x5fff70 PageTable:.0x8e0000 Heap address:.0x900000:0xe00000 Board: DB-78230-BP rev 2.0 Wistron SoC: MV78230 A0 =46rom kernel I get: mvebu-soc-id: MVEBU SoC ID=3D0x7823, Rev=3D0x1 Benoit Le 24 juil. 2014 =E0 00:58, Andrew Lunn a =E9crit : >> For the marvell,mv78230-a0-i2c unfortunately i've spend 3 hours >> trying to understand this but it only works with this on the >> ix4-300d :(. There was multiple patch around this and maybe one >> broke the auto-detect part of this, I've tried compiling with some >> 3.10 or lower kernel but no luck here I still have to put this a0 >> option. >=20 > Lets first confirm you have an a0 SoC. >=20 > At boot time, it should print: >=20 > pr_info("MVEBU SoC ID=3D0x%X, Rev=3D0x%X\n", soc_dev_id, soc_rev); >=20 > What revision do you have? >=20 > If the auto detect code really is broken, Gregory will likely take a > look. >=20 > Andrew --Apple-Mail=_54668375-23BB-4928-87F0-F44EAA8E79DF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 I sure = do,

confirmed by u-boot  output = below:

U-Boot 2009.08 = (Mar 04 2013 - 11:13:04) Marvell version:  2.3.2 PQ
U-Boot Addressing:
      =  Code:..00600000:006BFFF0
       BSS:..00708EC0
      =  Stack:..0x5fff70
    =    PageTable:.0x8e0000
       Heap = address:.0x900000:0xe00000
Board: = DB-78230-BP rev 2.0 Wistron
SoC:   MV78230 A0

=46rom = kernel I get:

mvebu-soc-id: MVEBU SoC ID=3D0x7823, = Rev=3D0x1

Benoit
Le 24 juil. 2014 =E0 00:58, = Andrew Lunn <andrew@lunn.ch> = a =E9crit :

For the marvell,mv78230-a0-i2c = unfortunately i've spend 3 hours
trying to understand this but it = only works with this on the
ix4-300d :(. There was multiple patch = around this and maybe one
broke the auto-detect part of this, I've = tried compiling with some
3.10 or lower kernel but no luck here I = still have to put this a0
option.

Lets first = confirm you have an a0 SoC.

At boot time, it should = print:

pr_info("MVEBU SoC ID=3D0x%X, Rev=3D0x%X\n", soc_dev_id, = soc_rev);

What revision do you have?

If the auto detect = code really is broken, Gregory will likely take a
look.

= Andrew

= --Apple-Mail=_54668375-23BB-4928-87F0-F44EAA8E79DF--