Skip to contentSkip to conversation

package/linux-firmware: add support of Amlogic bluetooth firmware

PATCH Applied Yang Li 2 participants 3 messages Jan 3, 2024 – Jan 18, 2024

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 package/linux-firmware: add support of Amlogic bluetooth firmware

Add support of Amlogic bluetooth firmware.

---
 package/linux-firmware/Config.in         | 9 +++++++++
 package/linux-firmware/linux-firmware.mk | 6 ++++++
 2 files changed, 15 insertions(+)
package/linux-firmware/Config.in +9 -0
index 5befe50122..9b7ead89d9 100644
@@ -602,4 +602,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX
 
 endmenu
 
+menu "Amlogic Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC
+	bool "Support Amlogic SOC firmware"
+	help
+	  Firmware files for Conexant Amlogic SOC driver.
+
+endmenu
+
 endif
package/linux-firmware/linux-firmware.mk +6 -0
index 96905dd909..4d02aeb714 100644
@@ -811,6 +811,12 @@ LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw
 # which is installed unconditionally
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC),y)
+LINUX_FIRMWARE_FILES += amlogic/bluetooth/*.bin
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 
 define LINUX_FIRMWARE_BUILD_CMDS
Signature · 6 lines
2.42.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Yang Li, All,

On 2024-01-03 15:39 +0800, Yang Li spake thusly:

Quoted 13 lines

Add support of Amlogic bluetooth firmware.

---
 package/linux-firmware/Config.in         | 9 +++++++++
 package/linux-firmware/linux-firmware.mk | 6 ++++++
 2 files changed, 15 insertions(+)
package/linux-firmware/Config.in +0 -0
index 5befe50122..9b7ead89d9 100644

package/linux-firmware/Config.in config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX · line 605

Quoted 4 lines
package/linux-firmware/Config.in +1 -0
@@ -602,4 +602,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX
 
 endmenu
 
+menu "Amlogic Firmware"

As the commit log states, and the file path implies, it is a Bluetotth firmware, so there is no need for a new submenu, and I moved the entry to the Bluettoth submenu.

Quoted 13 lines
package/linux-firmware/Config.in +7 -0
+config BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC
+	bool "Support Amlogic SOC firmware"
+	help
+	  Firmware files for Conexant Amlogic SOC driver.
+
+endmenu
+
 endif
package/linux-firmware/linux-firmware.mk +0 -0
index 96905dd909..4d02aeb714 100644

package/linux-firmware/linux-firmware.mk LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw · line 817

Quoted 7 lines
package/linux-firmware/linux-firmware.mk +4 -0
@@ -811,6 +811,12 @@ LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw
 # which is installed unconditionally
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC),y)
+LINUX_FIRMWARE_FILES += amlogic/bluetooth/*.bin
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally

Actually, there is one, aptly named LICENSE.amlogic, which is also referred to in the WHENCE file. So I added it, and aded a hash for it too. Please check on your side that you get the same hash as the one I added.

Applied to master with the above fixes, thanks.

Regards,
Yann E. MORIN.

Quoted 12 lines
package/linux-firmware/linux-firmware.mk +2 -0
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 
 define LINUX_FIRMWARE_BUILD_CMDS
Signature · 6 lines
2.42.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author
#2 lore raw

Yann, All,

Quoted 17 lines · Yann E. MORIN

Yang Li, All,

On 2024-01-03 15:39 +0800, Yang Li spake thusly:

Quoted 14 lines

Add support of Amlogic bluetooth firmware.

---
  package/linux-firmware/Config.in         | 9 +++++++++
  package/linux-firmware/linux-firmware.mk | 6 ++++++
  2 files changed, 15 insertions(+)
package/linux-firmware/Config.in +0 -0
index 5befe50122..9b7ead89d9 100644
@@ -602,4 +602,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX
 
Quoted 6 lines

package/linux-firmware/Config.in config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX · line 605

Quoted 3 lines
package/linux-firmware/Config.in +1 -0
  endmenu
 
+menu "Amlogic Firmware"

As the commit log states, and the file path implies, it is a Bluetotth firmware, so there is no need for a new submenu, and I moved the entry to the Bluettoth submenu.

Got it~
I will move BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC configure to Bluetooth sub menu.

Quoted 17 lines
Quoted 17 lines
package/linux-firmware/Config.in +7 -0
+config BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC
+     bool "Support Amlogic SOC firmware"
+     help
+       Firmware files for Conexant Amlogic SOC driver.
+
+endmenu
+
  endif
package/linux-firmware/linux-firmware.mk +0 -0
index 96905dd909..4d02aeb714 100644
@@ -811,6 +811,12 @@ LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw
  # which is installed unconditionally
  endif
 
Quoted 8 lines

package/linux-firmware/linux-firmware.mk LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw · line 817

Quoted 4 lines
package/linux-firmware/linux-firmware.mk +4 -0
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AMLOGIC),y)
+LINUX_FIRMWARE_FILES += amlogic/bluetooth/*.bin
+# No license file; the license is in the file WHENCE
+# which is installed unconditionally

Actually, there is one, aptly named LICENSE.amlogic, which is also referred to in the WHENCE file. So I added it, and aded a hash for it too. Please check on your side that you get the same hash as the one I added.

Yes, The hash of LICENSE.amlogic is correct.
Thanks!

Quoted 19 lines

Applied to master with the above fixes, thanks.

Regards,
Yann E. MORIN.

Quoted 8 lines
package/linux-firmware/linux-firmware.mk +2 -1
+endif
+
  ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
 
  define LINUX_FIRMWARE_BUILD_CMDS
--

2.42.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

Quoted 5 lines
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot