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 

OtherOS demo program
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
ldesnogu



Joined: 17 Apr 2004
Posts: 95

PostPosted: Tue May 29, 2007 10:38 pm    Post subject: Reply with quote

Warren wrote:
Hrm just though we could also wait for BSD to be ported to the PS3 and then use their subsystems :)

Anyone know if such a port is underway?

I don't think so:

http://lists.freebsd.org/pipermail/freebsd-ppc/2007-March/002119.html
Back to top
View user's profile Send private message
mc



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

PostPosted: Wed May 30, 2007 12:00 am    Post subject: Reply with quote

Warren wrote:
Any more progress on this?

I haven't had a chance yet but I think we should start organizing this into PS3SDK. Thoughts?

Any volunteers to write USB and Bluetooth drivers? :P

I've started working on a USB driver. Progress so far is that I've got
the register file memory mapped, so all that's needed now is to pull
stuff like OHCI driver, USB core and bootkeyboard driver from e.g. U-Boot.
_________________
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
ps2devman



Joined: 09 Oct 2006
Posts: 265

PostPosted: Wed Jun 06, 2007 8:47 pm    Post subject: Reply with quote

Do we know the little technical name of the usb chipset?
Have you found some official documentation about it?
I would like to look for hidden and unused (yet) features...

Actually, a complete list of all chipsets that may be able to do dma on their own would be very useful...
Back to top
View user's profile Send private message
mc



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

PostPosted: Fri Jun 15, 2007 10:16 pm    Post subject: Reply with quote

ps2devman wrote:
Do we know the little technical name of the usb chipset?

The register files exposed are the usual OHCI for USB1 and EHCI for USB2. Docs are readily available, these and UHCI are the only hardware interfaces in common use. Meaning everyone uses them.

Generally you would be able to access the entire PCI address space with DMA from such host controllers, but for an embedded system it's of course up
to the hardware to define what "the entire PCI address space" really means. I haven't gotten to that point quite yet... :-)
_________________
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
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sat Jun 16, 2007 11:21 am    Post subject: Reply with quote

thank you MC for that start.S code :)
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Sun Jun 24, 2007 10:32 am    Post subject: Reply with quote

jimparis wrote:
utech wrote:
I cant compilate it...

Quote:
manuel@manuel-laptop:~/Desktop/source$ make
gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o start.o start.S
gcc: unrecognized option '-G0'
cc1: error: unrecognized command line option "-mregnames"
cc1: error: unrecognized command line option "-mfull-toc"
make: *** [start.o] Error 1

Unless manuel-laptop is a PS3, that's not gonna work. Build it on a PS3, or build and use a cross compiler.


i got the same problem and im on ubuntu also... any help would be nice
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jun 24, 2007 10:36 am    Post subject: Reply with quote

kid101skater wrote:
jimparis wrote:
Build it on a PS3, or build and use a cross compiler.

i got the same problem and im on ubuntu also... any help would be nice

If you have the same problem, then the solution is also the same.
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Sun Jun 24, 2007 6:35 pm    Post subject: Reply with quote

jimparis wrote:
kid101skater wrote:
jimparis wrote:
Build it on a PS3, or build and use a cross compiler.

i got the same problem and im on ubuntu also... any help would be nice

If you have the same problem, then the solution is also the same.


well you can compile on linux on pc... im using ubuntu just as he was.
Back to top
View user's profile Send private message
mukumuku



Joined: 22 Jun 2007
Posts: 4

PostPosted: Wed Jul 25, 2007 3:23 am    Post subject: Reply with quote

what tools do i need to use in order to build an otheros.bld like the one in this application? I don't want to work on ydl on ps3, I'll do it at slackware in my pc. Do I need to install the cellsdk or the ps3toolchain is enough to make it?
Back to top
View user's profile Send private message
emoon



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

PostPosted: Wed Jul 25, 2007 7:00 am    Post subject: Reply with quote

the toolchain is enough
Back to top
View user's profile Send private message Visit poster's website
2.6,CRACKED!



Joined: 26 Jul 2007
Posts: 18

PostPosted: Thu Jul 26, 2007 9:08 pm    Post subject: Reply with quote

about what warren said, "PS3SDK". I am correct in assuming you mean like what happened with the PSP.
Back to top
View user's profile Send private message
mukumuku



Joined: 22 Jun 2007
Posts: 4

PostPosted: Sun Jul 29, 2007 4:51 am    Post subject: Reply with quote

jimparis wrote:
utech wrote:
I cant compilate it...

Quote:
manuel@manuel-laptop:~/Desktop/source$ make
gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o start.o start.S
gcc: unrecognized option '-G0'
cc1: error: unrecognized command line option "-mregnames"
cc1: error: unrecognized command line option "-mfull-toc"
make: *** [start.o] Error 1

