Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on PS3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 19, 20, 21  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Mon Mar 12, 2007 9:09 pm    Post subject: Reply with quote

sub_zero wrote:
Does anyone know what development is actually being done with lu_zero's overlay or on how to compile a kernel for the ps3? The 2.6.21 kernel is supposed to have a lot of upgraded functionality for the ps3 system, it'd be nice to be able to actually use it.


I would also like to know how to compile the kernel manually, like what options to use and so, or maybe even genkernel options for cell-sources, or whatever kernel is the best one for the PS3.

Also, another question... How good would a PS3 work as a workstation or a server? Is the amount of memory (256MB) too low? It feels very tempting selling my two towers and buying two more PS3's.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
gnoobie
n00b
n00b


Joined: 06 Feb 2007
Posts: 3
Location: Herndon, VA

PostPosted: Thu Mar 15, 2007 1:05 pm    Post subject: Reply with quote

Quote:
Posted: Mon Mar 12, 2007 4:09 pm Post subject:

--------------------------------------------------------------------------------

sub_zero wrote:
Does anyone know what development is actually being done with lu_zero's overlay or on how to compile a kernel for the ps3? The 2.6.21 kernel is supposed to have a lot of upgraded functionality for the ps3 system, it'd be nice to be able to actually use it.


I would also like to know how to compile the kernel manually, like what options to use and so, or maybe even genkernel options for cell-sources, or whatever kernel is the best one for the PS3.

Also, another question... How good would a PS3 work as a workstation or a server? Is the amount of memory (256MB) too low? It feels very tempting selling my two towers and buying two more PS3's.
_________________
Mozilla firefox, Abovetopsecret


I saw this, looks like someone gave him a PS3 to work on/with. Hopefully progress will continue in this matter I have been watching this with much anticipation as well....I haven't got my ps3 yet due to the cost not yet justified with the lack of spe/ppe optimizations and sony's blocking of the gpu...
Back to top
View user's profile Send private message
gnoobie
n00b
n00b


Joined: 06 Feb 2007
Posts: 3
Location: Herndon, VA

PostPosted: Thu Mar 15, 2007 1:06 pm    Post subject: Reply with quote

http://planet.gentoo.org/developers/lu_zero
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Fri Mar 16, 2007 4:58 pm    Post subject: Reply with quote

Thanks, just checked that site. I know what settings to use for the kernel but now I see that cell-sources is stuck at 2.6.19 on ppc64. Has it been discontinued? Am I supposed to go Vanilla or Gentoo patchset?

edit:

Couldn't find this file... ps3pf_defconfig

Damn, all I want is to play x264 720P files. Mplayer stutters and VLC totally chokes.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
Clete2
Guru
Guru


Joined: 09 Aug 2003
Posts: 530
Location: Bloomington, Illinois

PostPosted: Sun Mar 18, 2007 3:31 am    Post subject: Reply with quote

Has anyone found a good way to benchmark the PS3? I was going to hdparm to check out the HDD but I want to benchmark the SPUs (I know they are specialized) as well as the RAM and the processor. I guess it is impossible to benchmark the GPU since we don't have access to it...
_________________
My Blog
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Mon Mar 19, 2007 12:40 pm    Post subject: Reply with quote

Something I'm unsure you noticed:
Quote:
gcc
Our trusty compiler, built for generating PPC Linux binaries for the PPE. Use the -m64 switch to generate 64-bit executables.
spu-gcc
This is also our trusty compiler, but this one generates code for the SPEs.
embedspu
This is a special tool that converts SPE programs into an object file that can be linked into a PPE executable. It also creates a global variable that refers to the SPE program so that the PPE can load the program into the SPEs and run the program as needed. To embed into 64-bit PPC programs, use the -m64 flag.

from http://www-128.ibm.com/developerworks/power/library/pa-linuxps3-1?ca=dgr-lnxw16PALinuxPS3-1

and you may find interesting http://www-128.ibm.com/developerworks/power/library/pa-linuxps3-2/?ca=dgr-lnxw16PALinuxPS3-2 also...
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Mon Mar 19, 2007 12:40 pm    Post subject: Reply with quote

