OpenWrt Forum Archive

Topic: netgear wndap350

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi.
I trying to run openwrt on netgear wndap350 and have some issue. Openwrt don't see flash memory.
Seems wndap350 almost copy of wndr3700. It has same SoC - AR7161, NOR flash - mxic mx25l6445emi-10g - 8MB, Ethernet - AR8021.
In original firmware:
"
....
7 cmdlinepart partitions found on MTD device ar7100-nor0                                                                                                                                                                         
Creating 7 MTD partitions on "ar7100-nor0":     
...
"
In OpenWRT
"
Atheros AR71xx SPI Controller driver version 0.2.4
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=25)
" and nothing about flash on spi0.0

(Last edited by gescheit on 10 Aug 2011, 04:08)

#include <linux/spi/flash.h>

check if your model is listed in that file.

file include/linux/spi/flash.h has only definition of mtd_partition struct...
Maybe flash connected not on spi0.0?

alright, this is probably the file you need to look out for: drivers/mtd/devices/m25p80.c (from your kernel dir). take that as an example how to do it: https://dev.openwrt.org/changeset/27073

I append "{ "mx25l6445e",  INFO(0xc22017, 0, 64 * 1024, 256, 0) }," but nothing changes.

I guess in that case it would be the best idea to download the sdk and have a look how netgear managed to support the flash.

The discussion might have continued from here.