Re: [OpenWrt-Devel] [PATCH] ar71xx: Fix header offset for newer WRT160NL models

2011-06-03 Thread Gabor Juhos
2011.05.14. 16:51 keltezéssel, Jonas Gorski írta: > Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K, > resulting in miscalculated partition sizes. > Since the actual sizes did not change, hardcode them to their current > sizes, and make sure they are at least one erase block b

[OpenWrt-Devel] [PATCH] ar71xx: Fix header offset for newer WRT160NL models

2011-05-14 Thread Jonas Gorski
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K, resulting in miscalculated partition sizes. Since the actual sizes did not change, hardcode them to their current sizes, and make sure they are at least one erase block big (in case Cisco decides to start to use chips with 128K