Found this guide: http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html . Can't get ps3linux from git repository (2.6.21-rc4) to compile though.

Quote:

CC drivers/video/logo/logo_linux_clut224.o
drivers/video/logo/logo_linux_clut224.c:548: error: logo_linux_clut224_clut causes a section type conflict
drivers/video/logo/logo_linux_clut224.c:11: error: logo_linux_clut224_data causes a section type conflict
make[3]: *** [drivers/video/logo/logo_linux_clut224.o] Error 1
make[2]: *** [drivers/video/logo] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2


edit:

Ok, so I disabled the Boot logo, compiled and created an initrd with mkinitrd but it doesn't boot. It gets stuck at the kboot prompt and I have to use the powerswitch at the back. I just need uinput compiled into the kernel so I can use my Wiimote. I already compiled Cwiid and I have bluetooth working.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
smokerbag
n00b
n00b


Joined: 19 Mar 2007
Posts: 7

PostPosted: Mon Mar 19, 2007 8:22 pm    Post subject: Reply with quote

Quote:

Ok, so I disabled the Boot logo, compiled and created an initrd with mkinitrd but it doesn't boot. It gets stuck at the kboot prompt and I have to use the powerswitch at the back. I just need uinput compiled into the kernel so I can use my Wiimote. I already compiled Cwiid and I have bluetooth working.


That's interesting. I used the same repository and was able to compile a bootable kernel. What compiler did you use to build it? The only problems I found was that this tree does not include the audio driver, but I'm working on a patch for that. There was also an issue with udev hanging on reboot.
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Tue Mar 20, 2007 5:38 am    Post subject: Reply with quote

smokerbag wrote:
Quote:

Ok, so I disabled the Boot logo, compiled and created an initrd with mkinitrd but it doesn't boot. It gets stuck at the kboot prompt and I have to use the powerswitch at the back. I just need uinput compiled into the kernel so I can use my Wiimote. I already compiled Cwiid and I have bluetooth working.


That's interesting. I used the same repository and was able to compile a bootable kernel. What compiler did you use to build it? The only problems I found was that this tree does not include the audio driver, but I'm working on a patch for that. There was also an issue with udev hanging on reboot.


"#gcc-config -l" shows "[1] powerpc-unknown-linux-gnu-4.1.1 *"

I would also like to try cell-sources but I don't know what settings to use for that.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
smokerbag
n00b
n00b


Joined: 19 Mar 2007
Posts: 7

PostPosted: Tue Mar 20, 2007 5:45 am    Post subject: Reply with quote

RaZoR1394 wrote:


"#gcc-config -l" shows "[1] powerpc-unknown-linux-gnu-4.1.1 *"

I would also like to try cell-sources but I don't know what settings to use for that.


If you're using a 32 bit userland I believe you need to use a 64 bit compiler to compile the kernel. If you emerge gcc-powerpc64 it will give you a nice alias you can set to make kernel compiles much easier.
Back to top
View user's profile Send private message
Crymson
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 200
Location: Flagstaff, AZ

PostPosted: Tue Mar 20, 2007 6:27 pm    Post subject: Reply with quote

kevintshaver wrote:
hans030390 wrote:
What else should I get? I was thinking about some emulators and such. Any good ideas?.


I've used these emulators on the PS3: fceultra, snes9express, and xmame (with gxmame frontend). Stella should work too.


I've got fceu and snes9x installed on my machine, but the sound is horribly choppy and broken. I've kept up on all the updates to ALSA, and I'm thinking that it is simply a problem with the programs themselves, but I was curious if anyone has managed to get the sound in those particular emulators to work.

If so, what's your make.conf? Is there some other kind of magic I need to wield to make it perform as expected?

Thanks for any input.
_________________
Knowledge is Power // Power Corrupts // Study Hard // Be Evil
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Tue Mar 20, 2007 8:39 pm    Post subject: Reply with quote

Thanks for answering my post.

smokerbag wrote:
RaZoR1394 wrote:


"#gcc-config -l" shows "[1] powerpc-unknown-linux-gnu-4.1.1 *"

