From liuqi at loongson.cn Mon Oct 18 17:53:44 2010 From: liuqi at loongson.cn (LIU Qi) Date: Tue, 19 Oct 2010 08:53:44 +0800 Subject: Contributing to the development of openjdk mips port Message-ID: <20101019005344.GA2922@loongson.cn> Hi guys, My name is Liu Qi and I am from China Loongson Company. Currently, we are focusing on the development of MIPS compatible processors. Also we have a team working on the OpenJDK port to the MIPS platform. By now we have some preliminary results on that. You could reach the code repos. here: http://hg.printk.org/openjdk6-mips/ With these codes, we could run Java applications with the interpreter on MIPS machines. And by the end of the month, we will finish the debug of the c1 compiler. In the meantime, we want to merge our codes into the OpenJDK. The OpenJDK mips port leader Jonathan told me that we could use the MIPS porting project within OpenJDK. Do you have some advice on that? Also, we want to discuss some detail information about merging. Who should I talk to? Could you provide a name for us? Thanks. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From springer at reservoir.com Mon Oct 18 19:00:41 2010 From: springer at reservoir.com (Jonathan Springer) Date: Mon, 18 Oct 2010 21:00:41 -0500 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101019005344.GA2922@loongson.cn> References: <20101019005344.GA2922@loongson.cn> Message-ID: <4CBCFBC9.3090303@reservoir.com> Hi Qi, I think there is interest in getting MIPS code upstream, but it may take some time, since a port is a large change, and there are some questions to resolve. I think there are issues of maintenance, for example. But for process, as a start, any contributions to the OpenJDK base must be made by signatories of the Sun Contributor Agreement, which can be obtained here: http://oss.oracle.com/oca.pdf In the meantime, we may want to maintain a separate OpenJDK branch that we merge from the mainline (6) regularly. Ideally, it would be a common tree that we use for all MIPS platforms. Reservoir could host that tree, if that makes sense. Jonathan On 10/18/2010 7:53 PM, LIU Qi wrote: > Hi guys, > > My name is Liu Qi and I am from China Loongson Company. Currently, we > are focusing on the development of MIPS compatible processors. Also we > have a team working on the OpenJDK port to the MIPS platform. By now we > have some preliminary results on that. You could reach the code repos. > here: > > http://hg.printk.org/openjdk6-mips/ > > With these codes, we could run Java applications with the interpreter on > MIPS machines. And by the end of the month, we will finish the debug of > the c1 compiler. > > In the meantime, we want to merge our codes into the OpenJDK. The > OpenJDK mips port leader Jonathan told me that we could use the MIPS > porting project within OpenJDK. Do you have some advice on that? Also, > we want to discuss some detail information about merging. Who should I > talk to? Could you provide a name for us? Thanks. > > Regards, > Qi -- Jonathan Springer | (212) 780-0527 x301 Reservoir Labs, Inc. | http://www.reservoir.com/ From liuqi at loongson.cn Mon Oct 18 19:28:24 2010 From: liuqi at loongson.cn (LIU Qi) Date: Tue, 19 Oct 2010 10:28:24 +0800 Subject: Contributing to the development of openjdk mips port In-Reply-To: <4CBCFBC9.3090303@reservoir.com> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> Message-ID: <20101019022824.GD4741@loongson.cn> On Mon, Oct 18, 2010 at 09:00:41PM -0500, Jonathan Springer wrote: > Hi Qi, Hi Jonathan, > > I think there is interest in getting MIPS code upstream, but it may > take some time, since a port is a large change, and there are some > questions to resolve. I think there are issues of maintenance, for > example. But for process, as a start, any contributions to the > OpenJDK base must be made by signatories of the Sun Contributor > Agreement, which can be obtained here: http://oss.oracle.com/oca.pdf Thanks for your reminding about the maintenance, code and legal issues about the MIPS porting. We know that it will take a very long time and hard efforts to make these changes to be merged into the OpenJDK mainline. We will do everything we can do to make that happen. Just tell us if we could do anything. > > In the meantime, we may want to maintain a separate OpenJDK branch > that we merge from the mainline (6) regularly. Ideally, it would be a > common tree that we use for all MIPS platforms. Reservoir could host > that tree, if that makes sense. That sounds interesting. Could we access the Reservoir tree from the internet? Thank you, Qi > On 10/18/2010 7:53 PM, LIU Qi wrote: > > Hi guys, > > > > My name is Liu Qi and I am from China Loongson Company. Currently, we > > are focusing on the development of MIPS compatible processors. Also we > > have a team working on the OpenJDK port to the MIPS platform. By now we > > have some preliminary results on that. You could reach the code repos. > > here: > > > > http://hg.printk.org/openjdk6-mips/ > > > > With these codes, we could run Java applications with the interpreter on > > MIPS machines. And by the end of the month, we will finish the debug of > > the c1 compiler. > > > > In the meantime, we want to merge our codes into the OpenJDK. The > > OpenJDK mips port leader Jonathan told me that we could use the MIPS > > porting project within OpenJDK. Do you have some advice on that? Also, > > we want to discuss some detail information about merging. Who should I > > talk to? Could you provide a name for us? Thanks. > > > > Regards, > > Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From springer at reservoir.com Tue Oct 19 19:02:02 2010 From: springer at reservoir.com (Jonathan Springer) Date: Tue, 19 Oct 2010 21:02:02 -0500 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101019022824.GD4741@loongson.cn> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> Message-ID: <4CBE4D9A.5080503@reservoir.com> On 10/18/2010 9:28 PM, LIU Qi wrote: > On Mon, Oct 18, 2010 at 09:00:41PM -0500, Jonathan Springer wrote: > > In the meantime, we may want to maintain a separate OpenJDK branch > > that we merge from the mainline (6) regularly. Ideally, it would be a > > common tree that we use for all MIPS platforms. Reservoir could host > > that tree, if that makes sense. > That sounds interesting. Could we access the Reservoir tree from the > internet? Yes, I mean a regular hgweb service, accessible from anywhere. I'll look into this here. Best, Jonathan -- Jonathan Springer | (212) 780-0527 x301 Reservoir Labs, Inc. | http://www.reservoir.com/ From liuqi at loongson.cn Tue Oct 19 19:47:54 2010 From: liuqi at loongson.cn (LIU Qi) Date: Wed, 20 Oct 2010 10:47:54 +0800 Subject: Contributing to the development of openjdk mips port In-Reply-To: <4CBE4D9A.5080503@reservoir.com> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> Message-ID: <20101020024754.GA5024@loongson.cn> On Tue, Oct 19, 2010 at 09:02:02PM -0500, Jonathan Springer wrote: > On 10/18/2010 9:28 PM, LIU Qi wrote: > > On Mon, Oct 18, 2010 at 09:00:41PM -0500, Jonathan Springer wrote: > > > In the meantime, we may want to maintain a separate OpenJDK branch > > > that we merge from the mainline (6) regularly. Ideally, it would be a > > > common tree that we use for all MIPS platforms. Reservoir could host > > > that tree, if that makes sense. > > That sounds interesting. Could we access the Reservoir tree from the > > internet? > > Yes, I mean a regular hgweb service, accessible from anywhere. I'll > look into this here. Can we use the hgweb service in the OpenJDK site? The other ports have their own hg tree, such as zero and so on. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From mark at klomp.org Wed Oct 20 00:28:23 2010 From: mark at klomp.org (Mark Wielaard) Date: Wed, 20 Oct 2010 09:28:23 +0200 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101020024754.GA5024@loongson.cn> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> Message-ID: <1287559703.2686.7.camel@springer.wildebeest.org> On Wed, 2010-10-20 at 10:47 +0800, LIU Qi wrote: > On Tue, Oct 19, 2010 at 09:02:02PM -0500, Jonathan Springer wrote: > > On 10/18/2010 9:28 PM, LIU Qi wrote: > > > On Mon, Oct 18, 2010 at 09:00:41PM -0500, Jonathan Springer wrote: > > > > In the meantime, we may want to maintain a separate OpenJDK branch > > > > that we merge from the mainline (6) regularly. Ideally, it would be a > > > > common tree that we use for all MIPS platforms. Reservoir could host > > > > that tree, if that makes sense. > > > That sounds interesting. Could we access the Reservoir tree from the > > > internet? > > > > Yes, I mean a regular hgweb service, accessible from anywhere. I'll > > look into this here. > Can we use the hgweb service in the OpenJDK site? The other ports have > their own hg tree, such as zero and so on. And if you cannot currently because any legal/political issues that need to be resolved first and/or setting up a separate tree somewhere is a problem, we would be happy to host it at http://icedtea.classpath.org/hg where the zero and shark ports also originated. The setup is already done, so it would just be adding another repository and/or forest. Cheers, Mark From dalibor.topic at oracle.com Wed Oct 20 04:25:27 2010 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Wed, 20 Oct 2010 13:25:27 +0200 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101019005344.GA2922@loongson.cn> References: <20101019005344.GA2922@loongson.cn> Message-ID: <4CBED1A7.1090903@oracle.com> On 10/19/10 2:53 AM, LIU Qi wrote: > Hi guys, > > In the meantime, we want to merge our codes into the OpenJDK. Hi, that sounds great. I like that you're already in touch with Jonathan, as I think it would be best to have one MIPS porting project on OpenJDK, if possible, as that would make it easier for others to use it without having to figure out which one to pick. For contributing to OpenJDK, the authors of the port would need to submit an Oracle Contributor Agreement. For details, see http://openjdk.java.net/contribute/, in particular section 0. > The > OpenJDK mips port leader Jonathan told me that we could use the MIPS > porting project within OpenJDK. Do you have some advice on that? I think that's a very good idea. It'd make it easier for others willing to pull from that tree for their own ports, for example. > Also, > we want to discuss some detail information about merging. Who should I > talk to? Could you provide a name for us? Thanks. I'd be happy to talk about it with you & Jonathan. I would suggest putting the code into the mercurial forest of the MIPS port on OpenJDK, once you have all the OCAs in place for the port's authors, and they have appeared on the list at http://sca.dev.java.net. In general, if your goal is to get the MIPS port to a level of quality acceptable for merging into the mainline, it should pass the conformance tests. For details how to apply for access for them, please see http://openjdk.java.net/groups/conformance/JckAccess/index.html That's the successful path Zero & Shark took to get into mainline, and I think that's something worth repeating. cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | | | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From liuqi at loongson.cn Thu Oct 21 00:00:00 2010 From: liuqi at loongson.cn (LIU Qi) Date: Thu, 21 Oct 2010 15:00:00 +0800 Subject: Contributing to the development of openjdk mips port In-Reply-To: <1287559703.2686.7.camel@springer.wildebeest.org> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> Message-ID: <20101021070000.GB9801@loongson.cn> On Wed, Oct 20, 2010 at 09:28:23AM +0200, Mark Wielaard wrote: > On Wed, 2010-10-20 at 10:47 +0800, LIU Qi wrote: > > Can we use the hgweb service in the OpenJDK site? The other ports have > > their own hg tree, such as zero and so on. > > And if you cannot currently because any legal/political issues that need > to be resolved first and/or setting up a separate tree somewhere is a > problem, we would be happy to host it at http://icedtea.classpath.org/hg > where the zero and shark ports also originated. The setup is already > done, so it would just be adding another repository and/or forest. Thank you so much for your offering. Our MIPS port is based on OpenJDK. We are working on porting them to the icedtea. And we are glad if you could provide the repository resource to us. Could you provide me some more detailed information about accounts and so on, please? Thanks. Regard, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From liuqi at loongson.cn Thu Oct 21 00:13:54 2010 From: liuqi at loongson.cn (LIU Qi) Date: Thu, 21 Oct 2010 15:13:54 +0800 Subject: Contributing to the development of openjdk mips port In-Reply-To: <4CBED1A7.1090903@oracle.com> References: <20101019005344.GA2922@loongson.cn> <4CBED1A7.1090903@oracle.com> Message-ID: <20101021071354.GC9801@loongson.cn> On Wed, Oct 20, 2010 at 01:25:27PM +0200, Dalibor Topic wrote: > On 10/19/10 2:53 AM, LIU Qi wrote: > > Hi guys, > > > > In the meantime, we want to merge our codes into the OpenJDK. > > Hi, Hi Dalibor, > > that sounds great. I like that you're already in touch with Jonathan, > as I think it would be best to have one MIPS porting project on OpenJDK, > if possible, as that would make it easier for others to use it without > having to figure out which one to pick. Yes. Currently we are cooperating very closely with Jonathan. And I am discussing this issue with Jonathan. We both do not want to see two branches of MIPS OpenJDK port. > > For contributing to OpenJDK, the authors of the port would need to > submit an Oracle Contributor Agreement. For details, see > http://openjdk.java.net/contribute/, in particular section 0. > I'd be happy to talk about it with you & Jonathan. I would suggest putting > the code into the mercurial forest of the MIPS port on OpenJDK, once you > have all the OCAs in place for the port's authors, and they have appeared > on the list at http://sca.dev.java.net. Sure. We are working on the OCA. > > In general, if your goal is to get the MIPS port to a level of quality > acceptable for merging into the mainline, it should pass the conformance > tests. For details how to apply for access for them, please see > http://openjdk.java.net/groups/conformance/JckAccess/index.html > > That's the successful path Zero & Shark took to get into mainline, and > I think that's something worth repeating. Thanks for your valuable information on the development. We will dig into that. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From mark at klomp.org Thu Oct 21 01:12:41 2010 From: mark at klomp.org (Mark Wielaard) Date: Thu, 21 Oct 2010 10:12:41 +0200 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101021070000.GB9801@loongson.cn> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> <20101021070000.GB9801@loongson.cn> Message-ID: <1287648761.17438.15.camel@hermans.wildebeest.org> On Thu, 2010-10-21 at 15:00 +0800, LIU Qi wrote: > On Wed, Oct 20, 2010 at 09:28:23AM +0200, Mark Wielaard wrote: > > And if you cannot currently because any legal/political issues that need > > to be resolved first and/or setting up a separate tree somewhere is a > > problem, we would be happy to host it at http://icedtea.classpath.org/hg > > where the zero and shark ports also originated. The setup is already > > done, so it would just be adding another repository and/or forest. > Thank you so much for your offering. Our MIPS port is based on OpenJDK. > We are working on porting them to the icedtea. And we are glad if you > could provide the repository resource to us. Could you provide me some > more detailed information about accounts and so on, please? Thanks. We try to keep the hassle to a minimum. As long as all source code is distributed under a Free Software license and it is somewhat related to libre java implementations. IcedTea is intended to for hackers to just get work done. If you make what you have available and we can import it in a new hg tree or forest under http://icedtea.classpath.org/hg/ which everybody can then clone from. These repositories have offline backups made every hour. hg commit/push accounts work through ssh so you would need to provide an ssh public key. Anybody with ssh push access can create personal repositories (which should again only contain Free Software) under http://icedtea.classpath.org/hg/people/ for "scratch" or test repositories. These repositories aren't backed up though. Everybody can use the bug database at http://icedtea.classpath.org/bugzilla (we would add a new component for mips) just by registering with some email address. A wiki is available under http://icedtea.classpath.org/wiki which currently doesn't have a public account registration because of spammers abusing it (sorry about that). But just ask and anybody normally communicating on the mailinglists can get an account using their normal email address to edit any pages. Cheers, Mark From dalibor.topic at oracle.com Thu Oct 21 03:54:42 2010 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Thu, 21 Oct 2010 12:54:42 +0200 Subject: Contributing to the development of openjdk mips port In-Reply-To: <20101021070000.GB9801@loongson.cn> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> <20101021070000.GB9801@loongson.cn> Message-ID: <4CC01BF2.2050303@oracle.com> On 10/21/10 9:00 AM, LIU Qi wrote: > On Wed, Oct 20, 2010 at 09:28:23AM +0200, Mark Wielaard wrote: > > On Wed, 2010-10-20 at 10:47 +0800, LIU Qi wrote: > > > Can we use the hgweb service in the OpenJDK site? The other ports have > > > their own hg tree, such as zero and so on. > > > > And if you cannot currently because any legal/political issues that need > > to be resolved first and/or setting up a separate tree somewhere is a > > problem, we would be happy to host it at http://icedtea.classpath.org/hg > > where the zero and shark ports also originated. The setup is already > > done, so it would just be adding another repository and/or forest. > Thank you so much for your offering. Our MIPS port is based on OpenJDK. > We are working on porting them to the icedtea. And we are glad if you > could provide the repository resource to us. Could you provide me some > more detailed information about accounts and so on, please? Thanks. One thing to keep in mind is that you need to make sure once you decide to contribute the port to OpenJDK is to have the OCA for the authors of the code you want to contribute to OpenJDK - if that code contains changes made in Icedtea by other authors who have not signed the OCA, we won't be able to accept those changes in OpenJDK without their authors signing the OCA first. Shark & Zero have gone the same route, originating in Icedtea, going through a project in OpenJDK, and then getting pushed upstream into mainline eventually, so it's something you need to make sure you keep track of as you work on your port. For example, the Icedtea team keeps a list of patches intended for OpenJDK [1] that have not gone into OpenJDK yet and the OCA status of their authors, and I'd suggest you do the same for your port, as that will make it easier for you later to figure out if there are changes made by others that haven't got the necessary paperwork in place. [1] http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | | | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From gnu_andrew at member.fsf.org Thu Oct 21 05:23:31 2010 From: gnu_andrew at member.fsf.org (Dr Andrew John Hughes) Date: Thu, 21 Oct 2010 13:23:31 +0100 Subject: Contributing to the development of openjdk mips port In-Reply-To: <4CC01BF2.2050303@oracle.com> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> <20101021070000.GB9801@loongson.cn> <4CC01BF2.2050303@oracle.com> Message-ID: On 21 October 2010 11:54, Dalibor Topic wrote: > On 10/21/10 9:00 AM, LIU Qi wrote: >> On Wed, Oct 20, 2010 at 09:28:23AM +0200, Mark Wielaard wrote: >> ?> On Wed, 2010-10-20 at 10:47 +0800, LIU Qi wrote: >> ?> > Can we use the hgweb service in the OpenJDK site? The other ports have >> ?> > their own hg tree, such as zero and so on. >> ?> >> ?> And if you cannot currently because any legal/political issues that need >> ?> to be resolved first and/or setting up a separate tree somewhere is a >> ?> problem, we would be happy to host it at http://icedtea.classpath.org/hg >> ?> where the zero and shark ports also originated. The setup is already >> ?> done, so it would just be adding another repository and/or forest. >> Thank you so much for your offering. Our MIPS port is based on OpenJDK. >> We are working on porting them to the icedtea. And we are glad if you >> could provide the repository resource to us. Could you provide me some >> more detailed information about accounts and so on, please? Thanks. > > One thing to keep in mind is that you need to make sure once you > decide to contribute the port to OpenJDK is to have the OCA for > the authors of the code you want to contribute to OpenJDK - > if that code contains changes made in Icedtea by other authors > who have not signed the OCA, we won't be able to accept those > changes in OpenJDK without their authors signing the OCA first. > > Shark & Zero have gone the same route, originating in Icedtea, > going through a project in OpenJDK, and then getting pushed > upstream into mainline eventually, so it's something you > need to make sure you keep track of as you work on your port. > > For example, the Icedtea team keeps a list of patches intended > for OpenJDK [1] that have not gone into OpenJDK yet and the > OCA status of their authors, and I'd suggest you do the same > for your port, as that will make it easier for you later to > figure out if there are changes made by others that haven't > got the necessary paperwork in place. > > [1] http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches > > cheers, > dalibor topic > > -- > Oracle > Dalibor Topic | Java F/OSS Ambassador > Phone: +494023646738 | | | Mobile: +491772664192 > Oracle Java Platform Group > > ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 M?nchen > Registergericht: Amtsgericht M?nchen, HRA 95603 > > Komplement?rin: ORACLE Deutschland Verwaltung B.V. > Rijnzathe 6, 3454PV De Meern, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven > > Green Oracle Oracle is committed to developing practices and products that help protect the environment > Alternatively, you could just add it to IcedTea and leave it at that, rather than giving Oracle rights over your code for no apparent gain. Your choice. If you need any help integrating your port with IcedTea, you can contact the team on distro-pkg-dev at openjdk.java.net or log in to #openjdk on the OFTC IRC network. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA? 7927 142C 2591 94EF D9D8 From springer at reservoir.com Thu Oct 21 08:26:09 2010 From: springer at reservoir.com (Jonathan Springer) Date: Thu, 21 Oct 2010 10:26:09 -0500 Subject: Contributing to the development of openjdk mips port In-Reply-To: References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> <20101021070000.GB9801@loongson.cn> <4CC01BF2.2050303@oracle.com> Message-ID: <4CC05B91.70408@reservoir.com> On 10/21/2010 7:23 AM, Dr Andrew John Hughes wrote: > Alternatively, you could just add it to IcedTea and leave it at that, > rather than giving Oracle rights over your code for no apparent gain. > Your choice. You make a good point, but there does seem to be some point to giving it to Oracle. Just as there is utility in an integrated MIPS port, there is utility in integrating the MIPS port further upstream. > If you need any help integrating your port with IcedTea, you can > contact the team on distro-pkg-dev at openjdk.java.net or log in to > #openjdk on the OFTC IRC network. Thanks, it helps. -Jonathan -- Jonathan Springer | (212) 780-0527 x301 Reservoir Labs, Inc. | http://www.reservoir.com/ From liuqi at loongson.cn Thu Oct 21 18:30:27 2010 From: liuqi at loongson.cn (LIU Qi) Date: Fri, 22 Oct 2010 09:30:27 +0800 Subject: Contributing to the development of openjdk mips port In-Reply-To: <4CC01BF2.2050303@oracle.com> References: <20101019005344.GA2922@loongson.cn> <4CBCFBC9.3090303@reservoir.com> <20101019022824.GD4741@loongson.cn> <4CBE4D9A.5080503@reservoir.com> <20101020024754.GA5024@loongson.cn> <1287559703.2686.7.camel@springer.wildebeest.org> <20101021070000.GB9801@loongson.cn> <4CC01BF2.2050303@oracle.com> Message-ID: <20101022013026.GA3790@loongson.cn> On Thu, Oct 21, 2010 at 12:54:42PM +0200, Dalibor Topic wrote: > One thing to keep in mind is that you need to make sure once you > decide to contribute the port to OpenJDK is to have the OCA for > the authors of the code you want to contribute to OpenJDK - > if that code contains changes made in Icedtea by other authors > who have not signed the OCA, we won't be able to accept those > changes in OpenJDK without their authors signing the OCA first. Sure. Currently all patches in the MIPS port are in our team. And we are working on the OCA. > > Shark & Zero have gone the same route, originating in Icedtea, > going through a project in OpenJDK, and then getting pushed > upstream into mainline eventually, so it's something you > need to make sure you keep track of as you work on your port. Thanks for your advice. I think our codes will be hosted at Icedtea before it could appear on the OpenJDK website. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From mark at klomp.org Fri Oct 22 02:12:43 2010 From: mark at klomp.org (Mark Wielaard) Date: Fri, 22 Oct 2010 11:12:43 +0200 Subject: openjdk6-mips port added to icedtea server Message-ID: <1287738763.2755.50.camel@springer.wildebeest.org> Hi, LIU Qi asked if the openjdk6-mips port for Longsoon they have been hacking on could be hosted on the icedtea server so it could be shared with a wider audience. So it has been added: http://icedtea.classpath.org/hg/openjdk6-mips/ All new code has been contributed under the GPL by Lemote, Inc. Currently only the original mips port hackers can push new commits to it so they can decide how to evolve the code. Please discuss on the porters-dev mailinglist and with LIU Qi if you would like to contribute patches and/or have ideas for how the repository should be setup (it contains a full openjdk6 forest in a single repository atm). Any commits pushed to the repository should also send an email to the icedtea and porters-dev mailinglist (Dalibor might have to approve them first before they appear on the porters-dev list). The new hackers should also have gotten wiki accounts through email. Please login and add a page http://icedtea.classpath.org/wiki/MIPSPort to describe the current status of the port, how to build it and any hacking rules you want to follow for the repository. Thanks and Happy Hacking, Mark From dalibor.topic at oracle.com Fri Oct 22 03:25:30 2010 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Fri, 22 Oct 2010 12:25:30 +0200 Subject: openjdk6-mips port added to icedtea server In-Reply-To: <1287738763.2755.50.camel@springer.wildebeest.org> References: <1287738763.2755.50.camel@springer.wildebeest.org> Message-ID: <4CC1669A.50306@oracle.com> On 10/22/10 11:12 AM, Mark Wielaard wrote: > Hi, > Any commits pushed to the repository should also send an email to the > icedtea and porters-dev mailinglist (Dalibor might have to approve them > first before they appear on the porters-dev list). Let's not send commits to this list, and keep it for general technical discussion of ports. One list documenting them should do fine. cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | | | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From liuqi at loongson.cn Sat Oct 23 02:49:00 2010 From: liuqi at loongson.cn (LIU Qi) Date: Sat, 23 Oct 2010 17:49:00 +0800 Subject: openjdk6-mips port added to icedtea server In-Reply-To: <1287738763.2755.50.camel@springer.wildebeest.org> References: <1287738763.2755.50.camel@springer.wildebeest.org> Message-ID: <20101023094900.GA9736@loongson.cn> On Fri, Oct 22, 2010 at 11:12:43AM +0200, Mark Wielaard wrote: > Hi, > > LIU Qi asked if the openjdk6-mips port for Longsoon they have been > hacking on could be hosted on the icedtea server so it could be shared > with a wider audience. So it has been added: > http://icedtea.classpath.org/hg/openjdk6-mips/ Thank Mark on helping us. We will use the facilities provided by icedtea to develop the openjdk mips port. Here is the summary: hg reps. : http://icedtea.classpath.org/hg/openjdk6-mips/ bugzilla : http://icedtea.classpath.org/bugzilla/ mailing list: http://mail.openjdk.java.net/mailman/listinfo/distro-pkg-dev wiki: http://icedtea.classpath.org/wiki/MIPSPort > > All new code has been contributed under the GPL by Lemote, Inc. > Currently only the original mips port hackers can push new commits to it > so they can decide how to evolve the code. Please discuss on the > porters-dev mailinglist and with LIU Qi if you would like to contribute > patches and/or have ideas for how the repository should be setup (it > contains a full openjdk6 forest in a single repository atm). The codes will be contributed under the GPL by Loongson and Lemote, Inc and mainly by Loongson Company. Our team are from Loongson Co. Ltd. > > Any commits pushed to the repository should also send an email to the > icedtea and porters-dev mailinglist (Dalibor might have to approve them > first before they appear on the porters-dev list). As Dalibor suggested, we will only discuss and mail the commit information to the of mailing list icedtea. > > The new hackers should also have gotten wiki accounts through email. > Please login and add a page http://icedtea.classpath.org/wiki/MIPSPort > to describe the current status of the port, how to build it and any > hacking rules you want to follow for the repository. We will write something in that page ASAP. Thanks again for the help from Mark. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F From liuqi at loongson.cn Sat Oct 23 23:34:09 2010 From: liuqi at loongson.cn (LIU Qi) Date: Sun, 24 Oct 2010 14:34:09 +0800 Subject: openjdk6-mips port added to icedtea server In-Reply-To: <504d12434baafd10854ffdc5aef06f7e.squirrel@webmail.mandriva.com.br> References: <1287738763.2755.50.camel@springer.wildebeest.org> <20101023094900.GA9736@loongson.cn> <504d12434baafd10854ffdc5aef06f7e.squirrel@webmail.mandriva.com.br> Message-ID: <20101024063409.GA3359@loongson.cn> > Hi, Hi Paulo, > > Sorry for hijacking the thread, but I started recently adding > support for mips in my fork of the lightning jit generator, at > > http://github.com/pcpa/lightning > > This is done as a personal project (no companies of official > projects involved, I use lightning for jit in a language I am > writing...), as I have access to an older gdium sample; I also > wrote a very good share of the Xorg siliconmotion driver for > smi 501/502 like 2 years ago, also for the gdium. That sounds interesting, and thank you for your contribution to the Loongson and gdium. > > Any pointers on these would be useful: > o How to pass float and double arguments so that they would work > if calling a prototyped or not prototyped function; floats are > ok if working only with prototyped functions > My current guess, before working on it again, and writing some > basic tests with gcc calling a jit function and then inspecting > registers is that: > a0+a1 first double > a2+a3 second double > f12 first float > f13 second float > f14 third float > f15 fourth float What you cared about is defined in the ABI. There are three common ABIs used for MIPS architectures, o32, n32 and n64. You could get the information in the manual of these ABIs. Also, they are mentioned in the book 'See MIPS run'. > o Pointers to download of images (for godson/loongson) of a system > with gcc and binutils devel, running either 64 bits mode, big endian > mode or another abi are also welcome, so that I can test all > alternatives before considering it done You could use the Debian mipsel system for the development. Loongson support only little endian. > o How to detect cpu features, preferably without causing signals/traps, > because I use attribute constructor on a function, but currently > only functional for x86. What is desirable to detect is if, or which > mips32 release 2 opcodes are implemented, or which mips32 opcodes > are missing (in the mips manual, it says movf and movt are mips32 > but are not implemented in my sample for example) You could read the CPU information from /proc/cpuinfo. And Loongson2F is compatible with MIPS3. The Loongson2G and Loongson3 will be MIPS64 compatible. > o This one is kinda funny, as I am working on generating code, I am > still not very familiar with the actual assembler syntax, so, > what would be the proper __asm__ __volatile__ to flush the code > cache of a buffer recently written? (I am making a call to _cache_flush > on linux, and just mprotect otherwise, but it may require a different > approach on other system). There is a system call named cacheflush(147) could be used to flush the cache. In some systems, cache could be flushed only with the privilege, so using assemble in use space may not be a good idea to do this. Regards, Qi -- LIU Qi liuqi at loongson.cn liuqi82 at gmail.com Loongson Technology Co. Ltd. PGP Key fingerprint: 3D29 FDFD AFB3 225D B744 7FAB 51C7 4820 63BA 272F