All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures
@ 2022-05-07 20:29 Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version Sergey Matyukevich
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sergey Matyukevich @ 2022-05-07 20:29 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Matyukevich

Hi all,

Here are several changes aimed at fixing recent xr819-xradio autobuild failures.

Regards,
Sergey

Sergey Matyukevich (3):
  package/xr819-xradio: bump version
  package/xr819-xradio: enable required kernel options
  package/xr819-xradio: enable for ARM only

 package/xr819-xradio/Config.in         |  1 +
 package/xr819-xradio/xr819-xradio.hash |  2 +-
 package/xr819-xradio/xr819-xradio.mk   | 10 +++++++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version
  2022-05-07 20:29 [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures Sergey Matyukevich
@ 2022-05-07 20:29 ` Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only Sergey Matyukevich
  2 siblings, 0 replies; 6+ messages in thread
From: Sergey Matyukevich @ 2022-05-07 20:29 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Matyukevich

Pull the latest xradio change that allows build testing
on other platforms than ARM.

Fixes:
- http://autobuild.buildroot.net/results/7ad4a4b6b1612460427e667d98efc6df7b4a2153

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 package/xr819-xradio/xr819-xradio.hash | 2 +-
 package/xr819-xradio/xr819-xradio.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/xr819-xradio/xr819-xradio.hash b/package/xr819-xradio/xr819-xradio.hash
index 4a77db0d1a..89201a8eb7 100644
--- a/package/xr819-xradio/xr819-xradio.hash
+++ b/package/xr819-xradio/xr819-xradio.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  06b91b1fcf98a261125b4d599ffcce2458fb9d0c1f38a4bd432a622b446f0f51  xr819-xradio-16180b6308e3c5dc42a92a663adf669028087ff7.tar.gz
+sha256  0d0449a85488b990d10ecdf67ac88bfbd39fa81c2df5dfcfed583975222afd33  xr819-xradio-4f0cfd5e869ca101e7c624d9ce05ba5d2b2a0bc2.tar.gz
 # Locally computed
 sha256  db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73  LICENSE
diff --git a/package/xr819-xradio/xr819-xradio.mk b/package/xr819-xradio/xr819-xradio.mk
index 5f60be887c..d4b9826f64 100644
--- a/package/xr819-xradio/xr819-xradio.mk
+++ b/package/xr819-xradio/xr819-xradio.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XR819_XRADIO_VERSION = 16180b6308e3c5dc42a92a663adf669028087ff7
+XR819_XRADIO_VERSION = 4f0cfd5e869ca101e7c624d9ce05ba5d2b2a0bc2
 XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION))
 XR819_XRADIO_LICENSE = GPL-2.0
 XR819_XRADIO_LICENSE_FILES = LICENSE
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options
  2022-05-07 20:29 [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version Sergey Matyukevich
@ 2022-05-07 20:29 ` Sergey Matyukevich
  2022-05-13 20:52   ` Arnout Vandecappelle
  2022-05-07 20:29 ` [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only Sergey Matyukevich
  2 siblings, 1 reply; 6+ messages in thread
From: Sergey Matyukevich @ 2022-05-07 20:29 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Matyukevich

Enable Linux kernel configuration options required by xradio driver.
Those are wireless networking support, sdio support, and power
management core functions.

Fixes:
- http://autobuild.buildroot.net/results/7ad4a4b6b1612460427e667d98efc6df7b4a2153/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 package/xr819-xradio/xr819-xradio.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/xr819-xradio/xr819-xradio.mk b/package/xr819-xradio/xr819-xradio.mk
index d4b9826f64..835e229347 100644
--- a/package/xr819-xradio/xr819-xradio.mk
+++ b/package/xr819-xradio/xr819-xradio.mk
@@ -9,5 +9,13 @@ XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION))
 XR819_XRADIO_LICENSE = GPL-2.0
 XR819_XRADIO_LICENSE_FILES = LICENSE
 