I would also like to try cell-sources but I don't know what settings to use for that.


If you're using a 32 bit userland I believe you need to use a 64 bit compiler to compile the kernel. If you emerge gcc-powerpc64 it will give you a nice alias you can set to make kernel compiles much easier.


Yes I use 32bit userland and I get this:

Quote:

#colonial1 ~ # emerge -av gcc-powerpc64

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-powerpc64-3.4.4 26,920 kB

Total: 1 package (1 reinstall), Size of downloads: 26,920 kB


So "gcc" is selected but how do I select "gcc-powerpc64"? Do you think I should try the compiler from testing branch?

Quote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] sys-devel/gcc-powerpc64-4.1.1 [3.4.4] USE="altivec%*" 38,254 kB

Total: 1 package (1 upgrade), Size of downloads: 38,254 kB

Would you like to merge these packages? [Yes/No]


Seems like it has altivec optimizations. Must be good, right?
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
smokerbag
n00b
n00b


Joined: 19 Mar 2007
Posts: 7

PostPosted: Tue Mar 20, 2007 11:27 pm    Post subject: Reply with quote

Quote:


So "gcc" is selected but how do I select "gcc-powerpc64"? Do you think I should try the compiler from testing branch?



I have my whole system switched to the testing branch. In fact I think you probably need the 4.1.1 powerpc64 compiler to build a bootable kernel. To make kernel builds easier I have the following in my .bash_profile:
alias powerpc64make='make ARCH=powerpc CROSS_COMPILE=powerpc64-unknown-linux-gnu-'

then in the kernel directory you can do powerpc64make <target>
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Fri Mar 23, 2007 11:43 am    Post subject: Reply with quote

I have sucess on Flash Plugin for Firefox (Bon Echo) ... very fast then Gnash (100% CPU usage, this uses OpenGL) very more compatible then GPLflash...
The key is SWFDEC:
http://swfdec.freedesktop.org/wiki/

I found some ebuilds for SWFDEC, but it wont compile... but using configure/make/install this works fine:

This works with Youtube, some gliches on sound... but works fine... for this works you need to compile with --prefix=/usr both swfdec and swf-mozilla .... :wink: :lol: :lol: :lol: :lol:
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Wed Mar 28, 2007 7:58 pm    Post subject: Reply with quote

ATT wrote:

Formatting root filesystem and swap+ etc section
mkfs.ext3 -j /dev/sda1
works but what i see here
the guide reports nke2fs 1.3x (29 May-2006) ===== i get 1.38 30 june 2005 :roll:
on to the issue
when i enter mkswap /dev/sda2 tells me
/init: eval: 1: mkswap: not found

anyone know what's going on maybe i used some old otheros.bld ? i got it from http://dl.qj.net/otheros.bld-for-Gentoo-Linux-PlayStation-3/pg/12/fid/12187/catid/514

well check back later hope you guys can help me
g2g cooking hen soup :wink:


I'm having the very same problem. Can anyone advise me how to get passed this and get the install to work?. Everything up to the 'mkswap /dev/sda2' command works as per the instructions.

I'm using this livecd http://planet.gentoo.org/developers/ranger/2007/03/18/new_xfce4_ps3_livecd
Back to top
View user's profile Send private message
tokka
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 99

PostPosted: Thu Mar 29, 2007 10:40 am    Post subject: Reply with quote

OK, my current project is finally sorted, I can spend some time on the PS3 and gentoo again - wooo!

Apologies for disappearing like that.

Right, first off...

The instructions at http://dl.qj.net/.

DO NOT follow them, they are a flawed rehash of mine and a couple of other peoples notes and as they were incomplete when they were posted they are unlikely to be useful now.

The official documentation for installing Gentoo is at http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3

You can get help on IRC at gentoo-ppc64, but be aware that that you may just be pointed towards the above documentation if you are following older docs:)

I've just pulled the plug on my stage4 tarballs, they date back to early December and have been made redundant by the official stage4 ones (on the Gentoo mirrors under the experimental directory).

