FYI: open-ath9k-htc-firmware

2013-03-12 Thread Hideki Yamane
Hi,

 One of my floss friend noticed to me that phoronix reports Atheros 
 Publishes Open-Source WiFi Firmware
 http://www.phoronix.com/scan.php?page=news_itempx=MTMyNTY

 Source is https://github.com/qca/open-ath9k-htc-firmware and its license
 seems to be DFSG-free one.

 Now Debian provides it as firmware-atheros package (Source: firmware-nonfree)
 so it may help users to run their laptops without annoying to install
 non-free package.


-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130312234844.fd8fc46a2eb8bf6bbce61...@debian.or.jp



Re: FYI: open-ath9k-htc-firmware

2013-03-12 Thread Ben Hutchings
On Tue, Mar 12, 2013 at 11:48:44PM +0900, Hideki Yamane wrote:
 Hi,
 
  One of my floss friend noticed to me that phoronix reports Atheros 
  Publishes Open-Source WiFi Firmware
  http://www.phoronix.com/scan.php?page=news_itempx=MTMyNTY
 
  Source is https://github.com/qca/open-ath9k-htc-firmware and its license
  seems to be DFSG-free one.
 
  Now Debian provides it as firmware-atheros package (Source: firmware-nonfree)
  so it may help users to run their laptops without annoying to install
  non-free package.
 
This should be added to the linux-firmware.git repository and then to
our firmware-free source package.  Perhaps you could talk to the
Atheros developers and you or they could prepare a patch for
linux-firmware.git?  I recently added carl9170, which may be a useful
example to follow.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130312191520.gh9...@decadent.org.uk



Re: FYI: open-ath9k-htc-firmware

2013-03-12 Thread Hideki Yamane
On Tue, 12 Mar 2013 19:15:20 +
Ben Hutchings b...@decadent.org.uk wrote:
 This should be added to the linux-firmware.git repository and then to
 our firmware-free source package.  Perhaps you could talk to the
 Atheros developers and you or they could prepare a patch for
 linux-firmware.git?  I recently added carl9170, which may be a useful
 example to follow.

 Okay, but they are using patched gcc and binutils for build it.
 So I guess, first it should be merged to upstream gcc/binutils, then
 be added to firmware git repo, right?

henrich@hp:~/tmp/open-ath9k-htc-firmware$ wc -l local/patches/*
 28972 local/patches/binutils.patch
   115 local/patches/gcc.patch

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130313111342.8286bcb3346b2aad513dd...@debian.or.jp



Re: FYI: open-ath9k-htc-firmware

2013-03-12 Thread Ben Hutchings
On Wed, 2013-03-13 at 11:13 +0900, Hideki Yamane wrote:
 On Tue, 12 Mar 2013 19:15:20 +
 Ben Hutchings b...@decadent.org.uk wrote:
  This should be added to the linux-firmware.git repository and then to
  our firmware-free source package.  Perhaps you could talk to the
  Atheros developers and you or they could prepare a patch for
  linux-firmware.git?  I recently added carl9170, which may be a useful
  example to follow.
 
  Okay, but they are using patched gcc and binutils for build it.
  So I guess, first it should be merged to upstream gcc/binutils, then
  be added to firmware git repo, right?
 
 henrich@hp:~/tmp/open-ath9k-htc-firmware$ wc -l local/patches/*
  28972 local/patches/binutils.patch
115 local/patches/gcc.patch

The upstream Makefile downloads and patches tarballs for the toolchain,
and that's fine as far as I'm concerned.  The firmware-free source
package already includes binaries and does *not* build them from
debian/rules.

Please do add checksum verification of the tarballs, though (like I did
for carl9170).

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption] would be
development of an easy way to factor large prime numbers. - Bill Gates


signature.asc
Description: This is a digitally signed message part


Re: FYI: open-ath9k-htc-firmware

2013-03-12 Thread Paul Wise
On Wed, Mar 13, 2013 at 10:13 AM, Hideki Yamane wrote:

  Okay, but they are using patched gcc and binutils for build it.
  So I guess, first it should be merged to upstream gcc/binutils, then
  be added to firmware git repo, right?

No, that is not how the firmware-free source package works. It just
ships pre-built firmware and source but doesn't build anything from
source. So it isn't nessecary to care about if the firmware is
buildable at all. So if you patch the source, you will not get a fixed
version of the firmware.

Personally I think this is the wrong way to go about packaging free software.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6hht3pp3yqbd2wdnyrdeire_+apytsxn_fevfq07bv...@mail.gmail.com



Re: FYI: open-ath9k-htc-firmware

2013-03-12 Thread Ben Hutchings
On Wed, 2013-03-13 at 10:27 +0800, Paul Wise wrote:
 On Wed, Mar 13, 2013 at 10:13 AM, Hideki Yamane wrote:
 
   Okay, but they are using patched gcc and binutils for build it.
   So I guess, first it should be merged to upstream gcc/binutils, then
   be added to firmware git repo, right?
 
 No, that is not how the firmware-free source package works. It just
 ships pre-built firmware and source but doesn't build anything from
 source. So it isn't nessecary to care about if the firmware is
 buildable at all. So if you patch the source, you will not get a fixed
 version of the firmware.

Not by running debian/rules, no.

 Personally I think this is the wrong way to go about packaging free software.

Assuming that you think the right way is to package and use the
toolchain for each free firmware project: I don't believe this is
allowed in Debian, nor do I have time for that.  But if you want to
fight that battle, you are welcome, and I'll be happy to build
firmware-free using those packages.

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption] would be
development of an easy way to factor large prime numbers. - Bill Gates


signature.asc
Description: This is a digitally signed message part