Author Topic: Linux On Ps3 And Psp!  (Read 5212 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Linux On Ps3 And Psp!
« on: January 23, 2007, 09:02:43 am »
Thanks to Tyrannozaurus.com for pointing out that uCLinux is now running on the PSP, now with frambuffer and SDL support!

http://df38.dot5hosting.com/~remember/chris/

As you can see from dmesg, the PSP only packs a measley 2.42 Bogomips which makes the PS3's 158.72 and a (non-overclocked!) SL-CXX00's 400+ Bogomips look really damn impressive! But this I don't understand, I thought that the PS3s Cell CPU was supposed to be on a par with at least a 1Ghz G4 CPU and surely they manage more than 158 bogomips? I understand this score doesn't take account of the Cells many co-pro's or whatever Sony are calling them but how can my Zaurus be 3 or 4 times faster than a PS3 (if I overclocked it), even if this is just at integer calcs?
« Last Edit: January 23, 2007, 09:24:27 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Linux On Ps3 And Psp!
« Reply #1 on: January 23, 2007, 10:23:57 am »
impressive

if ONLY the psp had a touchscreen

... and higher res


... and bluetooth, and more memory, and a keyboard, THEN it'd be a Z killer
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #2 on: January 23, 2007, 01:58:35 pm »
Quote
impressive

if ONLY the psp had a touchscreen

... and higher res


... and bluetooth, and more memory, and a keyboard, THEN it'd be a Z killer
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152154\"][{POST_SNAPBACK}][/a][/div]

Don't forget USB 2.0 host and SD/CF slots (they're cheaper than Sony's formats)!
« Last Edit: January 23, 2007, 01:59:02 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Linux On Ps3 And Psp!
« Reply #3 on: January 23, 2007, 05:15:25 pm »
awwww MAN!  Sweet...

DOWN WITH SONY!
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Linux On Ps3 And Psp!
« Reply #4 on: January 24, 2007, 05:47:54 am »
actually that is a very wierd resault, 2.34 or whatever is just crazy, me thinks somthing hasent been set up properly (perhaps cpu scaling, perhaps theintro stuff they have clocks down when not doing anything)

note the lack of driver stuff  seems he only got the led working. also uclinux is nice but i really like a mmu for several reasons, but i could be misinformed about that (mainly security reasons but perhaps there can be some sort of workaround to prevent apps snooping on each other, not that its reall required but i do like security )

i wonder if the ps3 downclocks as well, i havent double checked you figures however. perhaps it is running with debugging options and not optimised, that would really knock the performance down on some things. also compiling for an older architecture can sometimes inccur a performance hit.

i cant remeber the exact instruction however i belive that ARM processors had an intsruction that hada penelty that was not present in the earlier versions, but grain of salt without varificatoin and double checking (i mean i am remebering this from memorie wihch is "short term" at the best of times)

another thing is what does bogomips mean? well its a mesure of how many times a second you can do "nothing", its used as a calabration loop by the kernel for timing and such. perhaps in this kernel it dosent use a nop but a sleep instead and gets woken by the timer, that really seems like it would fit with the "get it to work no matter what" that people try before relasing

well that was my $10 for the discounted rate of $0.02
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Linux On Ps3 And Psp!
« Reply #5 on: January 24, 2007, 05:50:05 am »
looks like my optimisation bits were correct to a certin extent

CC = mipsel-uclibc-gcc
CFLAGS += -O0 -static -elf2flt -static-libgcc -lpthread -msoft-float
LDFLAGS += -O0 -static -elf2flt -static-libgcc -lpthread -msoft-float
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #6 on: January 24, 2007, 12:53:04 pm »
Da_Blitz / Meanie:

Have you guys ever met up for a super Z geek out or have you ever met at a Sydney LUG meeting? Whom else have you amongst the prominent members of the Sydney LUG, if either of you is a member?
« Last Edit: January 24, 2007, 12:53:42 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #7 on: January 24, 2007, 12:55:03 pm »
<--- post 486, almost Top 50 material  
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Linux On Ps3 And Psp!
« Reply #8 on: January 24, 2007, 01:25:52 pm »
Quote
actually that is a very wierd resault, 2.34 or whatever is just crazy, me thinks somthing hasent been set up properly (perhaps cpu scaling, perhaps theintro stuff they have clocks down when not doing anything)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152224\"][{POST_SNAPBACK}][/a][/div]

he did say that he hadn't enabled the cache; I would guess in arm cpu that'd make a huge difference. I imagine too that the PSP is going to be very dependent on coprocessor chips to accelerate the graphics and sound..

I was very impressed how they managed to write a useable text editor on the PSP using only the gaming buttons!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Linux On Ps3 And Psp!
« Reply #9 on: January 25, 2007, 06:46:32 am »
i still wonder about that low performance, probelly somthing bizare or mundane

still bogomips rely on nop's which are normally one cycle so thats why they follow clockspped quite closly (ecept for x86 which is 2x but not 2x performance scince its a mesure of "no operation")

i have been thinking of going to a Sydney lug meeting, anyone else frome here go at all?
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

stampsm

  • Full Member
  • ***
  • Posts: 133
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #10 on: January 31, 2007, 02:34:03 am »
remeber that the processor's clock speed on the psp is software configurable, so most likely it starts out at a slow base speed and has to be changed to a higher speed by the software(firmare). the guy who did this might not have taken this into account.

this is the only thing i can think of that would cause such a poor performance
SL-5600 pxa250
256 mb lexar sd
netgear cf 802.11b card

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #11 on: January 31, 2007, 03:17:34 am »
stampsm:

Yes, you're probably right about that, but what of the PS3's piffling 158 bogomips?

There are some nbench results running on the PS3 here

http://type-x.ddo.jp/pukiwiki/index.php?%A...%C6%A5%B9%A5%C8

and here

http://matsuu.blogspot.com/search/label/ps3

Although I'm not entirely sure whats going on there as why are the scores much higher for the 'old index' Pentium 90 compared to the new index of a AMD K6/233?
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

stampsm

  • Full Member
  • ***
  • Posts: 133
    • View Profile
    • http://
Linux On Ps3 And Psp!
« Reply #12 on: January 31, 2007, 03:49:40 am »
Quote
stampsm:

Yes, you're probably right about that, but what of the PS3's piffling 158 bogomips?

There are some nbench results running on the PS3 here

http://type-x.ddo.jp/pukiwiki/index.php?%A...%C6%A5%B9%A5%C8

and here

http://matsuu.blogspot.com/search/label/ps3

Although I'm not entirely sure whats going on there as why are the scores much higher for the 'old index' Pentium 90 compared to the new index of a AMD K6/233?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153002\"][{POST_SNAPBACK}][/a][/div]

probably something to do with the old processors not having a FPU so they might not be benchmarked on it while newer processors have one. the code might not be using the FPU and doing the calculations the hard way.  
« Last Edit: January 31, 2007, 03:51:16 am by stampsm »
SL-5600 pxa250
256 mb lexar sd
netgear cf 802.11b card

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Linux On Ps3 And Psp!
« Reply #13 on: February 01, 2007, 12:40:41 am »
Quote
Da_Blitz / Meanie:

Have you guys ever met up for a super Z geek out or have you ever met at a Sydney LUG meeting? Whom else have you amongst the prominent members of the Sydney LUG, if either of you is a member?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152264\"][{POST_SNAPBACK}][/a][/div]

Sydney LUG? why would I want to hang out with a bunch of geeks when I could be enjoying a movie with my girlfriend instead?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Linux On Ps3 And Psp!
« Reply #14 on: February 01, 2007, 03:48:16 am »
perhaps the idea of the main processor was only to keep the child processor fed? therefore not much performance is needed (as the calculation part iis supposed to be offloaded)

i wonder how it would do in a data shuffling experiment, i bet that processor kicks the intel chip when it comes to moving data around.

wouldnt supprise me as tehy are designed as computaion power houses and not data shufflurs
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware