Editing Loaders

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 8: Line 8:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Loader !! Location !! Type !! Zlib support !! Fself support !! Remarks
! Loader !! Location !! Type !! Remarks
|-
|-
| bootldr || [[Flash]] || Boot Loader || NO || NO || primary loader from chain of trust, loads lv0
| bootldr || [[Flash]] || Boot Loader || primary loader from chain of trust
|-
|-
| metldr || [[Flash]] || Meta Loader || NO || NO || aka asecure_loader. Loads other loaders
| metldr || [[Flash]] || Meta Loader || aka asecure_loader. Loads other loaders
|-
|-
| appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader || YES || YES || loads userspace [f]selfs e.g. [[VSH|vsh.self]], videoplayer_plugin.sprx, disc/NPDRM EBOOT.BINs and [[EDAT_files|EDAT files]]
| appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader || loads userspace [f]selfs e.g. [[VSH|vsh.self]], videoplayer_plugin.sprx, disc EBOOT.BINs, NPDRM EBOOT.BINs
|-
|-
| isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader || NO ||  NO || loading [[Iso module|isolated SPU modules]]
| isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader || loading [[Iso module|isolated SPU modules]]
|-
|-
| lv1ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Hypervisor Loader || YES ||  NO || loads [[lv1.self]] ([[Hypervisor_Reverse_Engineering|Hypervisor]])
| lv1ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Hypervisor Loader || loads [[lv1.self]] ([[Hypervisor_Reverse_Engineering|Hypervisor]])
|-  
|-  
| lv2ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Supervisor Loader || YES ||  NO || loads lv2_kernel.self (Supervisor kernel)
| lv2ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Supervisor Loader || loads lv2_kernel.self (Supervisor kernel)
|-
|-
|}
|}
Line 156: Line 156:


=== appldr ===
=== appldr ===
Used to verify and decrypt usermode program/data segments (system libraries, vsh and its modules, games, edat and sdat files)<BR>
Used to verify and decrypt userland program/data segments (system libraries, vsh and its modules, games, edat and sdat files)
Allows to authenticate fselfs by following Target_ids from EID0: 0x81, 0x82, 0xA0.


==== LS Parameters layout ====
==== LS Parameters layout ====
Line 166: Line 165:
| 0x3E000 || Wait flag || If (flag==0){wait;} // use 0xFF00000000ULL
| 0x3E000 || Wait flag || If (flag==0){wait;} // use 0xFF00000000ULL
|-
|-
| 0x3E400 || EID0 || first 0x400 bytes of EID0
| 0x3E400 || EID0 ||
|-
|-
| 0x3E800 || Arguments || u64 buffer_args_effective_addr
| 0x3E800 || Arguments ||
|-
|-
| 0x3EC00 || QA-Flag Info|| u64 qaflag_exist_flag //If existed, set to 0, otherwise -1<BR>u64 unk0 //always 0<BR>u8[0x50] qa_token<BR>u8[0x2A] qa_token_signature<BR>u8[0x6] padding
| 0x3EC00 || QA-Flag Info|| u64 qaflag_exist_flag //If existed, set to 0, otherwise -1<BR>u64 unk0 //always 0<BR>u8[0x50] qa_token<BR>u8[0x2A] qa_token_signature<BR>u8[0x6] padding
Line 227: Line 226:
! Size !! Name !! Value
! Size !! Name !! Value
|-
|-
| u64 || program_auth_id ||  
| u64 || program_auth_id? ||  
|-
|-
| u64 || self_header_addr ||  
| u64 || self_header_addr ||  
|-
|-
| u64 || program_segment_addr? ||  
| u64 || ? ||  
|-
|-
| u32 || segment_type || 0 for phdrs, 1 for shdrs
| u64 || ? ||  
|-
|-
| u32 || program_segment_index || segment number
| u64 || ? ||  
|-
| u64 || destination_addr ||  
|-
|-
| u64 || capability_addr || capability flags (0x20 bytes) will be copyed at this effective addr
| u64 || capability_addr || capability flags (0x20 bytes) will be copyed at this effective addr
|-
|-
| u64 || flag || some flags // flag & 0xFFFF must be <=2 for APP, 3 for UNK7/seven, 4 for NPDRM_APP, 5 for EDAT
| ? || ? || ?
|-
| u64 || ||
|-
| u64 || ||
|-
| u64 || ||
|-
| u64 || ||
|-
| u64 || ||
|-
| u8[0x10] || sceNpDrmKey ||
|-
| u64 || header_key_check_result_addr || ppu addr to send the result.
|-
| u64 || ||  
|}
|}


Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)