linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Search for devices with Xtensa cores
@ 2017-04-29  6:23 Oleksij Rempel
  2017-05-16 19:46 ` Max Filippov
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksij Rempel @ 2017-04-29  6:23 UTC (permalink / raw)
  To: ath9k-devel, linux-wireless, ath10k


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

Hallo all,

short version:
I'm looking for devices which use Xtensa and GCC/binutils patches used
to provide support for this devices.

long version:
this year started with inclusion of open-ath9k-htc-firmware to debian
*main* repository. As first we started to getting advantage of regular
compile tests. See results here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/open-ath9k-htc-firmware.html

Most of the problems which we currently get, are related to gcc xtensa
compiler.
In details: device specific patch set is used to provide our own
gcc/binutils version because Xtensa don't really have defined CPU cores.
As result, upstream compiler developers will never notice if some thing
will brake this patch set.

My hope is to provide upstream gcc support for commonly used by linux
community Xtensa cores.

So far i know about:
- Atheros ar9271 is identical with ar7010, LX2.1.0
- Atheros AR6002 Xtensa LX??
- Atheros AR6003 Xtensa LX??
- Atheros AR6103 Xtensa LX??
- Espressif ESP8266 Xtensa LX106

-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for devices with Xtensa cores
  2017-04-29  6:23 Search for devices with Xtensa cores Oleksij Rempel
@ 2017-05-16 19:46 ` Max Filippov
  2017-05-20 11:02   ` Oleksij Rempel
  0 siblings, 1 reply; 4+ messages in thread
From: Max Filippov @ 2017-05-16 19:46 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ath9k-devel, linux-wireless, ath10k

HI Oleksij,

On Fri, Apr 28, 2017 at 11:23 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
> this year started with inclusion of open-ath9k-htc-firmware to debian
> *main* repository. As first we started to getting advantage of regular
> compile tests. See results here:
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/open-ath9k-htc-firmware.html
>
> Most of the problems which we currently get, are related to gcc xtensa
> compiler.
> In details: device specific patch set is used to provide our own
> gcc/binutils version because Xtensa don't really have defined CPU cores.
> As result, upstream compiler developers will never notice if some thing
> will brake this patch set.

Below are the links to the xtensa-dynconfig repository and xtensa-plugin-env
branches in binutils-gdb and gcc repositories. Together it is a draft
implementation of dynamically configurable xtensa toolchain.
Could you please take a look at it and see if it's useful for you?

https://github.com/jcmvbkbc/xtensa-dynconfig
https://github.com/jcmvbkbc/binutils-gdb-xtensa/commits/xtensa-plugin-env
https://github.com/jcmvbkbc/gcc-xtensa/commits/xtensa-plugin-env

-- 
Thanks.
-- Max

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for devices with Xtensa cores
  2017-05-16 19:46 ` Max Filippov
@ 2017-05-20 11:02   ` Oleksij Rempel
  2017-05-21  4:47     ` Max Filippov
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksij Rempel @ 2017-05-20 11:02 UTC (permalink / raw)
  To: Max Filippov; +Cc: ath9k-devel, linux-wireless, ath10k


[-- Attachment #1.1: Type: text/plain, Size: 1464 bytes --]

Am 16.05.2017 um 21:46 schrieb Max Filippov:
> HI Oleksij,
> 
> On Fri, Apr 28, 2017 at 11:23 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>> this year started with inclusion of open-ath9k-htc-firmware to debian
>> *main* repository. As first we started to getting advantage of regular
>> compile tests. See results here:
>> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/open-ath9k-htc-firmware.html
>>
>> Most of the problems which we currently get, are related to gcc xtensa
>> compiler.
>> In details: device specific patch set is used to provide our own
>> gcc/binutils version because Xtensa don't really have defined CPU cores.
>> As result, upstream compiler developers will never notice if some thing
>> will brake this patch set.
> 
> Below are the links to the xtensa-dynconfig repository and xtensa-plugin-env
> branches in binutils-gdb and gcc repositories. Together it is a draft
> implementation of dynamically configurable xtensa toolchain.
> Could you please take a look at it and see if it's useful for you?
> 
> https://github.com/jcmvbkbc/xtensa-dynconfig
> https://github.com/jcmvbkbc/binutils-gdb-xtensa/commits/xtensa-plugin-env
> https://github.com/jcmvbkbc/gcc-xtensa/commits/xtensa-plugin-env

I didn't tested it jet, but it looks promising. How can i itegrate this
two patches?
https://github.com/olerem/open-ath9k-htc-firmware/tree/master/local/patches


-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for devices with Xtensa cores
  2017-05-20 11:02   ` Oleksij Rempel
@ 2017-05-21  4:47     ` Max Filippov
  0 siblings, 0 replies; 4+ messages in thread
From: Max Filippov @ 2017-05-21  4:47 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: ath9k-devel, linux-wireless, ath10k

On Sat, May 20, 2017 at 4:02 AM, Oleksij Rempel <linux@rempel-privat.de> wrote:
> Am 16.05.2017 um 21:46 schrieb Max Filippov:
>> On Fri, Apr 28, 2017 at 11:23 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>>> this year started with inclusion of open-ath9k-htc-firmware to debian
>>> *main* repository. As first we started to getting advantage of regular
>>> compile tests. See results here:
>>> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/open-ath9k-htc-firmware.html
>>>
>>> Most of the problems which we currently get, are related to gcc xtensa
>>> compiler.
>>> In details: device specific patch set is used to provide our own
>>> gcc/binutils version because Xtensa don't really have defined CPU cores.
>>> As result, upstream compiler developers will never notice if some thing
>>> will brake this patch set.
>>
>> Below are the links to the xtensa-dynconfig repository and xtensa-plugin-env
>> branches in binutils-gdb and gcc repositories. Together it is a draft
>> implementation of dynamically configurable xtensa toolchain.
>> Could you please take a look at it and see if it's useful for you?
>>
>> https://github.com/jcmvbkbc/xtensa-dynconfig
>> https://github.com/jcmvbkbc/binutils-gdb-xtensa/commits/xtensa-plugin-env
>> https://github.com/jcmvbkbc/gcc-xtensa/commits/xtensa-plugin-env
>
> I didn't tested it jet, but it looks promising. How can i itegrate this
> two patches?
> https://github.com/olerem/open-ath9k-htc-firmware/tree/master/local/patches

Apply binutils.patch to the binutils-2.26.1 and then copy
binutils/bfd/xtensa-modules.c
and binutils/include/xtensa-config.h into xtensa-dynconfig/config/<config-name>.
And since the gdb part is missing you'd need to create two empty c source files:
xtensa-dynconfig/config/<config-name>/gdb/gdb/{xtensa-config.c,xtensa-xtregs.c}

-- 
Thanks.
-- Max

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-21  4:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-29  6:23 Search for devices with Xtensa cores Oleksij Rempel
2017-05-16 19:46 ` Max Filippov
2017-05-20 11:02   ` Oleksij Rempel
2017-05-21  4:47     ` Max Filippov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).