Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PlayStation 2 - Major progress, help me finish!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sun May 28, 2006 10:23 pm    Post subject: Reply with quote

Answered some of that in a PM.

Bootable ISOs are no good because Linux has to be started through the RTE and the only CD/DVD the RTE can boot from is the official one. What I can send you is a tarball of a base system, which you can then netboot from. If you want to use the hard drive, you'll still need to netboot initially because the only way you can get the files onto the hard drive is through Linux. Even if you hook up the hard drive to a PC, other Linux kernels don't have PS2 APA (Advanced Partition Architecture, I think) support so that wouldn't work. Maybe porting the PS2 APA driver to the latest stock kernel wouldn't be too hard but it's not a priority for me so someone else can tackle that.

Woo 16 megs! The Amiga needs all it can get. :wink:
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sun May 28, 2006 10:43 pm    Post subject: Reply with quote

More good news!

After disabling the "old kernel compatibility" option in the kernel configuration, two of the problems I'd listed went away! :D ps and top now work fine and the boot process no longer stops at Starting local....

I also have C++ working. I'm not 100% sure if it's quite right yet. To get it working with uclibc, I had to patch some of the locale stuff but to be honest, I didn't really know what I was doing. Most of the things I've tried to build have failed but that was when I was cross-compiling. I tried building a couple of the same packages natively and they built okay. So maybe it's just a cross-compiling issue.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Tue May 30, 2006 7:28 pm    Post subject: Reply with quote

After refining the locale patches and adding a float wrapper patch to uclibc, I was able to build ScummVM. :D Monkey Island 3 works. It's a tiny bit sluggish but very playable. Don't try and run it over the network though! Beneath A Steel Sky works perfectly. Unfortunately, Monkey Islands 1 and 2 don't work due to some palette problem, I think. The framebuffer doesn't support 8-bit. There are probably plenty of other ScummVM games that will work (Flight of the Amazon Queen, Broken Sword...) but the ones I've tested are the only ones I have.

Oh yeah, I tried joymouse so I could use the gamepad with ScummVM instead of the mouse. joymouse itself seems to work but SDL's fbcon driver screws things up. Maybe it'll work if I use the DirectFB driver instead. We'll see.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Tue May 30, 2006 10:02 pm    Post subject: Reply with quote

8O :D

wow... impressive
Back to top
View user's profile Send private message
nibiru
n00b
n00b


Joined: 09 Jun 2005
Posts: 38

PostPosted: Wed May 31, 2006 12:27 am    Post subject: Reply with quote

Chewi wrote:
Unfortunately, Monkey Islands 1 and 2 don't work due to some palette problem, I think. The framebuffer doesn't support 8-bit. There are probably plenty of other ScummVM games that will work (Flight of the Amazon Queen, Broken Sword...) but the ones I've tested are the only ones I have.

Question: did you use Amiga version of Monkey Island 1 and 2?

It gave palette problem on older ScummVM, since on the Amiga the graphics are different: ie just 16 colors for MI 1 and 32 (Variable) + 32 on Monkey Island 2.

newer ScummVM versions have an "amiga" switch I think to fix the color map in that case.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Wed May 31, 2006 2:45 am    Post subject: Reply with quote

Even though I did own the Amiga versions of both, I used the PC versions. They work fine through ScummVM on this machine. It's not that the colours simply don't display properly, the games actually crash out to the ScummVM debug console after loading.
Back to top
View user's profile Send private message
lord_muad_dib
n00b
n00b


Joined: 01 Jun 2006
Posts: 6
Location: viterbo italy

PostPosted: Thu Jun 01, 2006 10:59 am    Post subject: Reply with quote

great work men!
keep op the good work!

@Chewi: i sent you a pm :)
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Thu Jun 01, 2006 11:18 am    Post subject: Reply with quote

Thank you. :) I'll get back to you later on today, gotta get some real work done first. :wink:

Quick update. My girlfriend likes the Lemmings clone called Pingus so I thought I'd get it working. It needs ClanLib though, which is a monster of a package and very C++ heavy. I didn't expect that to work. Remarkably, after making one minor change, it built just fine. THEN I found out that I'd built 0.7 when Pingus needs 0.6. D'oh! I then tried building 0.6. I had to write a small patch to make it compile against uclibc (sending that upstream) but again, it built perfectly after that. Pingus also built okay. I tried running it through DirectFB but nothing appeared on-screen. I have a feeling it was running in the background somewhere though. I'd forgotten to emerge mikmod so I couldn't hear the music. I then tried running it under X. That did work but it was then that I realised the colours in X are screwed up. I think the framebuffer uses BGR while X uses RGB. I've found a small patch that might fix it though so I'll give that a try later. As yet, I haven't had anything working on DirectFB but I think I can figure it out.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Fri Jun 02, 2006 6:34 pm    Post subject: Reply with quote

Pretty impressive. Hopefully you will continue to work on that project.
Back to top
View user's profile Send private message
ShALLaX
n00b
n00b


Joined: 29 Mar 2003
Posts: 34

PostPosted: Fri Jun 02, 2006 11:45 pm    Post subject: Reply with quote

