2019-09-10 22:07:05 +02:00
|
|
|
# Generated using "./buildscript config openwrt".
|
|
|
|
# Do no edit manually
|
|
|
|
#
|
|
|
|
CONFIG_TARGET_ipq806x=y
|
|
|
|
CONFIG_TARGET_ipq806x_generic=y
|
|
|
|
CONFIG_TARGET_MULTI_PROFILE=y
|
|
|
|
CONFIG_TARGET_DEVICE_ipq806x_generic_DEVICE_tplink_c2600=y
|
bsp: use mainline/QCA driver and firmware for ath10k WiFi
OpenWrt offers two variants of ath10k driver and firmware, the
"normal" mainline/QCA variant and the "CT" variant [1]
developed as fork by Candela Technologies.
Both deviate from each other with respect to their feature set,
level of support and system impact (i.e. memory consumption).
Since the 19.07 release, OpenWrt has made the "CT" variant its
default for supporting (almost) all ath10k chips. [2]
However, for this firmware the CT driver/firmware introduces a number
of (potential) drawbacks:
- CT memory consumption seems to be higher. (This still needs to be
verified for the new kmod-ath10k-ct-smallbuffers variant.) This
is particularly a problem on several ath10k devices with 64 MB RAM,
where the devices run into OOM regularly (i.e. C60 v1/v2). [3]
- Though CT has active support, it is still just a fork effectively
maintained by one person.
- With CT driver/firmware there are frequent reports that the
combination of AP and 802.11s is not working. [4] While this issue
couldn't be reproduced in recent tests, it still is explicitly
not supported, and there is no interest to change that at the
moment. [5]
Due to these reasons, it seems more appropriate for us to use the
mainline/QCA variant of ath10k driver and firmwares. This patch
applies that to all affected devices.
Note that currently the mainline driver also benefits from a local
patch in OpenWrt that reduces the memory footprint. This patch has
been removed in master, so we will need to keep it locally when using
a 20.xx OpenWrt release. [6]
[1] https://github.com/greearb/ath10k-ct.git
[2] https://github.com/openwrt/openwrt/commit/61b5b4971e7d6aab6b0695997c3b5aaf73c53b5f
[3] https://github.com/openwrt/openwrt/commit/1ac627024de916eb157659caf49f93fa89d3b19a
[4] https://github.com/freifunk-berlin/firmware/issues/696
https://forum.openwrt.org/t/ath10k-ct-and-802-11s-mesh-not-working-on-archer-c7/13877
[5] https://github.com/openwrt/openwrt/pull/2341#issuecomment-580904873
[6] https://github.com/openwrt/openwrt/commit/1e27befe63ff4c69f110c7310316f4af75ee63e9
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Fabian Bläse <fabian@blaese.de>
2020-03-30 18:35:51 +02:00
|
|
|
CONFIG_TARGET_DEVICE_PACKAGES_ipq806x_generic_DEVICE_tplink_c2600="-ath10k-firmware-qca99x0-ct ath10k-firmware-qca99x0"
|
2019-09-10 22:07:05 +02:00
|
|
|
CONFIG_BUSYBOX_CUSTOM=y
|
bsp: harmonize settings across targets
This patch harmonizes the options in the OpenWrt .config files
across targets. Many of them have evolved somewhat independently,
and unifying them should make maintenance easier in the future.
The most important change is the consistent per-device build applied:
When building devices with OpenWrt, you have the option to either
build a default image for the (sub)target, an image for a single
device, or images for multiple devices. This is controlled by
CONFIG_TARGET_MULTI_PROFILE. In addition, the option
CONFIG_TARGET_PER_DEVICE_ROOTFS will toggle whether packages
are selected per-device or per-target.
When we build only a single device per target, setting these options
will only have minor effect. As soon as a second device is added
though, impact will be heavy, and devices may end up with no/wrong
packages.
Thus, this patch sets both options to "y" on all targets, which
essentially eliminates this problem for the future (and corresponds
to what the OpenWrt build bots do).
The only option not harmonized is the CONFIG_TARGET_SQUASHFS_BLOCK_SIZE.
All ath10k settings are target-dependent as well.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
2020-04-01 12:47:12 +02:00
|
|
|
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_BRCTL is not set
|
2024-01-06 16:18:42 +01:00
|
|
|
# CONFIG_BUSYBOX_CONFIG_CHGRP is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_CHOWN is not set
|
bsp: harmonize settings across targets
This patch harmonizes the options in the OpenWrt .config files
across targets. Many of them have evolved somewhat independently,
and unifying them should make maintenance easier in the future.
The most important change is the consistent per-device build applied:
When building devices with OpenWrt, you have the option to either
build a default image for the (sub)target, an image for a single
device, or images for multiple devices. This is controlled by
CONFIG_TARGET_MULTI_PROFILE. In addition, the option
CONFIG_TARGET_PER_DEVICE_ROOTFS will toggle whether packages
are selected per-device or per-target.
When we build only a single device per target, setting these options
will only have minor effect. As soon as a second device is added
though, impact will be heavy, and devices may end up with no/wrong
packages.
Thus, this patch sets both options to "y" on all targets, which
essentially eliminates this problem for the future (and corresponds
to what the OpenWrt build bots do).
The only option not harmonized is the CONFIG_TARGET_SQUASHFS_BLOCK_SIZE.
All ath10k settings are target-dependent as well.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
2020-04-01 12:47:12 +02:00
|
|
|
# CONFIG_BUSYBOX_CONFIG_CROND is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_CRONTAB is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_FEATURE_FAST_TOP is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_FEATURE_NTPD_SERVER is not set
|
2024-01-06 16:18:42 +01:00
|
|
|
# CONFIG_BUSYBOX_CONFIG_IFCONFIG is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_IP is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_MKSWAP is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_ROUTE is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_SWAPOFF is not set
|
|
|
|
# CONFIG_BUSYBOX_CONFIG_SWAPON is not set
|
2019-09-10 22:07:05 +02:00
|
|
|
CONFIG_CLEAN_IPKG=y
|
bsp: harmonize settings across targets
This patch harmonizes the options in the OpenWrt .config files
across targets. Many of them have evolved somewhat independently,
and unifying them should make maintenance easier in the future.
The most important change is the consistent per-device build applied:
When building devices with OpenWrt, you have the option to either
build a default image for the (sub)target, an image for a single
device, or images for multiple devices. This is controlled by
CONFIG_TARGET_MULTI_PROFILE. In addition, the option
CONFIG_TARGET_PER_DEVICE_ROOTFS will toggle whether packages
are selected per-device or per-target.
When we build only a single device per target, setting these options
will only have minor effect. As soon as a second device is added
though, impact will be heavy, and devices may end up with no/wrong
packages.
Thus, this patch sets both options to "y" on all targets, which
essentially eliminates this problem for the future (and corresponds
to what the OpenWrt build bots do).
The only option not harmonized is the CONFIG_TARGET_SQUASHFS_BLOCK_SIZE.
All ath10k settings are target-dependent as well.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
2020-04-01 12:47:12 +02:00
|
|
|
# CONFIG_DROPBEAR_CURVE25519 is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_CIPHER_SALSA2012 is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_MAC_GHASH is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_MAC_UHASH is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_METHOD_COMPOSED_GMAC is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_METHOD_COMPOSED_UMAC is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_METHOD_GENERIC_GMAC is not set
|
|
|
|
# CONFIG_FASTD_ENABLE_METHOD_GENERIC_UMAC is not set
|
|
|
|
# CONFIG_PACKAGE_ALFRED_VIS is not set
|
2024-01-06 16:04:26 +01:00
|
|
|
CONFIG_PACKAGE_fff-extra=y
|
2024-01-06 16:09:00 +01:00
|
|
|
CONFIG_PACKAGE_libuclient=m
|
2022-12-04 23:29:13 +01:00
|
|
|
CONFIG_PACKAGE_libwolfssl=m
|
2019-09-10 22:07:05 +02:00
|
|
|
CONFIG_PACKAGE_opkg=m
|
2022-12-04 23:29:13 +01:00
|
|
|
CONFIG_PACKAGE_wpad-basic=y
|
2024-01-06 16:09:00 +01:00
|
|
|
CONFIG_PACKAGE_uclient-fetch=m
|
2022-12-04 23:29:13 +01:00
|
|
|
CONFIG_PACKAGE_wpad-basic-wolfssl=m
|
bsp: use mainline/QCA driver and firmware for ath10k WiFi
OpenWrt offers two variants of ath10k driver and firmware, the
"normal" mainline/QCA variant and the "CT" variant [1]
developed as fork by Candela Technologies.
Both deviate from each other with respect to their feature set,
level of support and system impact (i.e. memory consumption).
Since the 19.07 release, OpenWrt has made the "CT" variant its
default for supporting (almost) all ath10k chips. [2]
However, for this firmware the CT driver/firmware introduces a number
of (potential) drawbacks:
- CT memory consumption seems to be higher. (This still needs to be
verified for the new kmod-ath10k-ct-smallbuffers variant.) This
is particularly a problem on several ath10k devices with 64 MB RAM,
where the devices run into OOM regularly (i.e. C60 v1/v2). [3]
- Though CT has active support, it is still just a fork effectively
maintained by one person.
- With CT driver/firmware there are frequent reports that the
combination of AP and 802.11s is not working. [4] While this issue
couldn't be reproduced in recent tests, it still is explicitly
not supported, and there is no interest to change that at the
moment. [5]
Due to these reasons, it seems more appropriate for us to use the
mainline/QCA variant of ath10k driver and firmwares. This patch
applies that to all affected devices.
Note that currently the mainline driver also benefits from a local
patch in OpenWrt that reduces the memory footprint. This patch has
been removed in master, so we will need to keep it locally when using
a 20.xx OpenWrt release. [6]
[1] https://github.com/greearb/ath10k-ct.git
[2] https://github.com/openwrt/openwrt/commit/61b5b4971e7d6aab6b0695997c3b5aaf73c53b5f
[3] https://github.com/openwrt/openwrt/commit/1ac627024de916eb157659caf49f93fa89d3b19a
[4] https://github.com/freifunk-berlin/firmware/issues/696
https://forum.openwrt.org/t/ath10k-ct-and-802-11s-mesh-not-working-on-archer-c7/13877
[5] https://github.com/openwrt/openwrt/pull/2341#issuecomment-580904873
[6] https://github.com/openwrt/openwrt/commit/1e27befe63ff4c69f110c7310316f4af75ee63e9
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Fabian Bläse <fabian@blaese.de>
2020-03-30 18:35:51 +02:00
|
|
|
CONFIG_PACKAGE_ath10k-firmware-qca99x0=m
|
|
|
|
CONFIG_PACKAGE_kmod-ath10k=y
|
|
|
|
CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct=m
|
|
|
|
CONFIG_PACKAGE_kmod-ath10k-ct=m
|
2019-09-10 22:07:05 +02:00
|
|
|
CONFIG_STRIP_KERNEL_EXPORTS=y
|