Skip to contentSkip to conversation

re-queuing usx2y-fw

RFC Applied Martin Langer 3 participants 12 messages Mar 28, 2005 – Apr 1, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi,

long time ago there was a thread about replacing tascam_loader.ihx with an open firmware:

http://sourceforge.net/mailarchive/message.php?msg_id=8555003

http://www.langerland.de/audio/usx2y/usx2y-fw-0.1b.tar.bz2

All results were quite positive and I've had a lot of downloads since them on my site and I never ever got a bugreport about it :)

What about a second attempt of merging it into alsa-firmware? Any new strategies for this step? The code still depends on as31 (8031/8051 crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

I use it on my US-122 since several months without problems and we have positive results from us224 and us428 owners. Even the size has only 20 percent of the size of the original tascam file. Aren't these good reasons for deleting the original closed source file?

Another point is the license note in the README file for those Tascam files. Is it really true for tascam_loader.ihx? I (we?) know that tascam_loader.ihx and MidiSportLoader.ihx (for M-Audio MidiSport's) are 100% identical; there's no difference. So I believe that this file is part of the same 3rd party development kit and is not be copyrighted by Tascam? I don't know it, but Tascam should know it better... just my two cents.

bye,
martin

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 8 lines · Martin Langer

Hi,

long time ago there was a thread about replacing tascam_loader.ihx with an open firmware:

http://sourceforge.net/mailarchive/message.php?msg_id=8555003

Quoted 7 lines

http://www.langerland.de/audio/usx2y/usx2y-fw-0.1b.tar.bz2

All results were quite positive and I've had a lot of downloads since them on my site and I never ever got a bugreport about it :)

What about a second attempt of merging it into alsa-firmware? Any new strategies for this step?

No, I prefer the traditional one: Send a patch :)

Quoted 3 lines

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Quoted 4 lines

I use it on my US-122 since several months without problems and we have positive results from us224 and us428 owners. Even the size has only 20 percent of the size of the original tascam file. Aren't these good reasons for deleting the original closed source file?

Open-source version is _always_ good (if it provides the same functionality).

Quoted 7 lines

Another point is the license note in the README file for those Tascam files. Is it really true for tascam_loader.ihx? I (we?) know that tascam_loader.ihx and MidiSportLoader.ihx (for M-Audio MidiSport's) are 100% identical; there's no difference. So I believe that this file is part of the same 3rd party development kit and is not be copyrighted by Tascam? I don't know it, but Tascam should know it better... just my two cents.

If so, most likely you're right...

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 3 lines · Martin Langer

What about a second attempt of merging it into alsa-firmware? Any new strategies for this step?

No, I prefer the traditional one: Send a patch :)

Ok. Do we have any CodingStyle for assembler files? FreeStyle?

Quoted 6 lines
Quoted 3 lines

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

Quoted 7 lines
Quoted 4 lines

I use it on my US-122 since several months without problems and we have positive results from us224 and us428 owners. Even the size has only 20 percent of the size of the original tascam file. Aren't these good reasons for deleting the original closed source file?

Open-source version is _always_ good (if it provides the same functionality).

Full ACK. And it does provide the same functionality here (loading the main fw).

martin

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw

At Tue, 29 Mar 2005 18:58:16 +0200,

Quoted 11 lines · Martin Langer
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 3 lines · Martin Langer

What about a second attempt of merging it into alsa-firmware? Any new strategies for this step?

No, I prefer the traditional one: Send a patch :)

Ok. Do we have any CodingStyle for assembler files? FreeStyle?

AFAIK, nothing special. We have no strict limitation except for kernel drivers which should follow the standard coding style.

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

thanks,

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#4 lore raw
Quoted 11 lines · Takashi Iwai

At Tue, 29 Mar 2005 18:58:16 +0200,

Quoted 9 lines · Martin Langer
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 4 lines · Martin Langer

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

(e.g. version 2.3.0 is fine)

martin

configure.in renamed from alsa-firmware-1.0.8rc2/configure.in +12 -0
@@ -13,9 +13,21 @@
 AC_ARG_ENABLE(hotplug,
   [  --disable-hotplug       Disable the hotplug fw loader support],
   [hotplug="$enableval"],[hotplug=yes])
+AC_ARG_ENABLE(buildfw,
+  [  --enable-buildfw        Enable building fw from source files],
+  [buildfw="$enableval"],[buildfw=no])
+
+AC_PATH_PROGS(AS31, as31)
+AS31_FLAGS="-Fhex"
+AC_SUBST(AS31_FLAGS)
+
+if test x"${AS31}" = x"";  then
+  buildfw=false
+fi
 
 AM_CONDITIONAL(USE_LOADER, test "$loader" = "yes")
 AM_CONDITIONAL(USE_HOTPLUG, test "$hotplug" = "yes")
+AM_CONDITIONAL(BUILD_FW, test "$buildfw" = "yes")
 
 AC_ARG_WITH(hotplug-dir,
   [  --with-hotplug-dir      Specify the hotplug firmware directory],
Makefile.am renamed from alsa-firmware-1.0.8rc2/usx2yloader/Makefile.am +9 -1
@@ -6,7 +6,15 @@
 		tascam_loader.ihx \
 		us122fw.ihx us224fw.ihx us428fw.ihx
 
-EXTRA_DIST = $(cfg_files)
+if BUILD_FW
+bin_SCRIPTS = tascam_loader
+tascam_loader: 
+	$(AS31) $(AS31_FLAGS) -s tascam_loader.asm > tascam_loader.ihx
+endif
+
+EXTRA_DIST = $(cfg_files) \
+	tascam_loader.asm \
+	an2131.asm
 
 firmwaredir = $(datadir)/alsa/firmware/$(MYNAME)
 firmware_DATA = $(cfg_files)
an2131.asm new file +88 -0

88 lines not on this page · raw message

tascam_loader.asm new file +266 -0

266 lines not on this page · raw message

#5 lore raw

At Thu, 31 Mar 2005 13:58:48 +0200,

Quoted 21 lines · Martin Langer
Quoted 11 lines · Takashi Iwai

At Tue, 29 Mar 2005 18:58:16 +0200,

Quoted 9 lines · Martin Langer
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 4 lines · Martin Langer

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Quoted 7 lines

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

(e.g. version 2.3.0 is fine)

Thanks, I added it to CVS now.

Could you prepare some document about as31?
Just mention the above in README of usx2yloader would suffice.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#6 lore raw
Quoted 25 lines · Takashi Iwai

At Thu, 31 Mar 2005 13:58:48 +0200,

Quoted 23 lines · Martin Langer
Quoted 10 lines · Takashi Iwai

At Tue, 29 Mar 2005 18:58:16 +0200,

Quoted 8 lines · Martin Langer
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 4 lines · Martin Langer

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

Quoted 8 lines
Quoted 3 lines

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

(e.g. version 2.3.0 is fine)

Thanks, I added it to CVS now.

Could you prepare some document about as31?
Just mention the above in README of usx2yloader would suffice.

Of course, also including a small GPL copyright note.

martin

Summary: text added for building usx2y-fw from source file

Index: README
===================================================================
RCS file: /cvsroot/alsa/alsa-firmware/usx2yloader/README,v retrieving revision 1.2

README +18 -0
diff -u -r1.2 README
@@ -5,8 +5,26 @@
 utility in alsa-tools package.  Install this with the same prefix
 option as you used for alsa-tools.
 
+BUILDING FIRMWARE FROM SOURCE
+=============================
+
+Building the firmware from source is possible, if you use the 
+configure option --enable-buildfw. Also, it requires the 8031/8051
+cross-assembler as31. As31 version 2.3.0 is fine for this job, but 
+every version since 2.2 should do it.
+
+As31 is available from:
+http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31
+
+At the moment it's only possible to build tascam_loader.ihx from 
+source.
+
 COPYRIGHT
 =========
 
+tascam_loader.ihx, tascam_loader.asm and an2131.asm:
+Available under GPL without restrictions.
+
+other firmware files:
 Copyright (c) 2003 Tascam / TEAC Corporation.
 Distributable under GPL.
Applied
#7 lore raw

At Fri, 1 Apr 2005 12:26:12 +0200,

Quoted 36 lines · Martin Langer
Quoted 25 lines · Takashi Iwai

At Thu, 31 Mar 2005 13:58:48 +0200,

Quoted 23 lines · Martin Langer
Quoted 10 lines · Takashi Iwai

At Tue, 29 Mar 2005 18:58:16 +0200,

Quoted 8 lines · Martin Langer
Quoted 7 lines · Takashi Iwai

At Mon, 28 Mar 2005 17:51:51 +0200,

Quoted 4 lines · Martin Langer

The code still depends on as31 (8031/8051
crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

Quoted 8 lines
Quoted 3 lines

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

(e.g. version 2.3.0 is fine)

Thanks, I added it to CVS now.

Could you prepare some document about as31?
Just mention the above in README of usx2yloader would suffice.

Quoted 6 lines

Of course, also including a small GPL copyright note.

martin

Summary: text added for building usx2y-fw from source file

Thanks, applied.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#8 lore raw
In reply to Martin Langer
Quoted 11 lines · Martin Langer
Quoted 11 lines
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

The code still depends on as31 (8031/8051 crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

Quoted 7 lines
Quoted 1 line

That'll be nice.

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

why not auto enabling it if we detect the non free as31 rather than just providing such flag?

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#9 lore raw
Quoted 15 lines · Thierry Vignaud
Quoted 13 lines · Martin Langer
Quoted 12 lines
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

The code still depends on as31 (8031/8051 crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Quoted 9 lines
Quoted 5 lines

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

why not auto enabling it if we detect the non free as31 rather than just providing such flag?

BSD license is non free?

Is it really necessary to build it by default? I see a lot of trouble at the horizon due to version mismatches of as31. An as31 version check could solve it, though.

martin

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#10 lore raw

At Fri, 1 Apr 2005 12:33:48 +0200,

Quoted 27 lines · Martin Langer
Quoted 15 lines · Thierry Vignaud
Quoted 13 lines · Martin Langer
Quoted 12 lines
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

The code still depends on as31 (8031/8051 crosss-assembler) which still isn't available as .rpm or .deb, at least newer versions since 2.1. Should we care about it?

For convenience, we may include both the firmware source and binary in the CVS repository, so that one can install even without as31.

Yep. I will try to introduce a new configure option like '--enable-buildfw' for it, or any similar solution.

That'll be nice.

Quoted 9 lines
Quoted 5 lines

Here it is. The new configure option for alsa-firmware is called '--enable-buildfw'. If you want to build it from source you have to install one of the latest versions of as31, which you can find at

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

why not auto enabling it if we detect the non free as31 rather than just providing such flag?

Quoted 5 lines

BSD license is non free?

Is it really necessary to build it by default? I see a lot of trouble at the horizon due to version mismatches of as31. An as31 version check could solve it, though.

Agreed. The resultant firmware should be 100% identical even if you build by yourself. Hence I don't think it's needed so much.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#11 lore raw
Quoted 10 lines · Takashi Iwai

At Fri, 1 Apr 2005 12:33:48 +0200,

Quoted 8 lines · Martin Langer
Quoted 6 lines · Thierry Vignaud
Quoted 1 line · Martin Langer

http://wiki.erazor-zone.de/doku.php?id=wiki:projects:linux:as31

why not auto enabling it if we detect the non free as31 rather than just providing such flag?

Quoted 6 lines
Quoted 3 lines

Is it really necessary to build it by default? I see a lot of trouble at the horizon due to version mismatches of as31. An as31 version check could solve it, though.

Agreed. The resultant firmware should be 100% identical even if you build by yourself. Hence I don't think it's needed so much.

Controlling a checksum could solve that. md5sum? That would result in a table of as31 version and their related checksum. If someone wants to write it, go ahead :)

martin

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30