Skip to contentSkip to conversation

imx-uuc: needs headers >= 3.18

PATCH New Fabrice Fontaine 2 participants 4 messages Nov 18, 2018 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 imx-uuc: needs headers >= 3.18

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the following commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

This new ufb daemon uses usb_functionfs_descs_head_v2 which is available only since 3.18:
https://github.com/torvalds/linux/commit/1df22b4ea9d91b01267fb61c155c31fb65d6b8a0

So add a dependency on headers >= 3.18

Fixes:
- http://autobuild.buildroot.org/results/1081062b1c32c44a9feb5b14288095bc72d15986

---
 package/freescale-imx/imx-uuc/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/freescale-imx/imx-uuc/Config.in +4 -2
index ed734ad7e2..0e257bde17 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_IMX_UUC
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_arm # Only relevant for i.MX
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2
 	select BR2_PACKAGE_HOST_DOSFSTOOLS
 	help
 	  This package provides the Universal Adapter user-space
@@ -15,7 +16,8 @@ config BR2_PACKAGE_IMX_UUC
 	  This package is provided by Freescale/NXP as-is and doesn't
 	  have an upstream.
 
-comment "imx-uuc needs a toolchain w/ threads"
+comment "imx-uuc needs a toolchain w/ threads, headers >= 3.18"
 	depends on BR2_arm
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 imx-uuc: install ufb

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the new ufb daemon through the following commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

So install ufb on target

---
 package/freescale-imx/imx-uuc/imx-uuc.mk | 1 +
 1 file changed, 1 insertion(+)
package/freescale-imx/imx-uuc/imx-uuc.mk +1 -0
index bdfa51b171..52d2b7c7a3 100644
@@ -20,6 +20,7 @@ endef
 define IMX_UUC_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 755 $(@D)/uuc $(TARGET_DIR)/usr/bin/uuc
 	$(INSTALL) -D -m 755 $(@D)/sdimage $(TARGET_DIR)/usr/bin/sdimage
+	$(INSTALL) -D -m 755 $(@D)/ufb $(TARGET_DIR)/usr/bin/ufb
 	dd if=/dev/zero of=$(TARGET_DIR)/fat bs=1M count=1
 	$(HOST_DIR)/sbin/mkfs.vfat $(TARGET_DIR)/fat
 endef
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 imx-uuc: install ufb

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the new ufb daemon through the following commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

So install ufb on target

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 imx-uuc: needs headers >= 3.18

In reply to Fabrice Fontaine
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Bump to 79e9798eee9cd972d92ed2b18f170de856d153c9 added the following commit:
https://github.com/NXPmicro/imx-uuc/commit/ce808f3010ec73ccc07775c6cfd5317807a22415

This new ufb daemon uses usb_functionfs_descs_head_v2 which is available only since 3.18:
https://github.com/torvalds/linux/commit/1df22b4ea9d91b01267fb61c155c31fb65d6b8a0

Quoted 6 lines

So add a dependency on headers >= 3.18

Fixes:
- http://autobuild.buildroot.org/results/1081062b1c32c44a9feb5b14288095bc72d15986

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard