[FS#1534] ramips: Can't mount flash on MZK-DP150N.

LEDE Bugs lede-bugs at lists.infradead.org
Mon May 7 23:36:25 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - YuheiOKAWA (srchack) 

Attached to Project - OpenWrt/LEDE Project
Summary - ramips: Can't mount flash on MZK-DP150N.
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Can not mount SPI Flash on MZK-DP150N.

[    4.435797] spi spi0.0: force spi mode3
[    4.444935] m25p80 spi0.0: unrecognized JEDEC id bytes: 1c, 70, 16
[    4.457452] m25p80: probe of spi0.0 failed with error -2

MZK-DP150N new revision hardware is SPI Flash change.
new revision is EN25QH32.

is not found linux driver for en25qh32.
I want the following patch.

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1007,6 +1007,7 @@
        { "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
        { "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
        { "en25q128",   INFO(0x1c3018, 0, 64 * 1024,  256, SECT_4K) },
+       { "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
        { "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
        { "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
        { "en25s64",    INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },


This device can not access u-boot unless the case is destroyed.
I also want to correspond to LEDE 17.0x.


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1534



More information about the lede-bugs mailing list