Skip to contentSkip to conversation

linux-firmware: correct name of Marvell license file

PATCH In review Peter A. Bigot 2 participants 7 messages Aug 26, 2013 – Sep 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-firmware: correct name of Marvell license file

From: "Peter A. Bigot" <[email protected]>

Follow upstream in changing the name of the license file for Marvell firmware:

commit 2e79e60b7e4771427327ed508fa27b90d841afcb
Author: Bing Zhao <[email protected]>
Date: Fri Jan 7 16:06:56 2011 -0800

linux-firmware: use single license file for Marvell firmwares

Libertas and mwl8k firmware images are under the same license.

  :000000 100644 0000000... 3224e1b... A  LICENCE.Marvell
  :100644 000000 1fd8766... 0000000... D  LICENCE.libertas
  :100644 000000 3224e1b... 0000000... D  LICENCE.mwl8k
  :100644 100644 d0740ce... 35b82c8... M  WHENCE
---
 .../linux-firmware/linux-firmware_git.bb           |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +3 -2
index ee33f50..42f6ce0 100644
@@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \
                     file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \
                     file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
                     file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
+                    file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
                    "
 
 SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860"
@@ -95,11 +96,11 @@ FILES_${PN}-ralink = " \
   /lib/firmware/LICENCE.ralink-firmware.txt \
 "
 
-LICENSE_${PN}-sd8686 = "Firmware-libertas"
+LICENSE_${PN}-sd8686 = "Firmware-Marvell"
 FILES_${PN}-sd8686 = " \
   /lib/firmware/libertas/sd8686_v9* \
   /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.libertas \
+  /lib/firmware/LICENCE.Marvell \
 "
 
 FILES_${PN}-rtl-license = " \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 linux-firmware: package Marvell SD8787 firmware

From: "Peter A. Bigot" <[email protected]>

Also split out Marvell license as separate package.

---
 .../linux-firmware/linux-firmware_git.bb           |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +12 -2
index 42f6ce0..0c69ee4 100644
@@ -55,7 +55,9 @@ do_install() {
 }
 
 
-PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx ${PN}-vt6656 \
+PACKAGES =+ "${PN}-ralink \
+             ${PN}-Marvell-license ${PN}-sd8686 ${PN}-sd8787 \
+             ${PN}-wl12xx ${PN}-vt6656 \
              ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
              ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \
              ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
@@ -96,12 +98,20 @@ FILES_${PN}-ralink = " \
   /lib/firmware/LICENCE.ralink-firmware.txt \
 "
 
+FILES_${PN}-Marvell-license = "/lib/firmware/LICENCE.Marvell"
+
 LICENSE_${PN}-sd8686 = "Firmware-Marvell"
 FILES_${PN}-sd8686 = " \
   /lib/firmware/libertas/sd8686_v9* \
   /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.Marvell \
 "
+RDEPENDS_${PN}-sd8686 += "${PN}-Marvell-license"
+
+LICENSE_${PN}-sd8787 = "Firmware-Marvell"
+FILES_${PN}-sd8787 = " \
+  /lib/firmware/mrvl/sd8787_uapsta.bin \
+"
+RDEPENDS_${PN}-sd8787 += "${PN}-Marvell-license"
 
 FILES_${PN}-rtl-license = " \
   /lib/firmware/LICENCE.rtlwifi_firmware.txt \
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 2/2] linux-firmware: package Marvell SD8787 firmware

Quoted 14 lines · Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

Also split out Marvell license as separate package.

---
  .../linux-firmware/linux-firmware_git.bb           |   14 ++++++++++++--
  1 file changed, 12 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +0 -0
index 42f6ce0..0c69ee4 100644

meta/recipes-kernel/linux-firmware/linux-firmware_git.bb do_install() { · line 59

Quoted 6 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2 -1
@@ -55,7 +55,9 @@ do_install() {
  }
 
 
-PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx ${PN}-vt6656 \
+PACKAGES =+ "${PN}-ralink \
+             ${PN}-Marvell-license ${PN}-sd8686 ${PN}-sd8787 \

This is an illegal package name with Capital "Marvell", this is due to ipkg not handling capital letters in package names.

This should have given you an error during your testing.

Sau!

Quoted 27 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +10 -1
+             ${PN}-wl12xx ${PN}-vt6656 \
               ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
               ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \
               ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
@@ -96,12 +98,20 @@ FILES_${PN}-ralink = " \
    /lib/firmware/LICENCE.ralink-firmware.txt \
  "
 
+FILES_${PN}-Marvell-license = "/lib/firmware/LICENCE.Marvell"
+
  LICENSE_${PN}-sd8686 = "Firmware-Marvell"
  FILES_${PN}-sd8686 = " \
    /lib/firmware/libertas/sd8686_v9* \
    /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.Marvell \
  "
+RDEPENDS_${PN}-sd8686 += "${PN}-Marvell-license"
+
+LICENSE_${PN}-sd8787 = "Firmware-Marvell"
+FILES_${PN}-sd8787 = " \
+  /lib/firmware/mrvl/sd8787_uapsta.bin \
+"
+RDEPENDS_${PN}-sd8787 += "${PN}-Marvell-license"
 
  FILES_${PN}-rtl-license = " \
    /lib/firmware/LICENCE.rtlwifi_firmware.txt \
#3 lore raw

Re: [PATCH 2/2] linux-firmware: package Marvell SD8787 firmware

Quoted 19 lines · Saul Wold
Quoted 18 lines · Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

Also split out Marvell license as separate package.

---
  .../linux-firmware/linux-firmware_git.bb           |   14 
++++++++++++--
  1 file changed, 12 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +0 -0
index 42f6ce0..0c69ee4 100644
@@ -55,7 +55,9 @@ do_install() {
  }
 
 
Quoted 6 lines

meta/recipes-kernel/linux-firmware/linux-firmware_git.bb do_install() { · line 59

Quoted 3 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +2 -1
-PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx ${PN}-vt6656 \
+PACKAGES =+ "${PN}-ralink \
+             ${PN}-Marvell-license ${PN}-sd8686 ${PN}-sd8787 \

This is an illegal package name with Capital "Marvell", this is due to ipkg not handling capital letters in package names.

This should have given you an error during your testing.

Didn't come up, but I'm using rpm. I picked capital because that's what it is upstream, but will modify it to use lower case and resubmit.

Peter

Quoted 33 lines

Sau!

Quoted 30 lines
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +1 -0
+             ${PN}-wl12xx ${PN}-vt6656 \
               ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce 
 ${PN}-rtl8192su \
               ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 
${PN}-bcm4334 \
               ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k 

${PN}-ath6k ${PN}-ath9k \

meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +9 -1
@@ -96,12 +98,20 @@ FILES_${PN}-ralink = " \
    /lib/firmware/LICENCE.ralink-firmware.txt \
  "
 
+FILES_${PN}-Marvell-license = "/lib/firmware/LICENCE.Marvell"
+
  LICENSE_${PN}-sd8686 = "Firmware-Marvell"
  FILES_${PN}-sd8686 = " \
    /lib/firmware/libertas/sd8686_v9* \
    /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.Marvell \
  "
+RDEPENDS_${PN}-sd8686 += "${PN}-Marvell-license"
+
+LICENSE_${PN}-sd8787 = "Firmware-Marvell"
+FILES_${PN}-sd8787 = " \
+  /lib/firmware/mrvl/sd8787_uapsta.bin \
+"
+RDEPENDS_${PN}-sd8787 += "${PN}-Marvell-license"
 
  FILES_${PN}-rtl-license = " \
    /lib/firmware/LICENCE.rtlwifi_firmware.txt \
#4 lore raw

PATCH v2 1/1 linux-firmware: package Marvell SD8787 firmware

In reply to Peter A. Bigot

Also split out Marvell license as separate package.

---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +12 -2
index 42f6ce0..1a6f7c9 100644
@@ -55,7 +55,9 @@ do_install() {
 }
 
 
-PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx ${PN}-vt6656 \
+PACKAGES =+ "${PN}-ralink \
+             ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8787 \
+             ${PN}-wl12xx ${PN}-vt6656 \
              ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
              ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \
              ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
@@ -96,12 +98,20 @@ FILES_${PN}-ralink = " \
   /lib/firmware/LICENCE.ralink-firmware.txt \
 "
 
+FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell"
+
 LICENSE_${PN}-sd8686 = "Firmware-Marvell"
 FILES_${PN}-sd8686 = " \
   /lib/firmware/libertas/sd8686_v9* \
   /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.Marvell \
 "
+RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
+
+LICENSE_${PN}-sd8787 = "Firmware-Marvell"
+FILES_${PN}-sd8787 = " \
+  /lib/firmware/mrvl/sd8787_uapsta.bin \
+"
+RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
 
 FILES_${PN}-rtl-license = " \
   /lib/firmware/LICENCE.rtlwifi_firmware.txt \
Signature · 1 line
1.8.4
#5 lore raw
In reply to Peter A. Bigot

Ping? For this one on dylan; the master one has been merged.

Quoted 53 lines · Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

Follow upstream in changing the name of the license file for Marvell firmware:

commit 2e79e60b7e4771427327ed508fa27b90d841afcb
Author: Bing Zhao <[email protected]>
Date: Fri Jan 7 16:06:56 2011 -0800

linux-firmware: use single license file for Marvell firmwares

Libertas and mwl8k firmware images are under the same license.

   :000000 100644 0000000... 3224e1b... A  LICENCE.Marvell
   :100644 000000 1fd8766... 0000000... D  LICENCE.libertas
   :100644 000000 3224e1b... 0000000... D  LICENCE.mwl8k
   :100644 100644 d0740ce... 35b82c8... M  WHENCE
---
  .../linux-firmware/linux-firmware_git.bb           |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +3 -2
index ee33f50..42f6ce0 100644
@@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \
                      file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \
                      file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
                      file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
+                    file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
                     "
 
  SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860"
@@ -95,11 +96,11 @@ FILES_${PN}-ralink = " \
    /lib/firmware/LICENCE.ralink-firmware.txt \
  "
 
-LICENSE_${PN}-sd8686 = "Firmware-libertas"
+LICENSE_${PN}-sd8686 = "Firmware-Marvell"
  FILES_${PN}-sd8686 = " \
    /lib/firmware/libertas/sd8686_v9* \
    /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.libertas \
+  /lib/firmware/LICENCE.Marvell \
  "
 
  FILES_${PN}-rtl-license = " \
#6 lore raw
In reply to Peter A. Bigot

Ok, third time after smacking thunderbird upside the head:

Ping for this and the revised 2/2 in which I addressed Saul's comment.

Peter

Quoted 53 lines · Peter A. Bigot

From: "Peter A. Bigot" <[email protected]>

Follow upstream in changing the name of the license file for Marvell firmware:

commit 2e79e60b7e4771427327ed508fa27b90d841afcb
Author: Bing Zhao <[email protected]>
Date: Fri Jan 7 16:06:56 2011 -0800

linux-firmware: use single license file for Marvell firmwares

Libertas and mwl8k firmware images are under the same license.

   :000000 100644 0000000... 3224e1b... A  LICENCE.Marvell
   :100644 000000 1fd8766... 0000000... D  LICENCE.libertas
   :100644 000000 3224e1b... 0000000... D  LICENCE.mwl8k
   :100644 100644 d0740ce... 35b82c8... M  WHENCE
---
  .../linux-firmware/linux-firmware_git.bb           |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +3 -2
index ee33f50..42f6ce0 100644
@@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \
                      file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \
                      file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
                      file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
+                    file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
                     "
 
  SRCREV = "c530a75c1e6a472b0eb9558310b518f0dfcd8860"
@@ -95,11 +96,11 @@ FILES_${PN}-ralink = " \
    /lib/firmware/LICENCE.ralink-firmware.txt \
  "
 
-LICENSE_${PN}-sd8686 = "Firmware-libertas"
+LICENSE_${PN}-sd8686 = "Firmware-Marvell"
  FILES_${PN}-sd8686 = " \
    /lib/firmware/libertas/sd8686_v9* \
    /lib/firmware/sd8686* \
-  /lib/firmware/LICENCE.libertas \
+  /lib/firmware/LICENCE.Marvell \
  "
 
  FILES_${PN}-rtl-license = " \