Chewi wrote:
Coincidentally, the GentooX developer, the only official Gentoo developer in Scotland, lives in Edinburgh, which is just an hour and a half from here. He has a much easier a much easier job than I do though, the Xbox is basically just a stripped down PC in a fancy case!


I live in Scotland?... thats news to me!
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sat Jun 03, 2006 12:19 am    Post subject: Reply with quote

ShALLaX wrote:
Chewi wrote:
Coincidentally, the GentooX developer, the only official Gentoo developer in Scotland, lives in Edinburgh, which is just an hour and a half from here. He has a much easier a much easier job than I do though, the Xbox is basically just a stripped down PC in a fancy case!


I live in Scotland?... thats news to me!


Heh, People thought I lived in the UK at one point. :-P
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat Jun 03, 2006 12:20 am    Post subject: Reply with quote

Heh are you the main guy? I was referring to chrb, who is listed on http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml as being the dev responsible for it.
Back to top
View user's profile Send private message
ShALLaX
n00b
n00b


Joined: 29 Mar 2003
Posts: 34

PostPosted: Sat Jun 03, 2006 1:22 am    Post subject: Reply with quote

I started Gentoo on the Xbox... then I was kicked from the dev team because I was "inactive" during exam season at University... I was given no chance to finish my exams or argue my case.

Instead of dealing with all the politics I decided to maintain Gentoox by myself at http://gentoox.shallax.com
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat Jun 03, 2006 1:32 am    Post subject: Reply with quote

Sorry to hear that. I know how hard going university can be. If it's any consolation, even though I wasn't aware of the split, that's the site I've always associated with Gentoox and I do recognise your screen name.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sun Jun 04, 2006 12:51 am    Post subject: Reply with quote

More good news. I was fed up with being forced to build packages on the PS2. Even with distcc, it's horribly slow, especially when it comes to linking and ESPECIALLY when you're linking against ClanLib. I think I left it for at least an hour before I gave up and stopped it. Maybe it would have taken less than an hour if it hadn't been linking over the network but still. Practically all the C++ dependent packages were failing to cross-build and just about every X package I'd emerged had failed to cross-build as well. To top it all, they were always failing for stupid reasons like trying to link against libraries in /usr/lib instead of /mnt/gentoo-ps2/usr/lib. Something had to be done.

I have now written some fairly small, semi-intelligent wrapper scripts. I've so far managed to cross-build two versions of ClanLib, Pingus and a few X packages with them. This is a good sign. :) The only packages that will probably still fail are compilers (those work without wrappers anyway), packages that try to execute programs they've just built and packages that require checks that can't be done when cross-building. I see no reason why X can't be entirely cross-built now. Furthermore, these scripts would certainly be useful for other target platforms too. Indeed, this entire project deals with common cross-building issues and also issues relating to uclibc. I'm planning to launch a wiki and these two subjects will no doubt be covered. So what am I going to call these scripts? I think I'm going to call them Magic Cross. :)

UPDATE: Hmm the stuff it's producing doesn't seem to be working quite right. I think I know why though.
UPDATE #2: Fixed it. :D
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat Jun 10, 2006 12:51 pm    Post subject: Reply with quote

Hello again. I've been pretty busy with work over the last week so I haven't done too much.

Magic Cross was having trouble building anything tcl-related. After a while, I realised it was a problem with the wrapper dropping quotes from the given arguments. I fixed that. The tcl, tk, tls and amsn packages all built fine. amsn won't run though. It loads for a while then drops out with "Aborted".

I just tried building ImageMagick with Magic Cross but it failed a little way in. I think it's a uclibc issue though. I'm quite sure I've seen this error before.

Code:
/usr/bin/mipsEEel-scei-linux-uclibc-gcc -B/usr/lib/distcc/bin -I/mnt/gentoo-ps2/usr/lib/gcc-lib/mipsEEel-scei-linux-uclibc/3.0.4/include/g++-v3/mipsEEel-scei-linux-uclibc -I/mnt/gentoo-ps2/usr/include -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -Wall -MT magick/magick_libMagick_la-xwindow.lo -MD -MP -MF magick/.deps/magick_libMagick_la-xwindow.Tpo -c magick/xwindow.c -DPIC
In file included from magick/studio.h:159,
                 from magick/xwindow.c:42:
