You are seeing a copy of a topic from forum.ps2dev.org.  Only the page numbers works, the other links point to the original forum.

Click HERE to go back to index of psq2dev mirror.
Click HERE to go back to PlayStation®2 Linux website.

Link to original post: http://forums.ps2dev.org/viewtopic.php?t=10156&start=60
forums.ps2dev.org :: View topic - ps2 linux on usb memory
forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ps2 linux on usb memory
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sun Jul 20, 2008 10:23 am    Post subject: Reply with quote

devilinside128 wrote:

could you put the download link?, what happens in official home page in this remodeling, or something like that. thanks


http://sourceforge.net/project/showfiles.php?group_id=223793&package_id=283875&release_id=613023
Back to top
View user's profile Send private message Visit poster's website
noobiePS2



Joined: 21 Jul 2008
Posts: 1

PostPosted: Mon Jul 21, 2008 9:07 am    Post subject: Reply with quote

hello to everybody i'm new....

I got ps2 slim with freevast/McBoot 1.5 so i was wondering if there's a way to have Linux via a LIVE CD / DVD distro or to have
a distro to launch thru my 4 giga pendrive or my 2 giga pendrive.....

So i was also wondering if there's a tutorial or maybe it's too soon
for McBoot users.....

Thanks in advance LOL

:)
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Tue Jul 22, 2008 5:22 am    Post subject: Reply with quote

noobiePS2 wrote:

I got ps2 slim with freevast/McBoot 1.5 so i was wondering if there's a way to have Linux via a LIVE CD / DVD distro or to have
a distro to launch thru my 4 giga pendrive or my 2 giga pendrive.....

So i was also wondering if there's a tutorial or maybe it's too soon
for McBoot users.....


This doesn't depend on the ELF loader, you use. Everything you need to know is contained in this thread. On installation you will encounter Linux problems and not PS2 problems.
I will not write a tutorial for slim PSTwo, because I don't have a PSTwo and there are too many possibilties for the root file system and partitioning (USB memory stick/hard disc/cdrom/cdrw, USB Bluetooth, USB firewire, EXT2, EXT3, VFAT, ReiserFS, NFS, initrd, ISO9660, AFS, PFS, mcfs, DHCP, BOOTP, PPPoE, blackrhino, gentoo and many more).
Somebody who have the slim PSTwo needs to write it and test which is the best and what is working.

A live Video DVD distribution will not work, because rom1:EROMDRV is removed on V15 and I don't know which file I need to load:
EROMDRVA EROMDRVC EROMDRVE EROMDRVJ EROMDRVM EROMDRVO EROMDRVR EROMDRVU
Back to top
View user's profile Send private message Visit poster's website
dirsors



Joined: 04 Mar 2008
Posts: 17
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Jul 22, 2008 11:44 am    Post subject: Reply with quote

MegaMan, thanks for help. Using another keyboard solved the issue, and now kloader works great. Thankyou again!
Back to top
View user's profile Send private message
yoshi314



Joined: 26 Jul 2008
Posts: 39

PostPosted: Sat Jul 26, 2008 11:23 pm    Post subject: Reply with quote

Quote:
A live Video DVD distribution will not work, because rom1:EROMDRV is removed on V15 and I don't know which file I need to load:
EROMDRVA EROMDRVC EROMDRVE EROMDRVJ EROMDRVM EROMDRVO EROMDRVR EROMDRVU
somebody on psx-scene forums discovered that slim ps2 carries multiple dvd player encrypted files, for each region - named in similar manner.

i assume you need to load e.g. EROMDRVE to acces DVDPLE (european dvd player region). you might get extra help on psx-scene forums with that.


thanks for blackrhino image. i got kinda scared that the site went down. i'm hoping to update it using chewi's gentoo-ps2 patchset in a few weeks.

i'm not sure about EROMDRVR, as i'm not familiar with such region code.
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Thu Jul 31, 2008 6:10 am    Post subject: Reply with quote

yoshi314 wrote:
somebody on psx-scene forums discovered that slim ps2 carries multiple dvd player encrypted files, for each region - named in similar manner.


This is very interesting and it makes sense. I will include code that will use ROMVER to detect the region (this is normally used to detect NTSC or PAL).

I am currently trying to get my next release stable.
After some changes there is a problem with USB. It seems that USB is only working when using RTE modules or don't load any module.