Unless manuel-laptop is a PS3, that's not gonna work. Build it on a PS3, or build and use a cross compiler.


I get exactly the same error. I have ps3toolchain installed. I thought it was enough to compile it, as emoon told as well. Any ideas?
Back to top
View user's profile Send private message
emoon



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

PostPosted: Sun Jul 29, 2007 8:29 am    Post subject: Reply with quote

You are using the wrong compiler, depending on how you installed the compiler you will need to change the name of the compiler being used in the makefile (ppu-gcc for example)
Back to top
View user's profile Send private message Visit poster's website
PosX100



Joined: 15 Aug 2007
Posts: 98

PostPosted: Wed Aug 15, 2007 1:17 am    Post subject: Reply with quote

Can i ask something?
With your project we're able to run unsigned code?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Aug 15, 2007 4:45 am    Post subject: Reply with quote

Yes, of course, that's what Sony has allowed us to do with the "other os" option.
Back to top
View user's profile Send private message
tsuba



Joined: 18 Sep 2007
Posts: 6

PostPosted: Mon Sep 24, 2007 3:42 am    Post subject: Reply with quote

When i try to build the otheros demo i get this error. I'm using the toolchain. Anyone know what to do?
$ make
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o start.o start.S
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o hv.o hv.S
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o mmu.o mmu.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o time.o time.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o vuart.o vuart.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o sysmgr.o sysmgr.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o av.o av.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o flash.o flash.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o fb.o fb.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o font_8x8.o font_8x8.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o debug.o debug.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -c -o demo.o demo.c
ppu-gcc -O -m64 -mregnames -mfull-toc -G0 -ffreestanding -fno-stack-protector -static -nostdlib -Wl,-T,script.
lds -o demo.elf start.o hv.o mmu.o time.o vuart.o sysmgr.o av.o flash.o fb.o font_8x8.o debug.o demo.o
objcopy -O binary demo.elf demo.bin
objcopy: demo.elf: File format not recognized
make: *** [demo.bin] Error 1
Back to top
View user's profile Send private message
ldesnogu



Joined: 17 Apr 2004
Posts: 95

PostPosted: Mon Sep 24, 2007 4:27 am    Post subject: Reply with quote

tsuba wrote:
objcopy: demo.elf: File format not recognized
make: *** [demo.bin] Error 1

This means you are not calling the right objcopy. You should change your PATH to point to the correct one.
_________________
Laurent
Back to top
View user's profile Send private message
tsuba



Joined: 18 Sep 2007
Posts: 6

PostPosted: Mon Sep 24, 2007 8:53 am    Post subject: Reply with quote

thx it works now.
Back to top
View user's profile Send private message
lettyann



Joined: 12 Nov 2007
Posts: 2

PostPosted: Mon Nov 12, 2007 10:05 am    Post subject: English plz for the newbies! Reply with quote

ok i am so happy reading between the lines there is an exploit but i do not have a clue what you are saying ive bought my son a ps3 for his xmas he has a psp which i flashed myself but i am thinki8n the ps3 is goin to be differant is there anyway some one can write a step by step on this like they did with the psp so that us folk that arent to clued up in it all can do it for just personal use plz plz it would be great if i could get it done before he gets it for his xmas thankyou
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Nov 12, 2007 10:32 am    Post subject: Reply with quote

Reading between the lines? LOL. Try learning to just read normally first. There is no exploit here, this is all using supported interfaces from Sony, and I don't know what you're trying to accomplish, but I can guarantee you that the otheros demo won't let you do it.
Back to top
View user's profile Send private message
lettyann



Joined: 12 Nov 2007
Posts: 2

PostPosted: Mon Nov 12, 2007 8:36 pm    Post subject: ok point taken Reply with quote

so in other words theres no exploit and there wont be anytime soon well thats ok i have great confidence there will be at some point i havent seen anything yet that cant be done al just wait and hopefully it wont be to long and its not just me thats not reading properly i got this site from another forum maybe you should tell them they are not reading properly either

http://www.ps3-hacks.com/forums/viewtopic.php?id=1846
Back to top
View user's profile Send private message
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Tue Nov 13, 2007 10:54 pm    Post subject: Reply with quote

Maybe you need to read the forum rules again. There is no exploit and the guys here are only interested in doing things above board and legal. The forum you are referring doesn't have a clue.

Get this straight: what we are discussing in this topic is endorsed by Sony. Sony have given us the software and tools we need to do this. All we are doing is taking Linux out of the equation.

Gosh! :/
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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