Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
The ubnt pro and outdoor+ have a different factory TFTP firmware. Let me know if you need that, however you should be able to recover with the openwrt one. Still digging through the commit loggs for trunk, can't see the patch. Am I missing something? Cheers, A On Mon, 2015-12-14 at 12:54 +0100, Stefan Rompf wrote: > Hi Tim, > > > The auto-built image of 9 December 2015 for this device results in > > a > > bricked state. TFTP recovery with a stock recovery firmware from > > Ubiquity does not allow the device to boot either. > > try flashing the chaos calmer factory image with TFTP > (openwrt-15.05-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs > -factory.bin) > > This has allowed me to recover a bricked Outdoor Plus. Flashing the > Ubiquiti > firmware via TFTP didn't work for me either. > > > but if anyone wants this device as a donation to get it > > supported by OpenWRT, please let me know. > > Well on one hand I'd be interested because the access point I had is > mounted > onsite now and therefore not available for hacking anymore. > > On the other hand, I got the impression that mine and Kyrills patches > were not > too welcome, so I'm a bit hesitant to invest more time. > > So good luck with unbricking, may be the device gets usable for your > again! > > Stefan > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
Hi Stefan, On Mon, 14 Dec 2015, Stefan Rompf wrote: try flashing the chaos calmer factory image with TFTP (openwrt-15.05-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin) I thought I'd tried all the relevant images I could, but I clearly forgot about that one because I've just successfully TFTP'd it onto the Outdoor+ and I've now got it into failsafe mode. Thank you very much for that! It's still useless until I can apply your patch though. Well on one hand I'd be interested because the access point I had is mounted onsite now and therefore not available for hacking anymore. I'd be happy to donate my Outdoor+ to you for the benefit of getting your modifications applied to the next stable release. Would it be possible for you to send me a copy of the final firmware you used to get the Outdoor+ working? I could use that on my other Outdoor+ then.. On the other hand, I got the impression that mine and Kyrills patches were not too welcome, so I'm a bit hesitant to invest more time. I'm new to OpenWRT and can't speak for everyone, but from my point of view people like you are key to getting things moving forward and OpenWRT compatible with more devices. There are very few people like you who can successfully reverse-engineer what someone else (Ubiquity) has done and then re-create it and apply it to a third party system. Many thanks, Tim ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
Hi Tim, > The auto-built image of 9 December 2015 for this device results in a > bricked state. TFTP recovery with a stock recovery firmware from > Ubiquity does not allow the device to boot either. try flashing the chaos calmer factory image with TFTP (openwrt-15.05-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin) This has allowed me to recover a bricked Outdoor Plus. Flashing the Ubiquiti firmware via TFTP didn't work for me either. > but if anyone wants this device as a donation to get it > supported by OpenWRT, please let me know. Well on one hand I'd be interested because the access point I had is mounted onsite now and therefore not available for hacking anymore. On the other hand, I got the impression that mine and Kyrills patches were not too welcome, so I'm a bit hesitant to invest more time. So good luck with unbricking, may be the device gets usable for your again! Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
On Tue Jun 16 23:16:46 CEST 2015, Stefan Rompf wrote: Add tuner for the HSR filter of the UniFi Outdoor Plus access point. Usage of the tuner is controlled at runtime by ath9k_platform_data. The code can be enabled or disabled by a compile time option. The auto-built image of 9 December 2015 for this device results in a bricked state. TFTP recovery with a stock recovery firmware from Ubiquity does not allow the device to boot either. The device still responds to TFTP recovery, but will not boot any images. I will try getting a USB-TTL cable and connecting to the serial console of this device (no idea what to do after that, but I'll give it a go), but if anyone wants this device as a donation to get it supported by OpenWRT, please let me know. Many thanks, Tim ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
On Tue Jun 16 23:16:46 CEST 2015, Stefan Rompf wrote: Add tuner for the HSR filter of the UniFi Outdoor Plus access point. Usage of the tuner is controlled at runtime by ath9k_platform_data. The code can be enabled or disabled by a compile time option. Dear All, How do I tell if the above mentioned patch has been applied to the squashfs images available on downloads.openwrt.org? I don't see it mentioned in the most recent changelog.. When is it likely this patch will be applied to those squashfs images? Many thanks, Tim ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
Add ubnt_hsr flag to struct ath9k_platform_data and enable it for the Outdoor Plus access point so that the availability ot the HSR filter can be detected by the ath9k driver at runtime. Signed-off-by: Stefan Rompf ste...@loplof.de --- Index: package/kernel/mac80211/patches/150-ath9k_ubnt_hsr_filter.patch === --- package/kernel/mac80211/patches/150-ath9k_ubnt_hsr_filter.patch (Revision 0) +++ package/kernel/mac80211/patches/150-ath9k_ubnt_hsr_filter.patch (Arbeitskopie) @@ -0,0 +1,15 @@ +Flag that this platform is an Ubiquiti UniFi Outdoor Plus +containing a RF filter in ath9k's receive path. + +Signed-off-by: Stefan Rompf ste...@loplof.de + +--- mac80211/include/linux/ath9k_platform.h.orig 2015-06-15 22:18:46.0 +0200 mac80211/include/linux/ath9k_platform.h2015-06-15 22:15:23.0 +0200 +@@ -36,6 +36,7 @@ + bool tx_gain_buffalo; + bool disable_2ghz; + bool disable_5ghz; ++ bool ubnt_hsr; + + int (*get_mac_revision)(void); + int (*external_reset)(void); Index: target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch === --- target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch (Revision 0) +++ target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch (Arbeitskopie) @@ -0,0 +1,15 @@ +Flag that this platform is an Ubiquiti UniFi Outdoor Plus +containing a RF filter in ath9k's receive path. + +Signed-off-by: Stefan Rompf ste...@loplof.de + +--- linux-3.18.14/include/linux/ath9k_platform.h.orig 2015-06-15 22:18:46.0 +0200 linux-3.18.14/include/linux/ath9k_platform.h 2015-06-15 22:15:23.0 +0200 +@@ -36,6 +36,7 @@ + bool tx_gain_buffalo; + bool disable_2ghz; + bool disable_5ghz; ++ bool ubnt_hsr; + + int (*get_mac_revision)(void); + int (*external_reset)(void); Index: target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch === --- target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch (Revision 46000) +++ target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch (Arbeitskopie) @@ -254,6 +254,7 @@ + ath79_register_eth(0); + ath79_register_eth(1); + ++ ap9x_pci_get_wmac_data(0)-ubnt_hsr = true; + ap91_pci_init(ee, NULL); + + ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_plus_leds_gpio), ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel