OpenWrt Forum Archive

Topic: flash mod to w25q128 - lost wi-fi

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

Hi all. I need your help.
Try to mod my TL-WR940N v.2
Change Spansion s25sl032 to w25q128. Router worked but no wi-fi

w25q128
Kernel log
[    0.710000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.710000] m25p80 spi0.0: w25q128 (16384 Kbytes)
........
[   12.420000] ath: phy0: Unable to initialize hardware; initialization status: -5
[   12.430000] ath9k ar934x_wmac: failed to initialize device
[   12.430000] ath9k: probe of ar934x_wmac failed with error -5

With S25FL032 - OK
Kernel log
[    0.710000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.710000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
..........
[   12.260000] ath: EEPROM regdomain: 0x0
[   12.260000] ath: EEPROM indicates default country code should be used
[   12.260000] ath: doing EEPROM country->regdmn map search
[   12.260000] ath: country maps to regdmn code: 0x3a
[   12.260000] ath: Country alpha2 being used: US
[   12.260000] ath: Regpair used: 0x3a
[   12.270000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.280000] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
[   12.320000] cfg80211: Calling CRDA for country: US
[   12.320000] cfg80211: Regulatory domain changed to country: US
[   12.330000] cfg80211:  DFS Master region: FCC
[   12.330000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.340000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   12.350000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[   12.360000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   12.370000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[   12.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   12.390000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

You need to copy your ART to the last 64k of the new flash chip. No matter what chip size, ART is always at the end.

(Last edited by mk24 on 16 May 2017, 18:43)

mk24 wrote:

ART is always at the end.

Thank you, ART, its working.

The discussion might have continued from here.