I'm not sure of the current state of the PS3 toolchain on Gentoo, I'll do a new install tonight and see if there are any wrinkles and get the documentation updated.


Last edited by tokka on Thu Mar 29, 2007 2:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Thu Mar 29, 2007 11:43 am    Post subject: Reply with quote

Which Gentoo version should I now download and from where in order to follow your instructions?

Thanks
Back to top
View user's profile Send private message
tokka
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 99

PostPosted: Thu Mar 29, 2007 1:19 pm    Post subject: Reply with quote

sneeks wrote:
Which Gentoo version should I now download and from where in order to follow your instructions?

Thanks


Hi.
There are complete instructions at:

http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3

Those docs will point you to where you can download a install CD, and a Stage4 tarball. As all PS3 hardware is the same, most people should be OK with a Stage4. It's not for everyone, heck some people still do x86 Stage1 installs, but as compilation is so slow on the PS3 a stage4 (unless you have a specific reason not to use it is) probably the best way to go.

The only complication is you need to decide if you want a 32bit or an 64bit install:)

32bit gives you arguably better desktop support(if you want to treat your PS3 as a desktop machine), and also means that you can easily install/compile applications like homebrew developed on other PS3 Linux distributions like Fedora.

64bit enables you to look down on 32bit users with scorn:) And long term as applications become cell optimised may be be preferable.

I use only 64bit:)
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Thu Mar 29, 2007 1:42 pm    Post subject: Reply with quote

Thanks for the help, I'll download those now. In your earlier post you said "I've just pulled the plug on my stage4 tarballs, they date back to early December and have been made redundant by the official stage4 root." Should I download the tarball or can you point me in the right direction of what I need?
Back to top
View user's profile Send private message
tokka
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 99

PostPosted: Thu Mar 29, 2007 2:50 pm    Post subject: Reply with quote

From:
http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3

Quote:

You can find the tarball on the Gentoo mirrors under the experimental directory. To find a mirror near you, use this url: http://www.gentoo.org/main/en/mirrors.xml. You can download the stage4 now and store it somewhere locally or download it later during the install.
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Fri Mar 30, 2007 7:49 pm    Post subject: Reply with quote

How long will 'emerge' kde' take to compile? I've read horror stories stating it can take 1.5 days. Other people here seem to have it up and running in a night so thought I'd ask first. I gave up with Gnome when after 6 hours it was still nowhere near completion. IS there a quicker way of setting up a good GUI?
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Fri Mar 30, 2007 9:46 pm    Post subject: Reply with quote

Help :)
I installed everything as explained on the overlays site,but i cannot boot my new linux, i still boot on the old kboot.conf
I've set label through e2label and etc ...
and when i reboot, i still don't have my new OS.
What could i have forget ?
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Fri Mar 30, 2007 9:51 pm    Post subject: Reply with quote

i used the cdonly otheros.bld from the livecd.
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Fri Mar 30, 2007 9:57 pm    Post subject: Reply with quote

I had a similar problem but after following the final step in this guide beginning from '/etc/rc.conf' it then booted into the basic xsm

http://ps3wiki.qj.net/index.php/Gentoo_Howto#Adding_xdm_to_default_run-level:

Alternatively is it saying your bootloader is only suitable for running the cd? If so then you need to alter this to another loader within the PS3 menus.

EDIT:

On reading your second message I'd guess you need to change the loader to the default version and not cdonly.
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Fri Mar 30, 2007 10:04 pm    Post subject: Reply with quote

hans030390 wrote:
I'm having a problem booting into Gentoo. I've lightly used Gentoo/Ubuntu before, but I've only installed it from live cds (which are really easy).

This is the guide I followed (and I followed it exactly!): http://ps3wiki.qj.net/index.php/Gentoo_Howto

I did everything it said, but now when it tries to boot into Gentoo, the first thing it says is:

/init: eval: 1: Gentoo: not found

Like I said, I followed the above guide EXACTLY, especially so that my kboot.conf and fstab were just like in the guide (aside from things next to #).

What do I need to do?


same here ... :/
Found solution ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 19, 20, 21  Next
Page 14 of 21

 
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