Hi,
after a discussion with jwb and linvile on #fedora-kernel I did some experiments how could be the carl9170 firmware [1] built using the existing tools (dhowell's cross-gcc [2]). And the result is that it is feasible. See first patch for proof of concept using sh4-linux-gnu toolchain and second patch for proposed solution after we get the sh-linux-gnu toolchain (https://bugzilla.redhat.com/show_bug.cgi?id=766166#c12).
Dan
[1] http://linuxwireless.org/en/users/Drivers/carl9170 [2] http://koji.fedoraproject.org/koji/packageinfo?packageID=13624
Dan Horák píše v Pá 06. 04. 2012 v 11:13 +0200:
Hi,
after a discussion with jwb and linvile on #fedora-kernel I did some experiments how could be the carl9170 firmware [1] built using the existing tools (dhowell's cross-gcc [2]). And the result is that it is feasible. See first patch for proof of concept using sh4-linux-gnu toolchain and second patch for proposed solution after we get the sh-linux-gnu toolchain (https://bugzilla.redhat.com/show_bug.cgi?id=766166#c12).
hm, attachments are now allowed, so the patches are http://fedora.danny.cz/0001-proof-of-concept-with-sh4-linux-gnu-toolchain.pa... http://fedora.danny.cz/0001-proposed-solution-with-sh-linux-gnu-toolchain.pa...
Dan
Dan Horák píše v Pá 06. 04. 2012 v 17:30 +0200:
Dan Horák píše v Pá 06. 04. 2012 v 11:13 +0200:
Hi,
after a discussion with jwb and linvile on #fedora-kernel I did some experiments how could be the carl9170 firmware [1] built using the existing tools (dhowell's cross-gcc [2]). And the result is that it is feasible. See first patch for proof of concept using sh4-linux-gnu toolchain and second patch for proposed solution after we get the sh-linux-gnu toolchain (https://bugzilla.redhat.com/show_bug.cgi?id=766166#c12).
hm, attachments are now allowed, so the patches are
s/now/not/
and I can't write ;-)
Dan
On Fri, 2012-04-06 at 17:44 +0200, Dan Horák wrote:
Dan Horák píše v Pá 06. 04. 2012 v 17:30 +0200:
Dan Horák píše v Pá 06. 04. 2012 v 11:13 +0200:
Hi,
after a discussion with jwb and linvile on #fedora-kernel I did some experiments how could be the carl9170 firmware [1] built using the existing tools (dhowell's cross-gcc [2]). And the result is that it is feasible. See first patch for proof of concept using sh4-linux-gnu toolchain and second patch for proposed solution after we get the sh-linux-gnu toolchain (https://bugzilla.redhat.com/show_bug.cgi?id=766166#c12).
hm, attachments are now allowed, so the patches are
s/now/not/
and I can't write ;-)
It's possible that I'm still tired after a week of travel, but these patches look fine to me.
Dumb question -- does the resulting firmware function correctly with the driver in the kernel? :-)
John
kernel@lists.fedoraproject.org