Quantcast

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

John Paul Adrian Glaubitz
Hi!

We're currently working on improving SuperH support in Debian and Linux
in general since the architecture is currently being redeveloped as an
open source architecture called J-Core [1]. J-Core supports the SH-2
instruction set only, but it's expected to extend to SH-3 and SH-4
in the future. Hence, having working native SH support for gdb on Linux
would be very desirable.

>  * Tom Tromey <[hidden email]> pointed out that any significant
>    contributors would need to sign copyright assignment papers, since
>    the patch is far from trivial.  Otherwise, GNU won't merge it, and it
>    will bitrot constantly.
>    <http://www.cygwin.com/ml/gdb-patches/2011-11/msg00499.html>

This would actually the first and most important thing to do. I have
tried contacting Takashi YOSHII but so far I had no success. One that
could help would be Nobuhiro Iwamatsu, so I put him in CC. There is
also Yutaka Niibe whom we can ask.

Adrian

> [1] http://j-core.org/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

John Paul Adrian Glaubitz
Hi!

I have ported Yoshii-san's code to GDB 7.12, attaching an updated
patch. A git repository with my linux-sh branch can be found in [1].

Yutaka Niibe has already reached out to Renesas in Japan and is trying to
get into touch with Yoshii-san, this might take a while though. However,
I have talked with someone at the FSFE knowledgeable with open source
licenses and it looks like we actually don't need the copyright assignment
at all.

