New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify official Gentoo/MIPS stage3 archive compatibility #16
Comments
The fixes are now live in the stage3-mipsel3_n32 tarballs from asking in IRC. Thanks for the work you put into this already and I can't wait to start trying this out on real hardware. |
@immolo, you’re welcome! At the moment only the o32 ABI is supported. The n32 ABI will hopefully come later. |
I was under the impression the fix in Gentoo was only included in the tarball I highlighted but I'll be back home in a few weeks to test this out and see if I can add anything to the project. |
The Gentoo Catalyst patch has |
Looking at the mirror list only mipsel2 is available in o32. If I'm correct I can ask in #gentoo-mips to see what is happening with the build over the weekend. |
@frno7 My workload freed up unexpectedly early this week :) I just spoke to the dev team and they were unaware of the o32 requirement so we are just waiting on Matt to weight in and should see the builds in the next 24 hours which I'll update here and the wiki with a URL to it. As an OT point, have you thought about creating an IRC room for this project to hopefully get more people involved? I know at least one other person that uses Linux on the PS2. |
Thanks, @immolo! :-) I mentioned o32 but it must have been lost. It’ll be interesting to learn how float-point calculations are dealt with in the Gentoo archives. Issue frno7/linux#3 has more about that topic. I should use IRC more than I do. I think it’s quite good, it’s often popular for projects I like, and it’s independent of proprietary platforms, which is very good. I haven’t yet taken the time to configure a client properly. Some day, some day... By the way, @AKuHAK told me about Discord for PS2 development, etc. Another thing to try out is Git Hub discussions. |
Well at least I learnt something new about MIPS so it wasn't a waste of time :) I prefer the sysadmin side more and would be interested to see if MUSL can run one day too, plus FP stuff is way above my skill level :P Thanks for the discord, I'll check it out later. I'd be happy to sort the chat creation for you as well if you want but if you don't then I'll leave it for now. |
Musl can run indeed, with significant benefits, see frno7/linux#33 (comment). |
There's already a #ps2linux (or was it #sps2) channel on freenode.. |
@frno7 That's great news as any work we do there will benefit the Gentoo MIPS team which they will appreciate. |
@mirh Just checked and it seems like it's dead unfortunately. |
@immolo, there’s been no response on the Musl patch mentioned in frno7/linux#33 (comment), unfortunately. A reminder is possibly needed. |
@frno7 Once I'm up to speed with it then I'll ask them about it. In the meantime I can write an ebuild to add the patch for us and see if we can have that merged to portage. |
Hopefully the Musl people will merge the patch promptly when reminded. I haven’t tested it for a while though. Let us know if it still works with recent Musl, if you’d try it. :-) |
I've heard they aren't the fastest at accepting changes on the grapevine ;) |
Sps2 used to average something like 10 users at least a year ago. |
@mirh I thought the same and checked libre.chat where everyone moved to from freenode but it's not a registered room at the moment. |
https://gentoo.osuosl.org/releases/mips/autobuilds/20220505T204659Z/ Stage3 is ready for testing |
Nice! I did a quick inspection of both mipsel2 and mipsel3 using the
So it seems there’s a good chance they’ll work. |
Sources are verified and after checking only the mipsel3 stage contains the fix we need. This can be closed now. |
Hasn’t mipsel2 been given the |
In my opinion it goes against the Gentoo way of optimising for your hardware however I can bring this up next time I'm talking to them. |
Thanks! Before the |
I've discussed the mipsel2 stages and got the message that they didn't see a benefit to us or them from adding this. My suggestion is we leave this now and I'll come back to it after we have working glibc and musl builds so we can lower the barrier of entry to get more people involved to help. |
Ah, well... Indeed, the Musl patch would be nice to have in. |
Briefly spoke about that too in passing, we can have that added Gentoo side once I've tested it and that in turn will get it added upstream faster if it hasn't happened before hand. On a side note has anyone here submitted a ps2 patch for gnuconfig recently? They were going to remove it until I offered to run some tests to see if we still needed it. |
I have no idea what that thing does. :-) Do you have a link to it? |
I'm stuck on Windows this week so I can't pull the patch up till I get home as I need more privileges than my work laptop allows me. I'll do some tests when I get back and we can see if it's needed or if it's a left over patch from the old Gentoo PS2 days like it sounds like it is. They did add though that they would welcome any MIPS patches coming back and this was just a query. |
0001-add-ps2-targets-to-config.sub.patch Well it's something pre us as it was submitted in 2008 by one of the PS2 Gentoo devs. |
Possibly, Sam (One of the lead devs) seems to think it could be more important for us though and as he is rarely wrong I'll play it safe and test it on a live system with and without before it's removed. I'll update with the Gentoo bugreport once this is complete. |
gnuconfig is used for configure I've found. I've done some tests though and this is no longer required for us :) |
This can now be closed as we have had confirmed mipsel support in the Gentoo mipsel3 stage3 for a year now and also confirmed support for mipsel3 musl stage3s when those become an official stage3 in Gentoo. https://github.com/gentoo/catalyst/blob/master/arch/mips.toml#L93 |
Thanks! |
I’m happy to say that Gentoo/MIPS lead member Matt Turner applied the
-mfix-r5900
GCC option for the R5900 short loop erratum to the Gentoo Catalyst release building tool, which will make official Gentoo/MIPS stage3 downloads compatible with the R5900 and the PlayStation 2.Verify official Gentoo/MIPS stage3 archives on PlayStation 2 hardware, and with QEMU/R5900, when they become available.
The text was updated successfully, but these errors were encountered: