[OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

Lech Perczak lech.perczak at gmail.com
Sat Nov 17 19:29:08 EST 2018


Hello Petr,

W dniu 2018-11-17 o 14:04, Petr Štetiar pisze:
> Lech Perczak <lech.perczak at gmail.com> [2018-11-17 10:25:30]:
>
>>>> ar9342_ubnt_xw.dtsi, and then secondary ethernet and USB only enabled in
>>>> respective .dts files. It'd be even better if someone on the list had a
>>>> Rocket M XW to test, as it is the fullest variant.
>>> Hm, so maybe I should move definition of mdio and eth0 from
>>> ar9342_ubnt_bullet-m-xw.dts to ar9342_ubnt_xw.dtsi as well?  But this could be
>>> done later once someone with Nanostation XW shows up and can confirm, that it
>>> actually works.
>> Yes please :)
> Yes to what? :-)
>
>   a) Send third version of the patch with mdio/eth0 in ar9342_ubnt_xw.dtsi
>   b) Wait for someone with Nanostation XW to confirm, that it could work and
>      don't assume anything
I meant sending new patch, but after reading recent emails I believe it 
's in the works already :)
>
>>>> Also, wouldn't you mind reviewing and/or testing my PR regarding RSSI
>>>> indicator LEDs on your M2HP on ar71xx target?
>>>> It is located on Github: https://github.com/openwrt/openwrt/pull/1372
>>>> I only had a chance to test it against Nanobridge M5 (XM version).
>>> Ok, but I don't have much experience with RSSI LEDs, so can you tell me how
>>> would you like me to test it on my M2HP? Thanks.
>> It's just a matter of flashing build including my patch, and then
>> establishing a connection. Bullet may work either as AP or client, the link
>> LEDS should just light up and show the signal strength after you connect :)
> It seems, that as being on the latest master, all I had to do was adding the
> module package:
>
>   diff --git a/target/linux/ath79/image/generic-ubnt.mk
>   b/target/linux/ath79/image/generic-ubnt.mk
>   index 2d0b1ad..00f1159 100644
>   --- a/target/linux/ath79/image/generic-ubnt.mk
>   +++ b/target/linux/ath79/image/generic-ubnt.mk
>   @@ -66,6 +66,7 @@ endef
>    define Device/ubnt-xw
>      $(Device/ubnt)
>      UBNT_TYPE := XW
>   +  DEVICE_PACKAGES += rssileds
>      UBNT_CHIP := ar934x
>      UBNT_BOARD := XM
>      UBNT_VERSION := 6.0.4
>
> and the light show has started, so it works, nice. Thanks!
>
>   Tested-by: Petr Štetiar <ynezz at true.cz>

Actually, I meant building and testing on ar71xx target instead of 
ath79. But anyway, you might include this little change in your patch,
because when I added this support, XW wasn't ported to ath79 yet. 
Therefore the LED configuration didn't need any alterations, as on ath79 
it doesn't specify PWM support. My 1st patch drops it also from ar71xx, 
which seems likely to stay for 19.01 release.

If you'd like, I can build the ar71xx image for you, or you can just 
checkout my branch from github directly.  I'll rebase it against current 
master.

>
> -- ynezz
>

-- 
Pozdrawiam,
Lech Perczak
lech.perczak at gmail.com
Mobile: +48 694 309 185


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list