dirsors, can you use your not working keyboard and disable all modules and check if this is working? I just want to know if this bug was already in the last release.
Back to top
View user's profile Send private message Visit poster's website
CyberVoyager



Joined: 30 Jul 2008
Posts: 4

PostPosted: Fri Aug 01, 2008 3:08 pm    Post subject: Don't know how to start the GUI Reply with quote

Hello,

I booted using Kernelloader and the blackrhino "vmlinux.ker" file as the kernel(the file is from the Blackrhino RTE CD), and with initrd disabled.

After booting I was at a prompt and with the text above saying that / is readonly and I could use mount to make it writable.

I can switch to / and list the files on my Hdd, whose files were copied from a Linux PC, as well as excuting some text programs such as editor, but I can't find a way to boot a GUI desktop like Window Maker, X Window or something. The Blackrhino Distribution was about 20.8 MB.

Is it true that this distribution doesn't have a gui or have I missed something? Or have my text Linux have already been successfully installed?

And how to get a GUI running on the PS2 without buying Sony Linux Kit DVDs?

Thank you very much.

P.S. The following is what I did in detail:------------------------------------

I have the the thick ps2 and an internal hdd(Samsung 40G).

I failed fdisk the hdd using the kernelloader run from LaunchElf, and I did the steps in the tutorial on a Linux running on a PC:

I fdisked the Hdd into a 128MB Swap and the rest space the Ext2 filesystem.

did mkswap the /dev/hda1
did mke2fs the /dev/hda2

And I uncompressed everything using "tar" from the blackrhino_baseimage-1.0.tar.gz to the root directory of the Samsung HDD's ext2 partition

And I booted using kernelloader as described above.

Finally I was at the prompt and couldn't find a way to boot GUI.
Back to top
View user's profile Send private message
yoshi314



Joined: 26 Jul 2008
Posts: 39

PostPosted: Fri Aug 01, 2008 5:59 pm    Post subject: Reply with quote

Quote:
Is it true that this distribution doesn't have a gui or have I missed something? Or have my text Linux have already been successfully installed?
blackrhino tarball provided a minimal system with the most necessary tools. the rest of software was supposed to by downloaded by the user via apt-get from blackrhino servers.

since the servers are down, we can only try to build our own packages. i'm currently reading on cross-compiling. i'm trying to use ps2sdk together with blackrhino base to make something useful and more up-to-date for ps2. but that'll take some time.

by the way, i was wondering - would it be possible to make a more stripped down version of the kernelloader, that would accept a default config file and instantly start the kernel, without the fancy GUI?
Back to top
View user's profile Send private message
CyberVoyager



Joined: 30 Jul 2008
Posts: 4

PostPosted: Sat Aug 02, 2008 1:11 am    Post subject: How to get a GUI for Blackrhino base image Reply with quote

Since the blackrhino server is down, the apt-get doesn't work any more.

I wonder if I can get graphical user interface compiled for Blackrhino somewhere on the web. If you know a link to get it please post it here.

If it's not possible to find one I wonder if I can get a tutorial on cross-compiling the source code into Blackrhino executables, since the KDE source code is available.

Thanks.
Back to top
View user's profile Send private message
yoshi314



Joined: 26 Jul 2008
Posts: 39

PostPosted: Sat Aug 02, 2008 2:09 am    Post subject: Reply with quote

Quote:
If it's not possible to find one I wonder if I can get a tutorial on cross-compiling the source code into Blackrhino executables, since the KDE source code is available.
kde is unreasonable for ps2. it has only 32mb of ram. maybe older kde was less ram-hungry, but now things are different.

i'd recommend wmaker/fluxbox instead.
Back to top
View user's profile Send private message
CyberVoyager



Joined: 30 Jul 2008
Posts: 4

PostPosted: Sat Aug 02, 2008 6:50 pm    Post subject: Can anyone tell me how to install a WindowMaker? Reply with quote

I have found a WindowMaker.deb file and I thought the architecture of the ps2 cpu was MIPS and the MIPS version of this file would work in Blackrhino, but when I copied the file there and used dpkg to install it it said the architecture "MIPS" doesn't meet with the system ee". And when I searched for ee versions of wmaker I didn't find anything.

If you know a place to download the ee version of WindowMaker or a method to compile WindowMaker source code into ee please tell me.

Thank you very much.
Back to top
View user's profile Send private message
CyberVoyager