+define XR819_XRADIO_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_PM)
+endef
+
 $(eval $(kernel-module))
 $(eval $(generic-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only
  2022-05-07 20:29 [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version Sergey Matyukevich
  2022-05-07 20:29 ` [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options Sergey Matyukevich
@ 2022-05-07 20:29 ` Sergey Matyukevich
  2022-05-13 20:56   ` Arnout Vandecappelle
  2 siblings, 1 reply; 6+ messages in thread
From: Sergey Matyukevich @ 2022-05-07 20:29 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Matyukevich

The xradio driver is broken for kernel configurations with disabled
power management core functionality (CONFIG_PM). The xradio package
makefile attempts to enable all the required kernel configuration
options, including CONFIG_PM. However certain architectures have
no support for CONFIG_PM. Those are or1k, nios2, csky, and more.

One possible fix would be to exclude those architectures in the
package Config.in. On the other hand, the xradio driver is rarely
used: orangepi_zero is the only such board in Buildroot. So it
makes sense to keep it simple and enable xradio only for ARM.
Any new xradio users will be considered on a case by case basis.

Fixes:
- http://autobuild.buildroot.net/results/2ad11cd7a9ca6b694854730e46260a944e8c4bac/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 package/xr819-xradio/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/xr819-xradio/Config.in b/package/xr819-xradio/Config.in
index 9d7fa4b0f1..351ea95c79 100644
--- a/package/xr819-xradio/Config.in
+++ b/package/xr819-xradio/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_XR819_XRADIO
 	bool "xr819-xradio"
 	depends on BR2_LINUX_KERNEL
+	depends on BR2_arm
 	help
 	  Wireless driver for SDIO WiFi chip XR819
 
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options
  2022-05-07 20:29 ` [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options Sergey Matyukevich
@ 2022-05-13 20:52   ` Arnout Vandecappelle
  0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle @ 2022-05-13 20:52 UTC (permalink / raw)
  To: Sergey Matyukevich, buildroot



On 07/05/2022 22:29, Sergey Matyukevich wrote:
> Enable Linux kernel configuration options required by xradio driver.
> Those are wireless networking support, sdio support, and power
> management core functions.
> 
> Fixes:
> - http://autobuild.buildroot.net/results/7ad4a4b6b1612460427e667d98efc6df7b4a2153/
> 
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
> ---
>   package/xr819-xradio/xr819-xradio.mk | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/package/xr819-xradio/xr819-xradio.mk b/package/xr819-xradio/xr819-xradio.mk
> index d4b9826f64..835e229347 100644
> --- a/package/xr819-xradio/xr819-xradio.mk
> +++ b/package/xr819-xradio/xr819-xradio.mk
> @@ -9,5 +9,13 @@ XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION))
>   XR819_XRADIO_LICENSE = GPL-2.0
>   XR819_XRADIO_LICENSE_FILES = LICENSE
>   
> +define XR819_XRADIO_LINUX_CONFIG_FIXUPS
> +	$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
> +	$(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
> +	$(call KCONFIG_ENABLE_OPT,CONFIG_MAC80211)
> +	$(call KCONFIG_ENABLE_OPT,CONFIG_MMC)
> +	$(call KCONFIG_ENABLE_OPT,CONFIG_PM)

  I've applied to master. However, these options have dependencies that need to 
be checked as well. E.g. WIRELESS depends on NET (which is usually enabled, but 
you can't count on it). But it also depends on !S390 - in other words, you 
simply can't build this package for s390x, so that dependency has to be added to 
Config.in.

  Could you check this stuff and update the options?

  Regards,
  Arnout

> +endef
> +
>   $(eval $(kernel-module))
>   $(eval $(generic-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only
  2022-05-07 20:29 ` [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only Sergey Matyukevich
@ 2022-05-13 20:56   ` Arnout Vandecappelle
  0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle @ 2022-05-13 20:56 UTC (permalink / raw)
  To: Sergey Matyukevich, buildroot



On 07/05/2022 22:29, Sergey Matyukevich wrote:
> The xradio driver is broken for kernel configurations with disabled
> power management core functionality (CONFIG_PM). The xradio package
> makefile attempts to enable all the required kernel configuration
> options, including CONFIG_PM. However certain architectures have
> no support for CONFIG_PM. Those are or1k, nios2, csky, and more.
> 
> One possible fix would be to exclude those architectures in the
> package Config.in. On the other hand, the xradio driver is rarely
> used: orangepi_zero is the only such board in Buildroot. So it
> makes sense to keep it simple and enable xradio only for ARM.
> Any new xradio users will be considered on a case by case basis.
> 
> Fixes:
> - http://autobuild.buildroot.net/results/2ad11cd7a9ca6b694854730e46260a944e8c4bac/
> 
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

  I've applied this one as well, so forget my remark in the previous patch about 
s390 :-)

> ---
>   package/xr819-xradio/Config.in | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/package/xr819-xradio/Config.in b/package/xr819-xradio/Config.in
> index 9d7fa4b0f1..351ea95c79 100644
> --- a/package/xr819-xradio/Config.in
> +++ b/package/xr819-xradio/Config.in
> @@ -1,6 +1,7 @@
>   config BR2_PACKAGE_XR819_XRADIO
>   	bool "xr819-xradio"
>   	depends on BR2_LINUX_KERNEL
> +	depends on BR2_arm

  aarch64 is likely as well, and why not add the BE variants too... So I added 
those and applied to master, thanks.

  Regards,
  Arnout

>   	help
>   	  Wireless driver for SDIO WiFi chip XR819
>   
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-13 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-07 20:29 [Buildroot] [PATCH 0/3] xr819-xradio: fixes for autobuild failures Sergey Matyukevich
2022-05-07 20:29 ` [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version Sergey Matyukevich
2022-05-07 20:29 ` [Buildroot] [PATCH 2/3] package/xr819-xradio: enable required kernel options Sergey Matyukevich
2022-05-13 20:52   ` Arnout Vandecappelle
2022-05-07 20:29 ` [Buildroot] [PATCH 3/3] package/xr819-xradio: enable for ARM only Sergey Matyukevich
2022-05-13 20:56   ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.