Skip to contentSkip to conversation

ti-uim: moved to github

PATCH New Baruch Siach 3 participants 9 messages Mar 9, 2017 – Mar 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ti-uim: moved to github

gitorious.org is down. Use the github repo instead.

Cc Alexandre Belloni <[email protected]>
---
 package/ti-uim/ti-uim.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ti-uim/ti-uim.mk +1 -1
index b49818004989..1c78db0e6f01 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 TI_UIM_VERSION = c73894456df5def97111cb33d2106b684b8b7959
-TI_UIM_SITE = git://gitorious.org/uim/uim.git
+TI_UIM_SITE = $(call github,96boards,uim,$(TI_UIM_VERSION))
 TI_UIM_LICENSE = GPLv2+
 
 define TI_UIM_BUILD_CMDS
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 ti-uim: bump to latest version

Also, add a hash file.

Cc Alexandre Belloni <[email protected]>
---
 package/ti-uim/ti-uim.hash | 2 ++
 package/ti-uim/ti-uim.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/ti-uim/ti-uim.hash
package/ti-uim/ti-uim.hash new file +2 -0
new file mode 100644
index 000000000000..ea64540ba81f
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 da8a66968f4bf99366ab2b63baf358d937a6b1a5636ef6179c3aa7c852cbd1b2 ti-uim-a0236bc252e6484835ce266ae4a50b361f6a902d.tar.gz
package/ti-uim/ti-uim.mk +1 -1
index 1c78db0e6f01..a6e19b87ca9a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TI_UIM_VERSION = c73894456df5def97111cb33d2106b684b8b7959
+TI_UIM_VERSION = a0236bc252e6484835ce266ae4a50b361f6a902d
 TI_UIM_SITE = $(call github,96boards,uim,$(TI_UIM_VERSION))
 TI_UIM_LICENSE = GPLv2+
 
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/2 ti-uim: bump to latest version

Quoted 4 lines · Baruch Siach

Also, add a hash file.

Cc Alexandre Belloni <[email protected]>

BTW, I don't think this daemon is necessary anymore with recent kernel but I don't exactly remember all the details.

Quoted 30 lines
---
 package/ti-uim/ti-uim.hash | 2 ++
 package/ti-uim/ti-uim.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/ti-uim/ti-uim.hash
package/ti-uim/ti-uim.hash new file +2 -0
new file mode 100644
index 000000000000..ea64540ba81f
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 da8a66968f4bf99366ab2b63baf358d937a6b1a5636ef6179c3aa7c852cbd1b2 ti-uim-a0236bc252e6484835ce266ae4a50b361f6a902d.tar.gz
package/ti-uim/ti-uim.mk +1 -1
index 1c78db0e6f01..a6e19b87ca9a 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TI_UIM_VERSION = c73894456df5def97111cb33d2106b684b8b7959
+TI_UIM_VERSION = a0236bc252e6484835ce266ae4a50b361f6a902d
 TI_UIM_SITE = $(call github,96boards,uim,$(TI_UIM_VERSION))
 TI_UIM_LICENSE = GPLv2+
 
Signature · 1 line
2.11.0
Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 2/2 ti-uim: bump to latest version

Hi Alexandre,

Quoted 6 lines · Alexandre Belloni
Quoted 4 lines · Baruch Siach

Also, add a hash file.

Cc Alexandre Belloni <[email protected]>

Thanks.

Quoted 2 lines

BTW, I don't think this daemon is necessary anymore with recent kernel but I don't exactly remember all the details.

It is unfortunately still needed. I just tested with kernel v4.10.1 on SolidRun i.MX6 uSOM rev 1.5 with the TI WL1831 BT/WiFi combo. Hopefully the newly introduced serdev bus (commit cd6484e1830b) would obviate the need for such a horrible hack at some future point.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#4 lore raw

PATCH 2/2 ti-uim: bump to latest version

Quoted 12 lines · Baruch Siach

Hi Alexandre,

Quoted 6 lines · Alexandre Belloni
Quoted 4 lines · Baruch Siach

Also, add a hash file.

Cc Alexandre Belloni <[email protected]>

Thanks.

Quoted 8 lines
Quoted 2 lines

BTW, I don't think this daemon is necessary anymore with recent kernel but I don't exactly remember all the details.

It is unfortunately still needed. I just tested with kernel v4.10.1 on SolidRun i.MX6 uSOM rev 1.5 with the TI WL1831 BT/WiFi combo. Hopefully the newly introduced serdev bus (commit cd6484e1830b) would obviate the need for such a horrible hack at some future point.

I've checked my notes (from 2013, WL1271L) And I had two ways of making it work:

     # modprobe st_drv; uim&
     # modprobe btwilink
     # hciconfig hci0 up

or

     # hciattach /dev/ttyS2 texas 115200
     # hciconfig hci0 up

I'm not sure it is still working though, I just wanted to let you know.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#5 lore raw

PATCH 2/2 ti-uim: bump to latest version

Hi Alexandre,

Quoted 16 lines · Alexandre Belloni
Quoted 8 lines · Baruch Siach
Quoted 2 lines · Alexandre Belloni

BTW, I don't think this daemon is necessary anymore with recent kernel but I don't exactly remember all the details.

It is unfortunately still needed. I just tested with kernel v4.10.1 on SolidRun i.MX6 uSOM rev 1.5 with the TI WL1831 BT/WiFi combo. Hopefully the newly introduced serdev bus (commit cd6484e1830b) would obviate the need for such a horrible hack at some future point.

I've checked my notes (from 2013, WL1271L) And I had two ways of making it work:

     # modprobe st_drv; uim&
     # modprobe btwilink
     # hciconfig hci0 up
Quoted 6 lines

or

     # hciattach /dev/ttyS2 texas 115200
     # hciconfig hci0 up

I'm not sure it is still working though, I just wanted to let you know.

Thanks for the tip. Unfortunately hciattach doesn't work for me here.

Looking through the code I see that btwilink depends on st_drv. Both kernel space st_drv and userspace hciattach_ti.c try to load the same .bts firmware file. I can't see how that could work together.

Did you use a different Bluetooth driver with hciattach?

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#6 lore raw

PATCH 2/2 ti-uim: bump to latest version

Quoted 8 lines · Baruch Siach

Thanks for the tip. Unfortunately hciattach doesn't work for me here.

Looking through the code I see that btwilink depends on st_drv. Both kernel space st_drv and userspace hciattach_ti.c try to load the same .bts firmware file. I can't see how that could work together.

Did you use a different Bluetooth driver with hciattach?

Yep, my previous email was not clear but you simply don't use a kernel driver when using hciattach. hciattach will directly communicate on the serial interface.

Again, I didn't use that since 2013 so I'm not sure what the status is.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#7 lore raw

PATCH 1/2 ti-uim: moved to github

In reply to Baruch Siach
Quoted 2 lines · Baruch Siach

gitorious.org is down. Use the github repo instead.

Weird, I thought a patch had already been sent to do that.

Quoted 2 lines
Cc Alexandre Belloni <[email protected]>
Quoted 20 lines
---
 package/ti-uim/ti-uim.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ti-uim/ti-uim.mk +1 -1
index b49818004989..1c78db0e6f01 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 TI_UIM_VERSION = c73894456df5def97111cb33d2106b684b8b7959
-TI_UIM_SITE = git://gitorious.org/uim/uim.git
+TI_UIM_SITE = $(call github,96boards,uim,$(TI_UIM_VERSION))
 TI_UIM_LICENSE = GPLv2+
 
 define TI_UIM_BUILD_CMDS
Signature · 1 line
2.11.0
Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#8 lore raw

PATCH 1/2 ti-uim: moved to github

In reply to Baruch Siach

Hello,

Quoted 7 lines · Baruch Siach

gitorious.org is down. Use the github repo instead.

Cc Alexandre Belloni <[email protected]>
---
 package/ti-uim/ti-uim.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Both applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com