Skip to content

wlr3500lv2 nvram and flash size is wrong #5

@pinchasMT

Description

@pinchasMT

flashed latest firmware on wnr3500l v2 and getting only 32MB while has 128MB chip
dmesg shows
Found a AMD NAND flash with 2048B pages or 128KB blocks; total size 128MB

the main issue:

nvram only showing only as 32kb

dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 00040000 00020000 "board_data"
mtd3: 00040000 00020000 "POT1"
mtd4: 00040000 00020000 "POT2"
mtd5: 00040000 00020000 "T_Meter1"
mtd6: 00040000 00020000 "T_Meter2"
mtd7: 00040000 00020000 "ML1"
mtd8: 00040000 00020000 "ML2"
mtd9: 00040000 00020000 "ML3"
mtd10: 00040000 00020000 "ML4"
mtd11: 00040000 00020000 "ML5"
mtd12: 00040000 00020000 "ML6"
mtd13: 00040000 00020000 "ML7"
mtd14: 01b00000 00020000 "linux"
mtd15: 019e78f0 00020000 "rootfs"

theoretically nvram partition size 00180000=1572864 bytes=1.5mb, but at least increase it to 64kb or more

0x00080000-0x00200000 : "nvram"
_nvram_init: allocat header: 2280652800, size= 32768

the header value comes from CFE (i guess) so just flashing updated (recompiled) CFE should fix the problem (like asus rt-n66u)

please if someone can put together an .bin to test, i will be glad to do the testing

btw ddwrt shows nvram as 256kb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions