s5p-mfc: Update mfc-v6 firmware
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Arun,
I asked you to put old and new v6 firmware in separate files. You should also mention in the commit message that this new firmware will not work with the s5p-mfc driver without the patch you recently submitted to linux-media mailing list. Please also add a link to the thread with the necessary patch.
In addition to the above I think a readme/description file should be added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
Best wishes,
Signature · 2 lines
Kamil Debski Samsung R&D Institute Poland
Quoted 23 lines
-----Original Message-----
From: Arun Kumar K [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 11:45 AM
To: [email protected]; [email protected]; linux-samsung- [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH 1/2] s5p-mfc: Update mfc-v6 firmwareThis is the newer version of s5p-mfc-v6.fw with many fixes and enhancements.
Signed-off-by Arun Kumar K <[email protected]>--- s5p-mfc/s5p-mfc-v6.fw | Bin 306312 -> 343756 bytes 1 file changed, 0 insertions(+), 0 deletions(-)s5p-mfc/s5p-mfc-v6.fw +0
-0index
2e1179fa6d227f1c5a23f78b4834be336e579f50..9d3345fbf4abb7ea7389816916d6857d64732380100644
GIT binary patch
literal 343756
[snip]
Hi Kamil,
Quoted 3 lines · Kamil Debski
Hi Arun,
I asked you to put old and new v6 firmware in separate files.
But wont that require a different filename other than s5p-mfc-v6.fw? But the driver still expects the same file name.
Can I put the new filename as s5p-mfc-v6-v2.fw and mention in the README that the file has to be renamed to s5p-mfc-v6.fw to be used?
Quoted 4 lines
You should also mention in the commit message that this new firmware will not work with the s5p-mfc driver without the patch you recently submitted to linux-media mailing list. Please also add a link to the thread with the necessary patch.
Ok will do that.
Quoted 5 lines
In addition to the above I think a readme/description file should be added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
Ok.
Regards
Arun
Quoted 32 lines
Best wishes,
--
Kamil Debski
Samsung R&D Institute PolandQuoted 23 lines
-----Original Message-----
From: Arun Kumar K [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 11:45 AM
To: [email protected]; [email protected]; linux-samsung- [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH 1/2] s5p-mfc: Update mfc-v6 firmwareThis is the newer version of s5p-mfc-v6.fw with many fixes and enhancements.
Signed-off-by Arun Kumar K <[email protected]>--- s5p-mfc/s5p-mfc-v6.fw | Bin 306312 -> 343756 bytes 1 file changed, 0 insertions(+), 0 deletions(-)s5p-mfc/s5p-mfc-v6.fw +0
-0index
2e1179fa6d227f1c5a23f78b4834be336e579f50..9d3345fbf4abb7ea7389816916d6857d64732380100644
GIT binary patch
literal 343756[snip]
Hi,
----Original Message-----
Quoted 6 lines
From: [email protected] [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 12:00 PMHi Kamil,
Quoted 7 lines
Quoted 3 lines · Kamil Debski
Hi Arun,
I asked you to put old and new v6 firmware in separate files.
But wont that require a different filename other than s5p-mfc-v6.fw?
Yes.
Quoted 3 lines
But the driver still expects the same file name.
Can I put the new filename as s5p-mfc-v6-v2.fw and mention in the README that the file has to be renamed to s5p-mfc-v6.fw to be used?
I think this is the way to go, because the new driver (with the patch) will work with old firmware, while old driver (without the patch) will not work with the new firmware.
Quoted 14 lines
Quoted 5 lines
You should also mention in the commit message that this new firmware will not work with the s5p-mfc driver without the patch you recently submitted to linux-media mailing list. Please also add a link to the thread with the necessary patch.
Ok will do that.
Quoted 5 lines
In addition to the above I think a readme/description file should be added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
Quoted 4 lines
Ok.
Regards
Arun
Best wishes,
Signature · 2 lines
Kamil Debski Samsung R&D Institute Poland
Quoted 34 lines
Quoted 19 lines
Best wishes,
--
Kamil Debski
Samsung R&D Institute PolandQuoted 12 lines
-----Original Message-----
From: Arun Kumar K [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 11:45 AM
To: [email protected]; [email protected]; linux-samsung- [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH 1/2] s5p-mfc: Update mfc-v6 firmwareThis is the newer version of s5p-mfc-v6.fw with many fixes and enhancements.
Quoted 7 lines
s5p-mfc/s5p-mfc-v6.fw index
Quoted 7 lines
Signed-off-by Arun Kumar K <[email protected]>--- s5p-mfc/s5p-mfc-v6.fw | Bin 306312 -> 343756 bytes 1 file changed, 0 insertions(+), 0 deletions(-)s5p-mfc/s5p-mfc-v6.fw index renamed from s5p-mfc/s5p-mfc-v6.fw +0
-0
2e1179fa6d227f1c5a23f78b4834be336e579f50..9d3345fbf4abb7ea7389816916dQuoted 7 lines
Quoted 4 lines
68
57d64732380100644
GIT binary patch
literal 343756[snip]
Hi Kamil, Arun,
Quoted 19 lines · Kamil Debski
Hi,
----Original Message-----
Quoted 6 lines
From: [email protected] [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 12:00 PMHi Kamil,
Quoted 7 lines
Quoted 3 lines · Kamil Debski
Hi Arun,
I asked you to put old and new v6 firmware in separate files.
But wont that require a different filename other than s5p-mfc-v6.fw?
Yes.
Quoted 21 lines
Quoted 3 lines
But the driver still expects the same file name.
Can I put the new filename as s5p-mfc-v6-v2.fw and mention in the README that the file has to be renamed to s5p-mfc-v6.fw to be used?I think this is the way to go, because the new driver (with the patch) will work with old firmware, while old driver (without the patch) will not work with the new firmware.
Quoted 13 lines
Quoted 5 lines
You should also mention in the commit message that this new firmware will not work with the s5p-mfc driver without the patch you recently submitted to linux-media mailing list. Please also add a link to the thread with the necessary patch.
Ok will do that.
Quoted 5 lines
In addition to the above I think a readme/description file should be added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
May I suggest a little different solution?
Since to not break compatibility, support for both firmware versions is needed in the driver anyway, why not simply make the new, incompatible firmware always use a different filename.
Then let the driver try to load the new one first and if it fails then load the old one? This would also let you get rid of that version check by hardcoded date, as you would know which firmware type was found.
Best regards,
Tomasz
Hi Tomasz, Arun,
Quoted 54 lines
From: Tomasz Figa [mailto:[email protected]]
Sent: Friday, May 16, 2014 12:22 PMHi Kamil, Arun,
Quoted 17 lines · Kamil Debski
Hi,
----Original Message-----
Quoted 6 lines
From: [email protected] [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 12:00 PMHi Kamil,
Quoted 7 lines
Quoted 3 lines · Kamil Debski
Hi Arun,
I asked you to put old and new v6 firmware in separate files.
But wont that require a different filename other than s5p-mfc-v6.fw?
Quoted 8 lines
Yes.
Quoted 3 lines
But the driver still expects the same file name.
Can I put the new filename as s5p-mfc-v6-v2.fw and mention in the README that the file has to be renamed to s5p-mfc-v6.fw to be used?I think this is the way to go, because the new driver (with the patch) will work with old firmware, while old driver (without the patch)
will
Quoted 4 lines
not work with the new firmware.
Quoted 2 lines
Quoted 2 lines
You should also mention in the commit message that this new
firmware
Quoted 1 line
Quoted 1 line
Quoted 1 line
will not work with the s5p-mfc driver without the patch you
recently
Quoted 1 line
Quoted 1 line
Quoted 1 line
submitted to linux-media mailing list. Please also add a link to
the
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
thread with the necessary patch.
Ok will do that.
Quoted 2 lines
In addition to the above I think a readme/description file should
be
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
May I suggest a little different solution?
Quoted 8 lines
Since to not break compatibility, support for both firmware versions is needed in the driver anyway, why not simply make the new, incompatible firmware always use a different filename.
Then let the driver try to load the new one first and if it fails then load the old one? This would also let you get rid of that version check by hardcoded date, as you would know which firmware type was found.
Tomasz, I really like your idea. I find it both simple and elegant. This way there will be no need to rename the firmware file in the repo or by the user, if the user wishes to use the new version.
Arun, what is your opinion?
Quoted 2 lines
Best regards,
Tomasz
Best wishes,
Signature · 2 lines
Kamil Debski Samsung R&D Institute Poland
Hi Kamil, Tomasz,
Quoted 65 lines · Kamil Debski
Hi Tomasz, Arun,
Quoted 54 lines
From: Tomasz Figa [mailto:[email protected]]
Sent: Friday, May 16, 2014 12:22 PMHi Kamil, Arun,
Quoted 17 lines · Kamil Debski
Hi,
----Original Message-----
Quoted 6 lines
From: [email protected] [mailto:[email protected]] On Behalf Of Arun Kumar K
Sent: Friday, May 16, 2014 12:00 PMHi Kamil,
Quoted 7 lines
Quoted 3 lines · Kamil Debski
Hi Arun,
I asked you to put old and new v6 firmware in separate files.
But wont that require a different filename other than s5p-mfc-v6.fw?
Quoted 8 lines
Yes.
Quoted 3 lines
But the driver still expects the same file name.
Can I put the new filename as s5p-mfc-v6-v2.fw and mention in the README that the file has to be renamed to s5p-mfc-v6.fw to be used?I think this is the way to go, because the new driver (with the patch) will work with old firmware, while old driver (without the patch)
will
Quoted 4 lines
not work with the new firmware.
Quoted 2 lines
Quoted 2 lines
You should also mention in the commit message that this new
firmware
Quoted 1 line
Quoted 1 line
Quoted 1 line
will not work with the s5p-mfc driver without the patch you
recently
Quoted 1 line
Quoted 1 line
Quoted 1 line
submitted to linux-media mailing list. Please also add a link to
the
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
thread with the necessary patch.
Ok will do that.
Quoted 2 lines
In addition to the above I think a readme/description file should
be
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
added to the s5p-mfc folder. The issue of firmware for v6 should be explained, so that no one is surprised that something does not work.
May I suggest a little different solution?
Quoted 8 lines
Since to not break compatibility, support for both firmware versions is needed in the driver anyway, why not simply make the new, incompatible firmware always use a different filename.
Then let the driver try to load the new one first and if it fails then load the old one? This would also let you get rid of that version check by hardcoded date, as you would know which firmware type was found.
Quoted 6 lines
Tomasz, I really like your idea. I find it both simple and elegant. This way there will be no need to rename the firmware file in the repo or by the user, if the user wishes to use the new version.
Arun, what is your opinion?
Yes this seems like a better approach to me too.
With this the new FW used in older kernel issue is also resolved as the new fw file will have a different name and is not accepted in old kernel.
Regards
Arun
Quoted 12 lines
Quoted 2 lines
Best regards,
TomaszBest wishes,
--
Kamil Debski
Samsung R&D Institute Poland--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Arun Kumar K
Hi Kamil, Tomasz,
Quoted 4 lines · Kamil Debski
Hi Tomasz, Arun,
Quoted 2 lines
From: Tomasz Figa [mailto:[email protected]]
Sent: Friday, May 16, 2014 12:22 PM
[...]
Quoted 15 lines
Quoted 15 lines
Quoted 10 lines
May I suggest a little different solution?
Since to not break compatibility, support for both firmware versions is needed in the driver anyway, why not simply make the new, incompatible firmware always use a different filename.
Then let the driver try to load the new one first and if it fails then load the old one? This would also let you get rid of that version check by hardcoded date, as you would know which firmware type was found.
Tomasz, I really like your idea. I find it both simple and elegant. This way there will be no need to rename the firmware file in the repo or by the user, if the user wishes to use the new version.
Quoted 6 lines
Quoted 2 lines
Arun, what is your opinion?
Yes this seems like a better approach to me too.
With this the new FW used in older kernel issue is also resolved as the new fw file will have a different name and is not accepted in old kernel.
This is the right way to do it. New firmware files must not break old drivers, as distributions and users will usually install everything from linux-firmware without checking things like that.
If the new driver can work with the old firmware, that's a bonus, but less important.
Ben.
Signature · 2 lines
Ben Hutchings It is easier to change the specification to fit the program than vice versa.