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 

Is there a ps3sdk?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Jun 11, 2009 2:13 am    Post subject: Is there a ps3sdk? Reply with quote

I've seen mention of ps3sdk in the forums, but I don't see anything in SVN. Does it exist somewhere public? Thanks.
_________________
"He was warned..."
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jun 11, 2009 3:30 am    Post subject: Reply with quote

mrbrown!

There's a toolchain in svn, but there's no ps3sdk because it's just Linux. And even the toolchain isn't particularly useful, with most PS3 Linux distros already including the necessary ppu-gcc and spu-gcc packages.

There are some individual projects like python-ps3 that provide ps3-targetted libraries for game development in Linux.

A ps3sdk that mirrors Sony (like the ps2sdk and pspsdk) would be useful for homebrew development under gameos, but there's been very little hacking on that front, mostly because Linux is so readily available.
Back to top
View user's profile Send private message
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Thu Jun 11, 2009 4:12 am    Post subject: Reply with quote

A few of us (you can probably guess names) have talked about making a small microkernel which runs directly under OtherOS and exposes basic hardware (think around the complexity of the EE kernel). However I don't think anybody really has the drive to get this done right now, although it'd be an interesting project.

There are a group of people working on a linux based "standard platform" which should help developers. (It'll provide a standardized PC side toolchain, a standard way to load and package programs, and a standard set of libraries)
http://code.google.com/p/ouros it's looking promising, but still early days. I know they're working on optimized graphics libraries and such too...
Back to top
View user's profile Send private message Visit poster's website
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Jun 11, 2009 5:20 am    Post subject: Reply with quote

Right, I don't want to deal with Linux, I was thinking more along the lines of an SDK that dealt directly with the HV. So (out of curiosity), has anyone gotten anything to build or boot under the "gameos"?

The microkernel sounds interesting, but that wouldn't be anything I could assist with unfortunately. I was more trying to see what all was out there currently. Thanks guys.
_________________
"He was warned..."
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jun 11, 2009 6:14 am    Post subject: Reply with quote

Quote:
So (out of curiosity), has anyone gotten anything to build or boot under the "gameos"?

Nope, no native code on retail hardware.


Last edited by jimparis on Thu Jun 11, 2009 6:15 am; edited 1 time in total
Back to top
View user's profile Send private message
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Thu Jun 11, 2009 6:15 am    Post subject: Reply with quote

The whole point of "OurOS" is to reduce the amount of linux crap people have to deal with to get something running, but it's a way from being completed.

Me and emoon (mostly emoon) spent a little bit of time on the microkernel thing and got an ethernet program working directly under lv1 (though not released since it's crazily flakey), and there is the "OtherOS demo" which runs directly on lv1 without linux... The linux bootloaders will quite happily load a random elf from NFS which will run directly under lv1.

Most of us made a conscious decision a while ago to avoid trying to hack "GameOS" since it will only really bring piracy to the table.
Back to top
View user's profile Send private message Visit poster's website
Rex_VF5



Joined: 26 Dec 2007
Posts: 44

PostPosted: Sun Jun 14, 2009 8:42 am    Post subject: Reply with quote

Actually there is an original (Sony's) SDK for PS3 and it even appeared in the wild (I do not have it - just before you ask). It allows one thing current Linux-based SKDs won't do - access the GPU. However it is useless for you as it is intended for DEBUG/TEST machines (I don't have one either).The main problem is that without proper keys you are not able to sign the produced binaries and thus run them on (RETAIL) PS3 under GameOS.
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sun Jun 14, 2009 10:13 am    Post subject: Reply with quote

Why isnt the toolchain pre-compile for the machines then?
_________________
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
Back to top
View user's profile Send private message AIM Address
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Jun 14, 2009 11:26 am    Post subject: Reply with quote

Dariusc123456 wrote:
Why isnt the toolchain pre-compile for the machines then?


The toolchain here is a cross compiler and there's no way to know what the user will be using it on (linux32/linux64/win32/win64/bsd...). If you have a linux distro installed on the PS3, the linux toolchain for the PS3 will be in the distro's repo.
Back to top
View user's profile Send private message AIM Address
emoon



Joined: 18 Jan 2004
Posts: 91
Location: Stockholm, Sweden

PostPosted: Wed Jun 17, 2009 9:01 am    Post subject: Reply with quote

What I had running was a smallish program that ran directly as an "OtherOS" that setup a network driver and then you were able to execute an elf by sending it over with raw ethernet frames to the MAC address of the PS3.

As jbit said its very flakey and not really ready for release and currently I don't have that much motivation to work on it.

But if I would it would not be based on linux in any way as I dont want a ps3sdk that would enforce GPL upon people.
Back to top
View user's profile Send private message Visit poster's website
nbauernf



Joined: 18 Nov 2008
Posts: 13
Location: Carnegie Mellon University

PostPosted: Tue Jun 23, 2009 7:16 am    Post subject: Reply with quote

Emoon / Jbit: Are you writing your own microkernel, or are you extracting the extraneous things away from the regular linux kernel?

I am, in my rare spare time, working on writing an OS for the PS3 and your stuff has caught my eye but want to know if you're starting from the ground up, or if you're just making it easier for others to get started with linux brew on the PS3.

Thanks.
Back to top
View user's profile Send private message
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Tue Jun 23, 2009 7:22 am    Post subject: Reply with quote

nbauernf wrote:
Emoon / Jbit: Are you writing your own microkernel, or are you extracting the extraneous things away from the regular linux kernel?

I am, in my rare spare time, working on writing an OS for the PS3 and your stuff has caught my eye but want to know if you're starting from the ground up, or if you're just making it easier for others to get started with linux brew on the PS3.

Thanks.

Our stuff is pretty much dead ("back burnered"), we were writing from scratch though, since we dislike GPL code for this kind of thing.

What sort of stuff are you doing for the OS, drop by #ps3dev if you have some time for a chat, it might be interesting and we might be able to help or you might save some other guys some times. :)
Back to top
View user's profile Send private message Visit poster's website
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Mon Jun 29, 2009 9:33 am    Post subject: Reply with quote

I actually started working on an SDK a couple of months ago. It's not very useful
yet, but if there are people who are interested in helping out I could publish
the bzr repository...
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
nbauernf



Joined: 18 Nov 2008
Posts: 13
Location: Carnegie Mellon University

PostPosted: Mon Jun 29, 2009 9:47 am    Post subject: Reply with quote

mc: I wondered what you were up to ... =). I was kind of surprised you stopped doing things after mcload (since you have a good start toward something substantial). There are definitely things in the works right now, and an extra brain always helps things get done right the first time around. (of course jbit and some other guys in ps3dev are working more on the sdk side of things - whereas I'm doing OS level things)
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sat Jul 04, 2009 3:20 am    Post subject: Reply with quote

http://forums.ps2dev.org/viewtopic.php?t=12176

Feel free to chip in.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
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 -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
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