Joined: 30 Jul 2008
Posts: 4

PostPosted: Sun Aug 03, 2008 2:03 am    Post subject: P.S. Reply with quote

P.S.

Downloading place of any graphical desktop environment for the ps2 is appreciated.

Thanks.
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sun Aug 03, 2008 10:47 am    Post subject: Reply with quote

yoshi314 wrote:
would it be possible to make a more stripped down version of the kernelloader, that would accept a default config file and instantly start the kernel, without the fancy GUI?


This was already requested and was added to the CVS. You can select an auto boot time. I uploaded a new release at:

http://sourceforge.net/project/showfiles.php?group_id=223793

This is the offical version with slim PSTwo support. You need to select a rpc type interrupt module. Normally this would be "host:TGE/intrelay-direct-rpc.irx". The default "host:TGE/intrelay-direct.irx" needs then to be disabled.
I fixed the EROMDRV stuff. It also supports to extract the modules and SBIOS from Sony's Linux Kit DVD 1. So you can get for example DMA support by using mc0:kloader/dmarelay.irx. If you select the RTE SBIOS, you will get sound support, but loose CD/DVD support and slim PSTwo support.
Back to top
View user's profile Send private message Visit poster's website
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Mon Aug 04, 2008 1:10 am    Post subject: Reply with quote

@Megaman - Thanks for the new release's autoboot feature. Makes bootup a "start and go to the kitchen for a beer, come back and login" experience (ULE is set to autostart kloader).

I have a kit and have compiled RTE, and just wanted to note that in using the Ubuntu 8.04 VMWare image (the only way to compile for PS2 in Windows Vista reliably - cygwin and mingw do not work for me), I had to change two lines in loader/Makefile to get it to compile properly:

In this section:
rominitialize.h: $(RGBFILES)

I changed the two lines containing the 3:3 -->
if [ "$${file: -3:3}" = "rgb" ]; then \
TO -->
if [ `echo $$file | cut -f2 -d'_'` = "rgb" ]; then \

For your mention of DMA, I can use the kit to get UDMA to show in the logs for my hard drive when the kit loads, but only PIO for kernelloader/RTE. Additionally the sound driver only shows the 32 bit DMA version in the log under the Sony kit loading. Is there a way to get kernelloader to load the DMA drivers? Maybe I'm missing a setting?
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Mon Aug 04, 2008 8:28 am    Post subject: Reply with quote

deba5er wrote:

For your mention of DMA, I can use the kit to get UDMA to show in the logs for my hard drive when the kit loads, but only PIO for kernelloader/RTE. Additionally the sound driver only shows the 32 bit DMA version in the log under the Sony kit loading. Is there a way to get kernelloader to load the DMA drivers? Maybe I'm missing a setting?


You need at least to load dmarelay.irx from RTE. The original Linux 2.2 supports it. Linux 2.4.17 uses a different dma driver (The rpc id is different. I already tried to change these numbers, but this is incompatible). Linux 2.4.17 was developed for the BB Navigator. The interface changed. I believe when you get the dmarelay.irx from the BB Navigator, it will work. But I don't tested this and I don't have the BB Navigator.
Sound is only working when DMA works. I just know it is working, but I don't look further which DMA version it uses. This could be also related to BB Navigator.
Back to top
View user's profile Send private message Visit poster's website
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Fri Aug 08, 2008 1:50 pm    Post subject: Reply with quote

Thanks. The sound driver shows the non-dma version when the RTE/dmarelay.irx is not loaded, and I use the blackrhino 2.2.21 kernel. I think you might find it interesting that I can get the blackrhino kernel to load with the RTE/dmarelay.irx when I use kernel parameter ide=nodma. This parameter is not accepted by the PS2 IDE driver, showing a ide_setup error, but it trips it into PIO mode, without disturbing the DMA access by the sound driver and the ethernet driver. At least the sound driver reports as 32 bit DMA, and the ethernet driver does not show the PIO mode. So the RTE/dmarelay.irx only fails to boot for me when trying to use DMA with the IDE driver. It still is slower than the booted RTE in that with the IDE in PIO mode, mplayer (compiled latest version) still has slight stutters in sound when playing .mpg and .flv samples (even in small window on screen), compared to the booted Linux RTE which doesn't. I'm no longer using the old RTE boot though because you've done such a good job and it is just too cool to be able to boot to ULE, pause for input, then autoboot through your loader to the Linux prompt. Can't do that with the kit dvd ;-) Let me know if you want tar.gz dillo 086, xmms, wmaker, openssh, etc.
PS getting the dmarelay.irx from the bbnav might be difficult due to encrypted .PAK files. Anyone who knows otherwise?
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Aug 09, 2008 9:23 am    Post subject: Reply with quote

