[LEDE-DEV] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)
Matthias Schiffer
mschiffer at universe-factory.net
Thu Apr 6 08:03:14 PDT 2017
On 04/06/2017 05:45 AM, Joe Ayers wrote:
> Matthias, was there ever a conclusion to this post:
> http://lists.infradead.org/pipermail/linux-mtd/2016-March/066348.html
> ?
>
> My interest from http://www.aredn.org is support for Ubiquiti
> PBE-M5-620 and I suspect this issue is related.
>
> [ 0.542840] m25p80 spi0.0: found s25fl064k, expected m25p80
> [ 0.548580] m25p80 spi0.0: s25fl064k (8192 Kbytes)
>
> In current LEDE release using rocket-m-xw it boots with errors below.
> Any pointers on what needs to be done?
>
> Regards,
>
> Joe AE6XE
Ugh, I was sure I had at least pushed a temporary fix ([1] and [2]) to LEDE
after not coming to a conclusion upstream quickly, but it seems I forgot
that. By now, the patches are bitrotten... I should pick up the upstream
discussion and finally get this fixed properly. I'm currently working on a
few other things, but I hope I'll eventually get to it.
Matthias
[1]
https://github.com/freifunk-gluon/gluon/blob/v2016.2.x/patches/openwrt/0030-kernel-mtd-spi-nor-wait-until-status-register-writes-are-ready.patch
[2]
https://github.com/freifunk-gluon/gluon/blob/v2016.2.x/patches/openwrt/0031-kernel-mtd-spi-nor-unlock-Winbond-flashs.patch
>
> [ 15.648842] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
> [ 15.655839] jffs2_build_filesystem(): unlocking the mtd device... done.
> [ 15.662627] jffs2_build_filesystem(): erasing all blocks after the
> end marker...
> [ 15.689881] jffs2: Newly-erased block contained word 0x19852003 at
> offset 0x00430000
> --- a lot more removed and uninteresting ----
> [ 17.540053] jffs2: Newly-erased block contained word 0xc0bff600 at
> offset 0x00010000
> [ 17.570020] jffs2: Newly-erased block contained word 0xdeadc0de at
> offset 0x00000000
> [ 17.577888] done.
> [ 17.579908] jffs2: notice: (789) jffs2_build_xattr_subsystem:
> complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan)
> and 0 of xref (0 dead, 0 orphan) found.
>
>
> root at LEDE:~# df -h
> Filesystem Size Used Available Use% Mounted on
> /dev/root 2.0M 2.0M 0 100% /rom
> tmpfs 29.5M 60.0K 29.5M 0% /tmp
> tmpfs 29.5M 40.0K 29.5M 0% /tmp/root
> overlayfs:/tmp/root 29.5M 40.0K 29.5M 0% /
> tmpfs 512.0K 0 512.0K 0% /dev
> /dev/mtdblock5 4.3M 4.3M 0 100% /rom/overlay
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170406/2b43f4c5/attachment-0001.sig>
More information about the Lede-dev
mailing list