Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipq40xx: add support for MikroTik SXTsq 5 ac #2211

Conversation

PolynomialDivision
Copy link

@PolynomialDivision PolynomialDivision commented May 3, 2021

The SXTsq 5 AC is a sector antenna with ipq40xx SoC. In particular, the device is ideal to be mounted on the balcony to supply public areas with internet access.

(Still draft since I have no idea of Gluon Firmware ;) )
(I'm just building the hamburg firmware... let see if I will be succesfull)

It fails. :/

#
# configuration written to .config
#
make[1]: Leaving directory '/home/nick/Desktop/gluon/openwrt'
Configuration failed:
 * unable to set 'CONFIG_TARGET_DEVICE_PACKAGES_ipq40xx_generic_DEVICE_mikrotik_sxtsq-5-ac="-kmod-ipt-offload -odhcpd-ipv6only -ppp -ppp-mod-pppoe -wpad-mini -wpad-basic -wpad-basic-wolfssl -libustream-wolfssl -ca-bundle gluon-core ip6tables gluon-ebtables-limit-arp gluon-web-wifi-config gluon-config-mode-mesh-vpn hostapd-mini gluon-status-page gluon-ebtables-filter-multicast gluon-web-autoupdater gluon-status-page-mesh-batman-adv gluon-config-mode-domain-select gluon-respondd gluon-web-network gluon-radv-filterd gluon-radvd gluon-config-mode-hostname gluon-mesh-vpn-fastd gluon-web-private-wifi gluon-mesh-batman-adv-15 gluon-ebtables-filter-ra-dhcp gluon-config-mode-autoupdater gluon-autoupdater gluon-config-mode-outdoor gluon-web-admin -gluon-config-mode-geo-location -gluon-config-mode-contact-info gluon-ebtables-source-filter gluon-web-mesh-vpn-fastd iptables iwinfo kmod-ath10k -kmod-ath10k-ct -kmod-ath10k-ct-smallbuffers ath10k-firmware-qca4019 -ath10k-firmware-qca4019-ct"'
 * unable to enable device 'mikrotik_sxtsq-5-ac'
make: *** [Makefile:166: config] Error 1

@mweinelt
Copy link
Contributor

mweinelt commented May 4, 2021

Maybe a conflict with whatever ipq-wifi-mikrotik_sxtsq-5-ac entails, I'm not sure.

@PolynomialDivision
Copy link
Author

PolynomialDivision commented May 4, 2021

Maybe a conflict with whatever ipq-wifi-mikrotik_sxtsq-5-ac entails, I'm not sure.

The package list looks weird. ath10k-ct and also ath10k-ct-small-buffers. Currently, I try to join the gluon irc channel. Do you have matrix @mweinelt?

The matrix bridge is currently not available for hackint... At least not working for me.

@PolynomialDivision
Copy link
Author

I think it is the commit version in openwrt that is to old. ;)

@herbetom
Copy link
Contributor

herbetom commented May 4, 2021

I think the MikroTik SXTsq 5 ac was just added yesterday to the openwrt:openwrt-21.02 Branch (this commit). The commit ID in the next-2102 Branch is a few days old.

@PolynomialDivision
Copy link
Author

I think the MikroTik SXTsq 5 ac was just added yesterday to the openwrt:openwrt-21.02 Branch (this commit). The commit ID in the next-2102 Branch is a few days old.

Yep. Thanks! Just updated the version.

@mweinelt
Copy link
Contributor

mweinelt commented May 4, 2021

Updated the base branch top use 701d25b551144cacd5d7fd8024fd2e6c7c264b70.

The SXTsq 5 AC is a sector antenna with ipq40xx SoC. In particular, the device is
ideal to be mounted on the balcony to supply public areas with internet access.

Signed-off-by: Nick Hainke <vincent@systemli.org>
@PolynomialDivision
Copy link
Author

Updated the base branch top use 701d25b551144cacd5d7fd8024fd2e6c7c264b70.

Okay, updated my PR. :)

@PolynomialDivision
Copy link
Author

Is it possible to set the default TX-Power and maybe ath10k instead of ath10k-ct?

@mweinelt
Copy link
Contributor

mweinelt commented May 4, 2021

Set packages to the correct package (https://github.com/freifunk-gluon/gluon/blob/master/targets/ipq40xx-generic#L1) set, cmp. https://github.com/freifunk-gluon/gluon/blob/master/targets/ipq40xx-generic#L89. Depends on the radio chip the device has.

@PolynomialDivision
Copy link
Author

Set packages to the correct package (https://github.com/freifunk-gluon/gluon/blob/master/targets/ipq40xx-generic#L1) set, cmp. https://github.com/freifunk-gluon/gluon/blob/master/targets/ipq40xx-generic#L89. Depends on the radio chip the device has.

Okay, the correct packages should already be used, since it is the default! :)

But still it fails. :/
I do

export GLUON_RELEASE=next-2102

and then

make update
make GLUON_TARGET=ipq40xx-generic

Is that correct?

@blocktrron
Copy link
Member

export GLUON_RELEASE=next-2102

should not be necessary. You only need to check out the branch you are working on and perform make update; make GLUON_TARGET=ipq40xx-generic.

@PolynomialDivision
Copy link
Author

If I do not set GLUON_RELEASE I have following problem:

Makefile:80: *** GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line.  Stop.

@herbetom
Copy link
Contributor

herbetom commented May 4, 2021

I would guess that you don't have a DEFAULT_GLUON_RELEASE in your site.mk

DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d')
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)

or something like that. Some Version needs to be set

@bdobe
Copy link
Contributor

bdobe commented May 4, 2021

Mikrotik devices have their own sub target under ipq40xx. ipq40xx-mikrotik

If you want you can have a look here. I have tested wAP ac and hAP ac2 so far. I don't have a SXTsq 5 AC for testing.

https://github.com/bdobe/gluon/tree/ipq40xx-mikrotik

@PolynomialDivision
Copy link
Author

@bdobe Ah thanks! So you plan merging it? (I can close). Then I will build an image and test it on an sxtsq ac 5.

@bdobe
Copy link
Contributor

bdobe commented May 4, 2021

Are pull requests for next-2102 already accepted? Then you can submit this in the next few days.

@PolynomialDivision
Copy link
Author

Are pull requests for next-2102 already accepted?

Nope. It was not even building. xD
I would need to merge your commits first and then change my commit accordingly.

@blocktrron
Copy link
Member

Please note that PRs against next branches are usually not accepted. We've accepted some in the past, but I'd like to avoid adding more, as next is more or less just feature-preview other people can experiment with (like done here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants