Re: [PATCH v3 0/7] NXP DSPI bugfixes and support for LS1028A
From: Michael Walle
Date: Tue Mar 10 2020 - 11:22:29 EST
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