Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-03-17 Thread Alexandru Gagniuc
On 03/05/2017 01:02 AM, Daniel Golle wrote: Hi, we've previously discussed [1] the patch on the mailing list and I If anyone is looking for the backported patches, I've uploaded them to my github: https://github.com/mrnuke-adaptrum/lede/commits/spi-4b-opcode-backport Enjpy, Alex believe

Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-03-16 Thread Alexandru Gagniuc
On 03/05/2017 01:02 AM, Daniel Golle wrote: Hi, Hi Daniel we've previously discussed [1] the patch on the mailing list and I believe that rather switching to 4-byte addressing mode we should rather use 4-byte opcodes instead because that would prevent the whole problem and provide a more reli

Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-03-05 Thread Daniel Golle
Hi, we've previously discussed [1] the patch on the mailing list and I believe that rather switching to 4-byte addressing mode we should rather use 4-byte opcodes instead because that would prevent the whole problem and provide a more reliable way to support large flash chips. This is also how it'

Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-03-04 Thread davidea
what is the state of this patch? i have an mqmakers witi board with mt7621 and a spi flash mx25l6406 with this beavior , when i reboot it , it's stop working until i power off and on ... the spi flash seems do not have a reset pin Il 30/01/2017 23:53, Alexandru Gagniuc ha scritto: This pat

Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-01-30 Thread Alex G .
On 01/30/2017 04:44 PM, Daniel Golle wrote: Hi Alexandru, Hi Daniel, On Mon, Jan 30, 2017 at 02:53:43PM -0800, Alexandru Gagniuc wrote: This patch is designed to workaround an issue where an mt7620 will hang after a reboot. This happens because the bootrom gets confused when the SPI flash is

Re: [LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-01-30 Thread Daniel Golle
Hi Alexandru, On Mon, Jan 30, 2017 at 02:53:43PM -0800, Alexandru Gagniuc wrote: > This patch is designed to workaround an issue where an mt7620 will > hang after a reboot. This happens because the bootrom gets confused > when the SPI flash is left in 4-byte addressing mode. This change > makes su

[LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-01-30 Thread Alexandru Gagniuc
This patch is designed to workaround an issue where an mt7620 will hang after a reboot. This happens because the bootrom gets confused when the SPI flash is left in 4-byte addressing mode. This change makes sure that we can reboot the system under normal circumstances, but does not protect against

[LEDE-DEV] [PATCH] ramips: Add patch to reset SPI flash to 3-byte addressing

2017-01-30 Thread Alexandru Gagniuc
This patch is designed to workaround an issue where an mt7620 will hang after a reboot. This happens because the bootrom gets confused when the SPI flash is left in 4-byte addressing mode. This change makes sure that we can reboot the system under normal circumstances, but does not protect against