deba5er wrote:

PS getting the dmarelay.irx from the bbnav might be difficult due to encrypted .PAK files. Anyone who knows otherwise?


The following side talks about pak and bbnav:
http://www.elotrolado.net/hilo_xploit-gt-mc0-beexec-system-osdmain-elf_855900_s60

The side is spanish. Maybe someone here can translate it. Google translator told me something about zip. You should try some unpacking tools like unzip. Did you tried the linux command "file"?
Back to top
View user's profile Send private message Visit poster's website
belek666



Joined: 14 Apr 2008
Posts: 21

PostPosted: Sun Aug 10, 2008 10:40 am    Post subject: Reply with quote

deba5er wrote:
Let me know if you want tar.gz dillo 086, xmms, wmaker, openssh, etc.

Deba5er, can you upload your tar.gz compiled mplayer?
Back to top
View user's profile Send private message
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Thu Aug 14, 2008 9:09 am    Post subject: MPlayer for PS2, wmaker, dillo-mod, pidgin, xmame106, xmms Reply with quote

@belek666 - Try this - http://www.4shared.com/dir/8728191/2a84ce3b/sharing.html

"ldd mplayer" shows 35 shared libs so you might want to make sure they are all there. You can either "make install" or just run from the main directory "./mplayer"

It is the latest version, and it is configured for X-Windows libraries.

OK I put all of my compiles up except the openssh5. A shame 4shared won't handle a larger than 100MB file, as I have lots of config and tweaking of various files for things like memory optimization, fixing backspace in dillo and pidgin apps, configuring wmaker prefs, dillo prefs, sudo stuff, scripts to start the least necessary to run x-windows. It would be neat to load a full partition backup tgz with all settings for a useable NTSC system. This gets around the massive shared library dependency issues you will undoubtedly encounter trying to install these things one at a time. I suppose for now, as questions come up, put on psx-scene forums and I'll see what I can provide.
Back to top
View user's profile Send private message
belek666



Joined: 14 Apr 2008
Posts: 21

PostPosted: Thu Aug 14, 2008 11:10 pm    Post subject: Re: MPlayer for PS2, wmaker, dillo-mod, pidgin, xmame106, xm Reply with quote

deba5er wrote:
@belek666 - Try this - http://www.4shared.com/dir/8728191/2a84ce3b/sharing.html

"ldd mplayer" shows 35 shared libs so you might want to make sure they are all there. You can either "make install" or just run from the main directory "./mplayer"

Thanks for mplayer. I tried run it but shows error. Maybe upload your tar.gz image partition.
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 316
Location: Portugal

PostPosted: Sat Aug 16, 2008 7:48 am    Post subject: Reply with quote

@deba5er,

I'm curious about the xmame-0.106-ps2.tar.gz, and since I don't have the ps2 linux installed, I ask : How's the performance of it, compared to the non-linux host only ps2mame?
Back to top
View user's profile Send private message Visit poster's website
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Sat Aug 16, 2008 11:10 am    Post subject: xmame 106 Reply with quote

ps2mame is much better as it uses the ps2pad, but is very quick. I notice it only works with older games. The xmame 106 was just to determine that the last x-windows version of mame was compileable (barely) on ps2-linux. It plays galaga and the like fine, but in a smaller x-window than the full-screen ps2mame. Of course this is right out of the box with no tweaks, just a couple mods to get it to compile and run. same thing with the newest pidgin is that it runs fine, but is slow. Dillo on the other hand is just fine, and in fact I'm writing this in dillo on the PS2 right now while xmms plays internet radio (Libertines) in the background with no slowness. This stuff may be off topic. I check psx-scene forums regularly, if you put these questions there in the PS2 General Discussion I will look there most days. Thanks as always to Megaman for making PS2-Linux available to the masses!
Back to top
View user's profile Send private message
Apolo8



Joined: 09 Sep 2008
Posts: 2

PostPosted: Tue Sep 09, 2008 6:41 pm    Post subject: vmlinuz - vmlinuz.devx Reply with quote

