* sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3
@ 2015-01-28 13:47 Pascal Huerst
2015-01-28 14:00 ` Lars-Peter Clausen
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Huerst @ 2015-01-28 13:47 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel
Hello Lars-Peter,
i followed the instructions on:
http://wiki.analog.com/resources/tools-software/linux-software/sigmadsp_genfirmware
and built the firmware from my xml-file. But when the driver loads, I
always get:
adau1701 2-0034: Failed to load firmware: Invalid version 2. Supported
firmware versions: 1
adau1701 2-0034: Failed to load firmware
adau1701 2-0034: ASoC: can't set adau1701 hw params: -22
I have been using that .xml/.bin file in 3.14.13 for some time, but now
in 3.18.3 I always get the version mismatch from above.
What am I doing wrong?
regards
pascal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3
2015-01-28 13:47 sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3 Pascal Huerst
@ 2015-01-28 14:00 ` Lars-Peter Clausen
2015-01-28 16:01 ` Pascal Huerst
0 siblings, 1 reply; 3+ messages in thread
From: Lars-Peter Clausen @ 2015-01-28 14:00 UTC (permalink / raw)
To: Pascal Huerst; +Cc: alsa-devel
On 01/28/2015 02:47 PM, Pascal Huerst wrote:
> Hello Lars-Peter,
>
> i followed the instructions on:
>
> http://wiki.analog.com/resources/tools-software/linux-software/sigmadsp_genfirmware
>
> and built the firmware from my xml-file. But when the driver loads, I
> always get:
>
> adau1701 2-0034: Failed to load firmware: Invalid version 2. Supported
> firmware versions: 1
> adau1701 2-0034: Failed to load firmware
> adau1701 2-0034: ASoC: can't set adau1701 hw params: -22
>
> I have been using that .xml/.bin file in 3.14.13 for some time, but now
> in 3.18.3 I always get the version mismatch from above.
Hi,
Are you sure that the you were previously using a v2 firmware file? v2 was
not supported until recently and loading it with the v1 loader would just
result in garbage being written to the device.
The patch[1] that adds support for v2 is pretty standalone and you should be
able to backport it to v3.18.
- Lars
[1]
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/sound/soc/codecs/sigmadsp.c?id=a35daac77a0397d4f23b642d3dc0684682e56cc5
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3
2015-01-28 14:00 ` Lars-Peter Clausen
@ 2015-01-28 16:01 ` Pascal Huerst
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Huerst @ 2015-01-28 16:01 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel
On 28.01.2015 15:00, Lars-Peter Clausen wrote:
> On 01/28/2015 02:47 PM, Pascal Huerst wrote:
>> Hello Lars-Peter,
>>
>> i followed the instructions on:
>>
>> http://wiki.analog.com/resources/tools-software/linux-software/sigmadsp_genfirmware
>>
>>
>> and built the firmware from my xml-file. But when the driver loads, I
>> always get:
>>
>> adau1701 2-0034: Failed to load firmware: Invalid version 2. Supported
>> firmware versions: 1
>> adau1701 2-0034: Failed to load firmware
>> adau1701 2-0034: ASoC: can't set adau1701 hw params: -22
>>
>> I have been using that .xml/.bin file in 3.14.13 for some time, but now
>> in 3.18.3 I always get the version mismatch from above.
>
> Hi,
>
> Are you sure that the you were previously using a v2 firmware file? v2
> was not supported until recently and loading it with the v1 loader would
> just result in garbage being written to the device.
I have been using the firmware file for more than a year without any
problems on 3.14.23, so I assume it is v1. I don't know why the driver
tells me it's v2, however. Maybe my tree is messed up.
If I port adau1701.{c,h} and sigmadsp.{c,h} from 3.14.23 to 3.18.3, it
works. I think I have to look deeper into that...
> The patch[1] that adds support for v2 is pretty standalone and you
> should be able to backport it to v3.18.
If I cherry-pick that in, the message is gone, but still, I don't have
no output.
> [1]
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/sound/soc/codecs/sigmadsp.c?id=a35daac77a0397d4f23b642d3dc0684682e56cc5
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-28 16:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 13:47 sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3 Pascal Huerst
2015-01-28 14:00 ` Lars-Peter Clausen
2015-01-28 16:01 ` Pascal Huerst
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.