From: Gordon Bos <gordon@bosvangennip.nl>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Russell King <linux@arm.linux.org.uk>,
devicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards
Date: Sat, 07 Feb 2015 20:59:46 +0100 [thread overview]
Message-ID: <54D66EB2.2030006@bosvangennip.nl> (raw)
In-Reply-To: <20150207184024.GB22306@lunn.ch>
[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]
Hi Andrew,
There is a difference, and apparently it somewhere got solved:
From running kernel 3.17.1
~ # dmesg | grep spi
Running an upgraded kernel 3.18.5 with the same DT blob
~ # dmesg | grep spi
[ 0.928832] m25p80 spi0.0: found m25p16, expected m25p80
[ 0.934124] m25p80 spi0.0: m25p16 (2048 Kbytes)
[ 0.938666] 3 ofpart partitions found on MTD device spi0.0
[ 0.944124] Creating 3 MTD partitions on "spi0.0":
In 3.17.1 the MTD devices were missing without the patch, in 3.18.5 they
also show
up without the patch.
You may therefore consider the MTD issue as solved.
Which leaves just the (aesthetic) issue of the boot led being turned off
while loading
the kernel.
Regards,
Gordon Bos
On 07/02/2015 19:40, Andrew Lunn wrote:
> On Sat, Feb 07, 2015 at 07:22:13PM +0100, Gordon Bos wrote:
>> Hi Andrew,
>>
>> I may be mistaken here, but this here references the driver that is
>> to be used, or not?
>>
>> | compatible = "st,m25p16";
>
> Nope, that is the device, not the driver.
>
> The driver has a list of devices it is capable of driving. The kernel
> uses that list to find the right driver.
>
>> In the kernels I tried, m25p80 driver is simply not happy with
>> m25p16 being defined in DT.
> Please define "not happy". Please show me the kernel log of it being
> not happy.
>
> We need to compare and contrast my kernel log, where it is happy with
> "st,m25p16" against your kernel log where it is unhappy. Then we might
> have some clues to understand what is going on.
>
> Thanks
> Andrew
[-- Attachment #2: Type: text/html, Size: 2463 bytes --]
next prev parent reply other threads:[~2015-02-07 19:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 8:45 [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards Gordon Bos
[not found] ` <1423212311-10793-1-git-send-email-gordon-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-06 9:09 ` Gregory CLEMENT
2015-02-07 15:04 ` Gordon Bos
[not found] ` <54D6299B.70707-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 16:09 ` Andrew Lunn
2015-02-07 17:15 ` Gordon Bos
[not found] ` <54D64820.7020002-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 17:36 ` Andrew Lunn
2015-02-07 18:22 ` Gordon Bos
[not found] ` <54D657D5.3010709-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 18:40 ` Andrew Lunn
2015-02-07 19:59 ` Gordon Bos [this message]
[not found] ` <54D66EB2.2030006-PMRpws9CsXpfxmBXdGbrbQ@public.gmane.org>
2015-02-07 20:25 ` Andrew Lunn
2015-02-07 16:37 ` Andrew Lunn
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=54D66EB2.2030006@bosvangennip.nl \
--to=gordon@bosvangennip.nl \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=gregory.clement@free-electrons.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jason@lakedaemon.net \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/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