/mnt/gentoo-ps2/usr/include/errno.h:62: warning: useless keyword or type name in empty declaration
/mnt/gentoo-ps2/usr/include/errno.h:62: warning: empty declaration
depbase=`echo ltdl/ltdl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ./libtool --silent --tag=CC --mode=compile mipsEEel-scei-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand  -I. -I. -I./Magick++/lib -I./Magick++/lib   -Wall -MT ltdl/ltdl.lo -MD -MP -MF "$depbase.Tpo" -c -o ltdl/ltdl.lo ltdl/ltdl.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
In file included from /mnt/gentoo-ps2/usr/include/sys/ipc.h:29,
                 from magick/xwindow.c:85:
/mnt/gentoo-ps2/usr/include/bits/ipc.h:39: redefinition of `__kernel_key_t'
/mnt/gentoo-ps2/usr/include/linux/posix_types.h:44: `__kernel_key_t' previously declared here


Right now, I'm updating everything on my server and then I'm going to install Trac. That'll serve as our base for this project.

Progress might be slow for now though. I'm still busy with work and my RSI has suddenly flared up again really badly. I'm quite worried. :(
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Sat Jun 10, 2006 7:24 pm    Post subject: Reply with quote

amsn works! For some reason, the latest version, 0.95, wouldn't work but 0.94 does! :D

I also got Magic Cross to build ImageMagick. The problem was with the old kernel headers and was easy to fix. I had Magic Cross producing some rather verbose and colourful output to let you know what it was doing but that output seemed to cause some configure tests to fail. Neither stdout or stderr works in all cases. I guess Magic Cross will seem even more magic now because you won't even see what its doing. :wink:

The colours in X are still screwed up. Using ImageMagick to display a photo of my girlfriend was amusing. She had a blue face. :lol:

The server is now fully updated and I will be setting up Trac shortly.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Mon Jun 12, 2006 1:07 pm    Post subject: Reply with quote

Very busy but just a quick note to say fvwm works! :D

I'll probably post less about various packages working now, I think we can assume that most stuff works within reason.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Tue Jun 13, 2006 9:50 am    Post subject: Reply with quote

Okay, okay, one more because I know a lot of people are interested in this one - mplayer works! :D After a bit of tweaking, I was able to build it with Magic Cross too, which is a big plus.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Thu Jul 06, 2006 9:54 pm    Post subject: Reply with quote

Someone asked me for an update. I'm not dead! I've been very busy with work and my recent focus has shifted to getting Gentoo to work on an old iMac using GCC 4.1 and uClibc 0.9.28. I've been told that this combination is almost as crazy an the PS2 project - indeed, it has been rather tricky.

This project certainly isn't dead either. I was getting frustrated with the framebuffer RGB/BGR problem so I decided to give it a rest for a while. I shall return to it once I've done a bit more work with the iMac. Fortunately my work with the iMac has allowed me to make further improvements to Magic Cross, though I feel that I now need to rewrite it in C because repeatedly calling sed through bash really slows things down and the shell's slippery handling of backslashes, quotes and other special characters makes things trickier than they need to be.
Back to top
View user's profile Send private message
billiob
Guru
Guru


Joined: 30 Dec 2004
Posts: 425
Location: Paris, France

PostPosted: Fri Jul 07, 2006 9:16 pm    Post subject: Reply with quote

Hello Chewi.
Great work !!

Can i ask you to try to install aMSN 0.95 again, and report me the compilation error, please ? (if the compilation doesn't fail, can you give me the error when launching amsn, please ?)
In fact, can you investigate that issue a bit more ?
It would be great to have amsn running on PS2 ! (the current version, because amsn 0.94 has only tcl files, that's why if tcl is compiled, amsn0.94 should work)
_________________
billiob
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Fri Jul 07, 2006 9:24 pm    Post subject: Reply with quote

If I remember correctly, it built okay but when I tried to run it, it bombed with "wish: aborted" or something like that. Not too helpful. What's interesting is that aMSN 0.95 does not work on the iMac either but 0.94 does. It's almost certainly a uClibc issue. The error I received on the iMac was different though. I can't remember exactly what it was but I'll rebuild it soon and let you know.
Back to top
View user's profile Send private message
sonyman
n00b
n00b


Joined: 30 Nov 2005
Posts: 31

PostPosted: Sat Jul 08, 2006 4:39 am    Post subject: Reply with quote

I'd like to help you out on your project if possible. I don't have much skill in the way of coding, but I'd like to test your work on my own PS2. I recently spent a great deal of time compiling hundreds of Debian packages on my PS2, but that took way too much effort when I look at the end result. I'd much rather have Gentoo on it since it's so much leaner and meaner. I've added you to my MSN contacts and hope to correspond with you further regarding your developments.

Scott
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 886
Location: Edinburgh, Scotland

PostPosted: Wed Jul 12, 2006 9:05 pm    Post subject: Reply with quote

BIG NEWS! Someone just pointed me to this on playstation2-linux.com...

Quote:
News for PAL territories: As the USB mice and keyboards are no longer available, we are now offering a reduced set of items for €119 + tax (or €79 + tax if you claim the education price). We are also pleased to offer a smaller bundle of just the Linux DVDs and the monitor cable for €25 + tax.

Please see linuxplay.com for ordering information.


This is excellent news. :o I've already e-mailed them to get my copy. I'm gonna need it, it seems like someone new contacts me about this project everyday. The other sort of good news is that I've given up using uClibc on the iMac so I should be getting back to the PS2 pretty soon.
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Fri Jul 21, 2006 5:07 pm    Post subject: Reply with quote

hey, i'm just preparing to install linux on my ps2.

could you briefly sum up what do i need, from hardware and from software to get going?

i know i need network adapter and some hd drive, a linux kit dvds and usb keyboard, at least. what else? any pointers where should i start?
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3, ... 10, 11, 12  Next
Page 2 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum