wow, i think i will buy new PS2 :D
Printable View
wow, i think i will buy new PS2 :D
@danielb
I've only investigated a little at this point. This version does not have some things - no X-Windows (so just has text console), no APA partition support (can't reside on hdd with other PS2 game partitions), no cdrom/dvdrom support (from quick tests I did last night), and I think no sound support (haven't tested, but is likely). However, for me it has the most important thing - a working gcc 4.3.2 compiler. This will allow me to compile many programs/libraries of recent vintage. I can then move these binaries to PS2-Linux running the 2.4 kernel (in theory) and run them in a graphical environment. I am hopeful that X-Windows and sound will be made to work on the new version however, as apt-get allows access to quickly install any number of recent vintage packages. Then we would be limited mostly by the 32MB RAM on the PS2. Does anyone know how to hardware hack more RAM onto a PS2?
I think its better to wait for 2.6 kernel to be fully working than continue porting stuff to 2.4....
2.6 just use apt and you are done!
More RAM would be good... But with a good swap ot should go well no? 32MB MC would do it?
@Dadas
PS2 are now very cheap... search for a fat one it shouldn't be too expensive (found some starting at 10$ on ebay)
I was thinking about using free VRAM as swap space. I think there is also some memory for sound and the IOP has also some free memory and there is a 32 KByte scratchpad. Someone could also have a bad idea using NVRAM :). The PS2 tool has more main memory. MC as swap memory proved to be instable/unusable in the past and the driver is not yet ported to Linux 2.6.
Driver for cdrom/dvd has currently compiler errors. Sound driver is not ported yet. I think I will create a Linux frame buffer driver rather than a X-Windows driver, because X-Windows is able to use the frame buffer driver. My plan was to continue with the exception handlers. There are only 32 bits of the 128 bit registers saved. This has no impact on 32 bit code like mipsel Debian 5, but can cause problems with old stuff. I also need to optimize the compiler/binutils for R5900. Currently any unsupported instruction is emulated by the Linux kernel 2.6 and no optimized instruction is used. The code generated with the native gcc 4 compiler will not work on PS2 Linux 2.4 or 2.2, because the emulation is there missing. Note: I didn't change anything in Debian 5 including GCC 4 and it is now working with Linux 2.6; you downloaded the unchanged offical packets from Debian. Some people already tested Debian 5 with Linux 2.4 and it was not working. The code generated by the gcc 4 cross compiler would work with Linux 2.4 and 2.2, because I modified it, but you will not be able to compile anything, because unsupported instructions will not work. The libc is heavily based on unsupported instructions. The cross compiler can only be used for Linux kernel or other self contained stuff.
@Mega Man
Ok, I understand now. Well, its forward only then. I show 27496K total free mem in top, with 16900K used, 10596K free after turning off a few unwanted services. Of used, 2732K buffers and 9420K cached. This should leave plenty of room for a graphical desktop (given that the frame buffer driver can be built). So overall, it looks very promising memory-wise. I'll take a look at building a loop file out of what I have and try to run it over SMB on a Slim. Once again, amazing stuff!Quote:
The code generated with the native gcc 4 compiler will not work on PS2 Linux 2.4 or 2.2
EDIT - cifs filesystem not supported by kernel so will try nfs
@danielb
By setting two swaps and a swap priority of free VRAM over network file or usb file, you have basically a fast access extra memory. VRAM is 4MB (but of course some is used for video, right?) Audio processing has 2MB, and the IO processor has 2MB.Quote:
VRAM is only 4MB... we only can use swap.
@Mega Man
Can you clarify for me how the handover works from kernelloader running on the IO processor to the Debian kernel running on the EE processor? Doesn't the IO processor still run the IO-related processing and use most of its 2MB of memory?
But this may be no big deal right now, given that we don't have graphics programs yet which hog memory, and memory use can be quickly tweaked to about 7MB right after boot-up and login (without running other programs).
@ Mega Man
Did you see this post on SP193 figuring out read/write DMA for smap driver for PS2?
http://psx-scene.com/forums/f19/new-...31/#post900538
Just mentioning it in case the source would be useful to you in getting more network speed.
Yes, I saw it. Some day I will add support to Linux 2.6 or Linux 2.4.