Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wlr3500lv2 nvram and flash size is wrong #5

Open
pinchasMT opened this issue Jun 6, 2017 · 1 comment
Open

wlr3500lv2 nvram and flash size is wrong #5

pinchasMT opened this issue Jun 6, 2017 · 1 comment

Comments

@pinchasMT
Copy link

pinchasMT commented Jun 6, 2017

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

@pparent76
Copy link

pparent76 commented Oct 4, 2017

With what kernel do you get that?

I've tried with many kernel (openwrt,lede,handbuilt) and the NAND is never detected.I never get the message "Found a AMD NAND". What driver is needed to get that NAND detected?

I only see it with dd-wrt kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants