Page 1 of 1

How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Tue Mar 01, 2016 4:48 pm
by wadimk
I modernize WR841 in MR3420 on CPU AR9341.RAM 64mb and SPI 8mb (winbond 25q64vf) replaced.Gargoyle (gargoyle 1.9.0 - ar71xx - generic - tl - mr3420 - v2 - squashfs - factory.bin) set.Router works, but memory does not determine correctly 8mb (only 4 Mb).I want to set plugin.I receive message there is not "enough memory".How to decide this problem?PS: ID ic W25Q64VF (EF 40 17 h) , W25Q128VF (EF 40 18 h).

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Tue Mar 01, 2016 7:25 pm
by nworbnhoj
I think that you will need to build your own Gargoyle image to suit your router if you have modified it by adding memory.

See section "Building from Source"
https://www.gargoyle-router.com/wiki/do ... umentation

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 12:13 am
by ericwong
wadimk wrote:I modernize WR841 in MR3420 on CPU AR9341.RAM 64mb and SPI 8mb (winbond 25q64vf
If you have replaced the ROM chip, you need to make corresponding adjustment to the router configurations when you build the ROM, i.e. code changes.

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 2:28 am
by wadimk
I am specialized in a change and repair of electronics.I can work out and collect a pre-production model.And in programming I understand very poorly.I do not present, how many compiling of file occupies to time.Chinese "breed-ar9341" recognizes a type and size SPI automatically.Such function maybe it to realize?If yes, then did not you could to me herein to help?

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 3:19 am
by ericwong
wadimk wrote:I am specialized in a change and repair of electronics.I can work out and collect a pre-production model.And in programming I understand very poorly.I do not present, how many compiling of file occupies to time.Chinese "breed-ar9341" recognizes a type and size SPI automatically.Such function maybe it to realize?If yes, then did not you could to me herein to help?
Sorry but I don't know what you are trying to say.

The change you need to do is very small. Please read relevant wiki on Openwrt, e.g. https://wiki.openwrt.org/doc/techref/flash.layout
https://wiki.openwrt.org/doc/devel/add.new.platform

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 3:26 am
by Lantis
I think he's saying that he can use a soldering iron but doesn't know his way around a programming environment. And would like step by step instructions for how to modify the flash layout tables and then compile that into a new firmware.

Which is really the kind of thing that should be asked at openwrt.org if he cannot glean the information from the Wikis you linked.

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 4:27 am
by wadimk
Yes.I do not know how " to collect" (to compile) SquashFS - factory.bin.Who does can that to do it? If not difficult.

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Wed Mar 02, 2016 6:25 am
by nworbnhoj
Wouldn't life be boring if we all spoke JavaScript!

Perhaps one of our Polish friends can help?

Re: How to change SPI (soft) 4mb on 8mb (16mb) ?

Posted: Fri Mar 04, 2016 7:06 am
by wadimk
Modernized from WR841N WR842N V2 8\64mb. Gargoyle programed.All works well.Thanks to everybody. :)