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 

custom bios

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



Joined: 16 Feb 2007
Posts: 5

PostPosted: Fri Feb 16, 2007 2:17 am    Post subject: custom bios Reply with quote

Someone on this forum said that sony mips chips have to support EJTAG. It supports several chips on one connector. There are 2 chip: cpu and media engine, and each of them have JTAG lines. if anyone have motherboard without chips - try to find 5 or 6 lines, that connects both chips and MAYBE some connection pads on the board.
The second idea is about bootstrap. If we write some small loader, that can load firmware from smartmedia, it'll be unbrickable psp :) this loader may be in bootstrap stage 2 or it can be in flash0 as an original firware.

sorry for my english
Back to top
View user's profile Send private message
harleyg



Joined: 05 Oct 2005
Posts: 123

PostPosted: Fri Feb 16, 2007 4:26 am    Post subject: Reply with quote

Why not just hook NAND traces up to a smartmedia card if you want an unbrickable psp.
Back to top
View user's profile Send private message
ToSHiC



Joined: 16 Feb 2007
Posts: 5

PostPosted: Fri Feb 16, 2007 5:45 am    Post subject: Reply with quote

because it's not software solution. with custom bootstrap you don't need to break wires on the board.

by the way, may be this functionality is implemented in standart bootstrap. just imagine: sony technical support get bricked psp, insert into SM slot 32MB card with image of flash0 and boot psp with pressed select button, for example. something like PS BIOS recovery mode, while it read BIOS image from floppy if CRC error detected ni CMOS.
Back to top
View user's profile Send private message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Sun Feb 18, 2007 7:38 pm    Post subject: Reply with quote

hmmmm..... no :)
Won't be practical enough. Get a UP ;) Moreover the PSP bootstrap is WAY more complex than you can imagine.
Back to top
View user's profile Send private message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Fri Feb 23, 2007 5:52 am    Post subject: Reply with quote

Someone should make thorough documentation of how the PSP bootstraps.
*HINT*HINT* adrahil :P lol.
Back to top
View user's profile Send private message
gbj1



Joined: 08 Feb 2007
Posts: 45

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

It has more code for decryption prxes than actually booting and initilizing the hardware. Also, during booting, the device drivers had not yet loaded, so the bios can't access MS at that time.
_________________
guo.bojun@gmail.com
Back to top
View user's profile Send private message
ToSHiC



Joined: 16 Feb 2007
Posts: 5

PostPosted: Sat Feb 24, 2007 6:38 pm    Post subject: Reply with quote

but there is no need to accesss files on MS throught some file system. just direct copy of first 32M of MS to internal flash. it can be simply done using DMA, for example. i think, it's something about 200-300 bytes of code:)
Back to top
View user's profile Send private message
gbj1



Joined: 08 Feb 2007
Posts: 45

PostPosted: Sat Feb 24, 2007 7:37 pm    Post subject: Reply with quote

Good idea, mark with a special flag so it won't conflict with the MS file system. But up till now, I can't find a way to read/write MS through raw DMA access.
_________________
guo.bojun@gmail.com
Back to top
View user's profile Send private message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Sun Feb 25, 2007 3:29 am    Post subject: Reply with quote

It's not that simple.... There is not a "MSREAD" or "NANDWRITE" hardware register which would do the job easily. Moreover, one can't use a fully custom FW as the psp HAS to boot on an encrypted FW (don't try to understand, just believe it). Unencrypted ELFs are loaded thanks to a bug in loadexec (correct me if i'm wrong), and this is how a "custom" firmware like OE is loaded. So, forget the fully custom FW for now. :)
Also, the psp bios, the reset vector, is not known and won't be for a good while. Moreover, if it is known, it will probably be unmodifiable (read only). And, finally, to destroy your hopes, it uses assymetric encryption thanks to KIRK. So, if one gets decryption keys, we won't be able to encrypt anyway.

To conclude, the only viable solution would be to replace KIRK by some other chip, something like a FPGA which would just return positive at any check given.
Back to top
View user's profile Send private message
ToSHiC



Joined: 16 Feb 2007
Posts: 5

PostPosted: Sun Feb 25, 2007 9:54 pm    Post subject: Reply with quote

what is the KIRK?
in 1.50 firmware, as i know, IPL wasn't encoded. but in 2.xx firmware it's encoded, and it's mean, that sony can update boot code in CPU. and it's possible to downgrade TA082 motherboards to 1.50, it mean that bootstrap can load decoded IPL. and i've seen on some site, that c+d team has decoded new version of IPL. if smbd cuts off decoding part of IPL and writes decoded prx files on flash.. may be, it'll be first real custom FW :)
Back to top
View user's profile Send private message
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Mon Feb 26, 2007 12:31 am    Post subject: Reply with quote

Helpless.... Read more stuff, it will do you good :)
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 -> PSP 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