[FS#1926] MTD partition offset not correctly mapped when bad eraseblocks present

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Jan 20 08:28:29 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1926 - MTD partition offset not correctly mapped when bad eraseblocks present
User who did this - Colani1200 (Colani1200)

----------
Problem still seems to be present. On a R6800 I have a bad block reported in dmesg:

[    0.926457] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.941280] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.953951] nand: Macronix MX30LF1G18AC
[    0.961590] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.976676] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.989741] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.004308] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.018871] Scanning device for bad blocks
[    1.354795] Bad eraseblock 258 at 0x000002040000
[    2.333921] 7 fixed-partitions partitions found on MTD device mt7621-nand
[    2.347453] Creating 7 MTD partitions on "mt7621-nand":
[    2.357876] 0x000000000000-0x000000100000 : "u-boot"
[    2.369215] 0x000000100000-0x000000200000 : "SC PART_MAP"
[    2.381223] 0x000000200000-0x000000600000 : "kernel"
[    2.392538] 0x000000600000-0x000002e00000 : "ubi"
[    2.403387] 0x000002e00000-0x000004600000 : "reserved0"
[    2.415314] 0x000004600000-0x000004800000 : "factory"
[    2.426712] 0x000004800000-0x000008000000 : "reserved1"

In my case, this results in an unreadable factory partion, and unreadable MAC adresses:
[   14.342810] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.362949] mt7615e 0000:01:00.0: Invalid MAC address, using random address
Another symptom is that tx power on the radios is limited to 6dBm, probably because calibration data is not readable.
----------

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

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list