responses inline v3 will be posted soon, I also figured out which gpios the leds are tied to so I will add them as well.
Thanks Karl On Sat, 2016-03-12 at 21:04 +0000, Karl Palsson wrote: > Minor comments... > > Noble Pepper <openwrtm...@noblepepper.com> wrote: > > Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16 > > MB flash > > > > Signed-off-by: Noble Pepper <openwrtm...@noblepepper.com> > > --- > > package/boot/uboot-envtools/files/ramips | 3 +- > > .../linux/ramips/base-files/etc/board.d/02_network | 1 + > > target/linux/ramips/base-files/lib/ramips.sh | 3 + > > .../ramips/base-files/lib/upgrade/platform.sh | 1 + > > target/linux/ramips/dts/MIWIFI-NANO.dts | 70 > > ++++++++++++++++++++++ > > target/linux/ramips/image/Makefile | 5 ++ > > target/linux/ramips/mt7628/profiles/miwifinano.mk | 18 ++++++ > > Shouldn't the profile here be "xiaomi.mk" ? normally it seems > tthat you have a profile for all the vendor boards, not a > separate file for each board. > The only reason is my ignorance of the normal way. > > 7 files changed, 100 insertions(+), 1 deletion(-) > > create mode 100644 target/linux/ramips/dts/MIWIFI-NANO.dts > > create mode 100644 target/linux/ramips/mt7628/profiles/miwifinano.mk > > > > diff --git a/package/boot/uboot-envtools/files/ramips > > b/package/boot/uboot-envtools/files/ramips index > > 53cf9d3..a759bcc 100644 > > --- a/package/boot/uboot-envtools/files/ramips > > +++ b/package/boot/uboot-envtools/files/ramips > > @@ -23,7 +23,8 @@ linkits7688 | \ > > linkits7688d | \ > > wsr-600 | \ > > wsr-1166 | \ > > -br6425) > > +br6425 | \ > > +miwifi-nano) > > ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000" > > ;; > > esac > > diff --git > > a/target/linux/ramips/base-files/etc/board.d/02_network > > b/target/linux/ramips/base-files/etc/board.d/02_network index > > dc9b5b2..4b65d36 100755 > > --- a/target/linux/ramips/base-files/etc/board.d/02_network > > +++ b/target/linux/ramips/base-files/etc/board.d/02_network > > @@ -68,6 +68,7 @@ ramips_setup_interfaces() > > firewrt|\ > > hlk-rm04|\ > > miwifi-mini|\ > > + miwifi-nano|\ > > mt7621|\ > > mt7628|\ > > mzk-750dhp|\ > > diff --git a/target/linux/ramips/base-files/lib/ramips.sh > > b/target/linux/ramips/base-files/lib/ramips.sh index > > 815765a..6abda92 100755 > > --- a/target/linux/ramips/base-files/lib/ramips.sh > > +++ b/target/linux/ramips/base-files/lib/ramips.sh > > @@ -250,6 +250,9 @@ ramips_board_detect() { > > *"MiWiFi Mini") > > name="miwifi-mini" > > ;; > > + *"MiWiFi-Nano") > > + name="miwifi-nano" > > Is there a particular reason to have the "-" in MiWiFi-Nano? It's > not there for the Mini, and doesn't appear in any of Xiaomi's > literature. Same for the .dts file. > Again, ignorance I often hit problems when including a space in names and just avoid them. > Cheers, > Karl P > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel