[LEDE-DEV] s25fl064k w25q64 and UBNT PBE-M5-620

Joe Ayers joe at ayerscasa.com
Mon Feb 20 21:41:27 PST 2017


Was there ever a conclusion to the different NOR chips returning the
same JEDEC ID?

reference:  http://lists.infradead.org/pipermail/linux-mtd/2016-March/066333.html

Looks like the issue still exists in 17.01-SNAPSHOT, r3202-4d1ab84 on
the PBE-M5-620 using the Rocket-xw image.   Was this the determined
resolution?:

"As 'mtd: spi-nor: wait for SR_WIP to clear on initial unlock' has
fixed that, I think we can just unconditionally unlock all flash with
SNOR_MFR_WINBOND again without breaking Spansion flash."

I'm getting this failure:

[ 0.542840] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.548580] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.553468] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.559488] Creating 5 MTD partitions on "spi0.0":
[    0.564352] 0x000000000000-0x000000040000 : "u-boot"
[    0.572011] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.579398] 0x000000050000-0x0000007b0000 : "firmware"
[    0.596050] 2 uimage-fw partitions found on MTD device firmware
[    0.602114] 0x000000050000-0x000000190000 : "kernel"
[    0.609005] 0x000000190000-0x0000007b0000 : "rootfs"
[    0.615940] mtd: device 4 (rootfs) set to be root filesystem
[    0.621791] 1 squashfs-split partitions found on MTD device rootfs
[    0.628069] 0x000000370000-0x0000007b0000 : "rootfs_data"
[    0.635533] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.642330] 0x0000007f0000-0x000000800000 : "EEPROM"
[    7.158165] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   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

Regards,
Joe AE6XE



More information about the Lede-dev mailing list