Dnia 2015-03-16, o godz. 18:35:55 Matthias Schiffer <[email protected]> napisaĆ(a):
> There are two versions of the GL.iNet, the 6408A and the 6416A. The only > difference is the flash size. > > Signed-off-by: Matthias Schiffer <[email protected]> > --- > target/linux/ar71xx/base-files/lib/ar71xx.sh | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh > b/target/linux/ar71xx/base-files/lib/ar71xx.sh > index 3116305..db5e983 100755 > --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh > +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh > @@ -286,6 +286,19 @@ tplink_pharos_board_detect() { > [ -n "$model" ] && AR71XX_MODEL="$model v$2" > } > > +gl_inet_board_detect() { > + local size="$(mtd_get_part_size 'firmware')" > + > + case "$size" in > + 8192000) > + AR71XX_MODEL='GL-iNet 6408A v1' > + ;; > + 16580608) > + AR71XX_MODEL='GL-iNet 6416A v1' > + ;; > + esac Hi, GL-iNet 64xxA v1? Why not just GL-iNet 64xxA according to http://www.gl-inet.com/w/?page_id=308 ? -- Pozdrawiam, Cezary Jackiewicz _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