Where can I find those two...? VMLINUZ and VMLINUZ.DEVX

I,ve been on the site on sourceforge linked from the tut but I only see blackrhino , initrd , kloader and linux kernel source...

Stoped here right now...any help please...


Un Saludo...

Edit:


Last edited by Apolo8 on Wed Sep 10, 2008 1:31 am; edited 1 time in total
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 316
Location: Portugal

PostPosted: Tue Sep 09, 2008 10:50 pm    Post subject: Re: vmlinuz - vmlinuz.devx Reply with quote

Apolo8 wrote:
Where can I find those two...?

They are not part of the Mega Man linux but ps2mame is easy to find.
http://www.richpsx.com/playstation2/utilities/ps2mame.html
It was just the 1st hit using google. I think it's only NTSC.
Back to top
View user's profile Send private message Visit poster's website
Apolo8



Joined: 09 Sep 2008
Posts: 2

PostPosted: Wed Sep 10, 2008 1:35 am    Post subject: Reply with quote

Sorry...I,ve already edited my last post...what I was loocking for were vmlinuz and vmlinuz.devx...


Un Saludo...
Back to top
View user's profile Send private message
mazxim



Joined: 24 Jan 2008
Posts: 23

PostPosted: Thu Oct 16, 2008 11:32 pm    Post subject: Reply with quote

..after all this work, anyone out there who really understand what to do can upload an image for a pendrive capable to run complete decent linux environment, I mean GUI as fluxbox or so, basic tools etc.. capable to work on the PSTwos (ULE+KernelLoader+TheRest) ? It would be very nice.
Back to top
View user's profile Send private message Visit poster's website
mazxim



Joined: 24 Jan 2008
Posts: 23

PostPosted: Fri Oct 31, 2008 8:52 pm    Post subject: Re: vmlinuz - vmlinuz.devx Reply with quote

Apolo8 wrote:
Where can I find those two...? VMLINUZ and VMLINUZ.DEVX


..there you go
Back to top
View user's profile Send private message Visit poster's website
mazxim



Joined: 24 Jan 2008
Posts: 23

PostPosted: Fri Oct 31, 2008 11:43 pm    Post subject: again and again and.... Reply with quote

Some page ago it was said that for correctly mount usb pendrive, after all, we need this:

mount - r /dev/scsi/host0/bus0/target0/lun0/part2 /usb

BUT with the kernel provided by Mega Man for the ps2 slim issue about the keyboard, I can't see any /dev/scsi path. That test-kernel is the only one I can use with the keyboard. MegaMan.. please..
Back to top
View user's profile Send private message Visit poster's website
mazxim



Joined: 24 Jan 2008
Posts: 23

PostPosted: Wed Nov 05, 2008 4:33 am    Post subject: Reply with quote

So.. I'm here again, with a noob question. I still can't understand. I'm trying to compile the kernel (2.4.17) in an attempt to resolve the usb issue, follow the MegaMan's guide but nothing. Initially tried with Cygwin with a discrete headache as result. Now I'm on linux with toolchain pretty setup. Apparently It can't compiled with last gcc 3.2.2, with a "cast from pointer to integer" errors here and there.

Nevermind. The guide talk about using this versions of gcc and binutils:

https://playstation2-linux.com/files/ps2stuff/gcc-2.95.2-cross.tar.gz
https://playstation2-linux.com/files/ps2stuff/binutils-2.9EE-cross.tar.gz

but i'm unable to correctly setup these in the environment. Any step by step suggestion to compile the kernel?
Back to top
View user's profile Send private message Visit poster's website
bee7



Joined: 16 Nov 2008
Posts: 20
Location: Jakarta

PostPosted: Sun Nov 16, 2008 9:15 pm    Post subject: Re: again and again and.... Reply with quote

mazxim wrote:
Some page ago it was said that for correctly mount usb pendrive, after all, we need this:

mount - r /dev/scsi/host0/bus0/target0/lun0/part2 /usb

BUT with the kernel provided by Mega Man for the ps2 slim issue about the keyboard, I can't see any /dev/scsi path. That test-kernel is the only one I can use with the keyboard. MegaMan.. please..


i experience the same with my pstwo slim, the kernel is not fully functional, i think we need to modify the kernel so it load usb driver, anybody know how to do this? sorry im just noob :)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next
Page 3 of 16

 
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


Powered by phpBB © 2001, 2005 phpBB Group