If we needed the copyright assignment, we'd probably need it from Renesas
anyway and not from Yoshii-san directly as he wrote the patch while working
for Renesas who consequently are the copyright owners. And since Renesas
already submitted their SH code to gcc, I assume they also already assigned
the FSF copyright assignment (if that's actually needed).

More updates coming soon.

Thanks,
Adrian

> [1] https://github.com/glaubitz/binutils-gdb/tree/linux-sh

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

sh-linux-native-support.patch (39K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

Nobuhiro Iwamatsu
Hi,

Sorry, replay was late.

Takashi already leaved from Renesas, he is working other company.
I am contacting him now, I am planning to ask him about this matter.

Best regards,
  Nobuhiro

2017-02-08 5:51 GMT+09:00 John Paul Adrian Glaubitz
<[hidden email]>:

> Hi!
>
> I have ported Yoshii-san's code to GDB 7.12, attaching an updated
> patch. A git repository with my linux-sh branch can be found in [1].
>
> Yutaka Niibe has already reached out to Renesas in Japan and is trying to
> get into touch with Yoshii-san, this might take a while though. However,
> I have talked with someone at the FSFE knowledgeable with open source
> licenses and it looks like we actually don't need the copyright assignment
> at all.
>
> If we needed the copyright assignment, we'd probably need it from Renesas
> anyway and not from Yoshii-san directly as he wrote the patch while working
> for Renesas who consequently are the copyright owners. And since Renesas
> already submitted their SH code to gcc, I assume they also already assigned
> the FSF copyright assignment (if that's actually needed).
>
> More updates coming soon.
>
> Thanks,
> Adrian
>
>> [1] https://github.com/glaubitz/binutils-gdb/tree/linux-sh
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - [hidden email]
> `. `'   Freie Universitaet Berlin - [hidden email]
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



--
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

Nobuhiro Iwamatsu
Hi, again.

I add Takashi's  to this thread.
I contacted to Takashi, and talked about this problem.
He said I would reply on this matter.
Would you please wait for his reply?

Best regards,
  Nobuhiro

2017-03-10 10:22 GMT+09:00 Nobuhiro Iwamatsu <[hidden email]>:

> Hi,
>
> Sorry, replay was late.
>
> Takashi already leaved from Renesas, he is working other company.
> I am contacting him now, I am planning to ask him about this matter.
>
> Best regards,
>   Nobuhiro
>
> 2017-02-08 5:51 GMT+09:00 John Paul Adrian Glaubitz
> <[hidden email]>:
>> Hi!
>>
>> I have ported Yoshii-san's code to GDB 7.12, attaching an updated
>> patch. A git repository with my linux-sh branch can be found in [1].
>>
>> Yutaka Niibe has already reached out to Renesas in Japan and is trying to
>> get into touch with Yoshii-san, this might take a while though. However,
>> I have talked with someone at the FSFE knowledgeable with open source
>> licenses and it looks like we actually don't need the copyright assignment
>> at all.
>>
>> If we needed the copyright assignment, we'd probably need it from Renesas
>> anyway and not from Yoshii-san directly as he wrote the patch while working
>> for Renesas who consequently are the copyright owners. And since Renesas
>> already submitted their SH code to gcc, I assume they also already assigned
>> the FSF copyright assignment (if that's actually needed).
>>
>> More updates coming soon.
>>
>> Thanks,
>> Adrian
>>
>>> [1] https://github.com/glaubitz/binutils-gdb/tree/linux-sh
>>
>> --
>>  .''`.  John Paul Adrian Glaubitz
>> : :' :  Debian Developer - [hidden email]
>> `. `'   Freie Universitaet Berlin - [hidden email]
>>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>
>
>
> --
> Nobuhiro Iwamatsu
>    iwamatsu at {nigauri.org / debian.org}
>    GPG ID: 40AD1FA6



--
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

John Paul Adrian Glaubitz
Hi Nobuhiro!

On 03/10/2017 04:16 AM, Nobuhiro Iwamatsu wrote:
> I add Takashi's  to this thread.
> I contacted to Takashi, and talked about this problem.
> He said I would reply on this matter.
> Would you please wait for his reply?

Thank you very much for your initiative. Having native support for
Linux SH in GDB will be very useful for the J-Core project.

Now, I have already talked to the GDB people regarding this matter
and they told me that Yoshii-san needs to sign the copyright assignment
himself [1]. Yao Qi has provided a link which provide the necessary
forms which need to be filled out by Yoshii-san. If he has any problems
choosing the right form or needs additional advise, he can ask on the
gdb-patches mailing list himself [2] or send an email to [hidden email]
who will get back to him very quickly.

On a sidenote: Yao Qi just recently happened to talk to Masami Hiramatsu
who happened to have contacted to Yoshii-san at Linaro Connect [3], so
with everyone involved, I am confident to get this resolved soon!

I have one last important question regarding SuperH in general:

Can you make a statement regarding the remaining SH7785LCR boards you
have? Would you still be willing to set these up as buildds? If not,
would it be possible that you hand these boards over to me? I could
receive them in Japan, so they don't have to go abroad.

We desperately need additional buildd hardware for the sh4 port since
we currently have my one SH7785LCR board and two qemu-sh4 instances
running only. I have more hardware (NextVoD boxes) but these currently
lack support for a modern kernel (they are stuck at 2.6.32). It also
doesn't matter if the boards are broken, those are definitely fixable.

Please let's get the buildd issue resolved as well.

Thanks,

Adrian

> [1] https://sourceware.org/ml/gdb-patches/2017-02/msg00507.html
> [2] https://www.gnu.org/software/gdb/mailing-lists/
> [3] https://sourceware.org/ml/gdb-patches/2017-03/msg00127.html

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bug#576242: gdb: Please support Renesas SH(sh4)

John Paul Adrian Glaubitz
In reply to this post by Nobuhiro Iwamatsu
Hello!

On 03/10/2017 04:16 AM, Nobuhiro Iwamatsu wrote:
> I add Takashi's  to this thread.
> I contacted to Takashi, and talked about this problem.
> He said I would reply on this matter.
> Would you please wait for his reply?

Has there been any progress on this issue?

Please note that if we wait too long, merging the patch becomes
more difficult over the time as the upstream source progress.

I'm currently rebasing the patch from time to time to make
sure it remains mergable [1].

Please don't let this take forever. Signing the FSF copyright
assignment can be done quickly and Takashi just needs to do
it to clear the path.

Adrian

> [1] https://github.com/glaubitz/binutils-gdb/tree/linux-sh

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Loading...