From: shijie8@gmail.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: Wrong SPI NOR model detected by mx6sl
Date: Fri, 11 Apr 2014 08:26:37 +0800 [thread overview]
Message-ID: <20140411002635.GB3837@localhost.localdomain> (raw)
In-Reply-To: <CAOMZO5CBV0tXhbBBFBO=T62nmCn9TenK8BgdAhT8r3b-30u6qg@mail.gmail.com>
On Thu, Apr 10, 2014 at 02:16:49PM -0300, Fabio Estevam wrote:
> Hi Marek,
>
> On Thu, Apr 10, 2014 at 1:07 PM, Marek Vasut <marex@denx.de> wrote:
>
> > Can you share the JEDEC ID codes that both of the boards actually read from the
> > SPI NOR ? You can dump those in the m25p80.c driver . That'd be helpful, I
> > suspect some kind of an "offset" or "polarity inversion" in the SPI
> > communication causing this.
>
> On mx6qsabresd:
>
> m25p80 spi0.0: JEDEC id: 0x202016
> m25p80 spi0.0: m25p32 (4096 Kbytes)
>
> On mx6sl-evk:
>
> m25p80 spi0.0: JEDEC id: 0x000000
It seems the kernel can not read out anything from the NOR.
Please check the pinctrl or the schematic.
> m25p80 spi0.0: found mr25h256, expected m25p32
> m25p80 spi0.0: mr25h256 (32 Kbytes)
>
> Will need to dump the SPI registers to understand why mx6sl behaves like this.
i am not in the office today, else i can test the imx6sl-evk.
thanks
Huang Shijie
next prev parent reply other threads:[~2014-04-11 0:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 15:49 Wrong SPI NOR model detected by mx6sl Fabio Estevam
2014-04-10 16:07 ` Marek Vasut
2014-04-10 17:16 ` Fabio Estevam
2014-04-11 0:26 ` Huang Shijie [this message]
2014-04-11 2:09 ` Fabio Estevam
2014-04-11 11:43 ` Fabio Estevam
2014-04-11 11:59 ` Marek Vasut
2014-04-11 12:11 ` Fabio Estevam
2014-04-11 12:16 ` Marek Vasut
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=20140411002635.GB3837@localhost.localdomain \
--to=shijie8@gmail.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