[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59b07b7d70603c6b536a7354ed0ea8d8@walle.cc>
Date: Tue, 10 Mar 2020 16:22:26 +0100
From: Michael Walle <michael@...le.cc>
To: Vladimir Oltean <olteanv@...il.com>
Cc: Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org,
lkml <linux-kernel@...r.kernel.org>,
Shawn Guo <shawnguo@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
devicetree@...r.kernel.org, Esben Haabendal <eha@...f.com>,
angelo@...am.it, andrew.smirnov@...il.com,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Wei Chen <weic@...dia.com>, Mohamed Hosny <mhosny@...dia.com>,
peng.ma@....com
Subject: Re: [PATCH v3 0/7] NXP DSPI bugfixes and support for LS1028A
Hi Vladimir,
Am 2020-03-10 15:56, schrieb Vladimir Oltean:
>> (2) Also, reading the flash, every second time there is (reproducibly)
>> an
>> IO error:
>>
>> # hexdump -C /dev/mtd0
>> 00000000 68 75 68 75 0a ff ff ff ff ff ff ff ff ff ff ff
>> |huhu............|
>> 00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> |................|
>> *
>> 01000000
>> # hexdump -C /dev/mtd0
>> 00000000 68 75 68 75 0a ff ff ff ff ff ff ff ff ff ff ff
>> |huhu............|
>> 00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> |................|
>> *
>> hexdump: /dev/mtd0: Input/output error
>> 00dc0000
>> # hexdump -C /dev/mtd0
>> 00000000 68 75 68 75 0a ff ff ff ff ff ff ff ff ff ff ff
>> |huhu............|
>> 00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> |................|
>> *
>> 01000000
>> # hexdump -C /dev/mtd0
>> 00000000 68 75 68 75 0a ff ff ff ff ff ff ff ff ff ff ff
>> |huhu............|
>> 00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> |................|
>> *
>> hexdump: /dev/mtd0: Input/output error
>> 00e6a000
>>
>
> Just to be clear, issue 2 is seen only after you abort another
> transaction, right?
No, just normal uninterrupted reading. Just tried it right after
reboot. Doesn't seem to be every second time though, just random
which makes me wonder if that is another problem now. Also the
last successful reading is random.
buildroot login: root
# hexdump -C /dev/mtd0
00000000 31 32 33 34 35 ff ff ff ff ff ff ff ff ff ff ff
|12345...........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
[ 32.359156] random: crng init done
01000000
# hexdump -C /dev/mtd0
00000000 31 32 33 34 35 ff ff ff ff ff ff ff ff ff ff ff
|12345...........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
01000000
# hexdump -C /dev/mtd0
00000000 31 32 33 34 35 ff ff ff ff ff ff ff ff ff ff ff
|12345...........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
hexdump: /dev/mtd0: Input/output error
00166000
# hexdump -C /dev/mtd0
00000000 31 32 33 34 35 ff ff ff ff ff ff ff ff ff ff ff
|12345...........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
hexdump: /dev/mtd0: Input/output error
00c68000
# hexdump -C /dev/mtd0
00000000 31 32 33 34 35 ff ff ff ff ff ff ff ff ff ff ff
|12345...........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
hexdump: /dev/mtd0: Input/output error
00243000
#
-michael
Powered by blists - more mailing lists