Editing Loaders
Jump to navigation
Jump to search
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 1: | Line 1: | ||
[[Category:Software]] | |||
= Explaination = | = Explaination = | ||
Loaders are used for loading other modules. | Loaders are used for loading other modules. | ||
Line 8: | Line 9: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Loader !! Location !! Type | ! Loader !! Location !! Type !! Remarks | ||
|- | |- | ||
| bootldr || [[Flash]] || Boot Loader || | | bootldr || [[Flash]] || Boot Loader || primairy loader from chain of trust | ||
|- | |- | ||
| metldr || [[Flash]] || Meta Loader | | metldr || [[Flash]] || Meta Loader || aka asecure_loader. Loads other loaders | ||
|- | |- | ||
| appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader | | appldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Application Loader || loads [[VSH|vsh.self]] (Userspace Module) | ||
|- | |- | ||
| isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader | | isoldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Isolation Loader || loading [[Iso module|isolated SPU modules]] | ||
|- | |- | ||
| lv1ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Hypervisor Loader | | 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 | | lv2ldr || [[Boot_Order#CoreOS_PKG_Filelisting|CoreOS]] || Supervisor Loader || loads lv2_kernel.self (Supervisor kernel) | ||
|- | |- | ||
|} | |} | ||
Line 74: | Line 32: | ||
| 0x30 || isoldr/appldr || Version mismatch (isoldr version differs from version returned by SPU channel 73). | | 0x30 || isoldr/appldr || Version mismatch (isoldr version differs from version returned by SPU channel 73). | ||
|- | |- | ||
| 0x16 || isoldr || | | 0x16 || isoldr || | ||
|- | |- | ||
| 0x27 || appldr || SPU arg at 0x3E840 | | 0x27 || appldr || SPU arg at 0x3E840 | ||
|- | |- | ||
|} | |} | ||
Line 90: | Line 40: | ||
0x27 | 0x27 | ||
When booting, lv1ldr store its version in this region writing to ch_72. | When booting, lv1ldr store its version in this region writing to ch_72. | ||
isoldr asks for the version in two chuncks, if you want to pass version 3.41 (0x0003004100000000) | isoldr asks for the version in two chuncks, if you want to pass version 3.41 (0x0003004100000000) | ||
Line 103: | Line 53: | ||
=== lv1ldr === | === lv1ldr === | ||
Used for loading the hypervisor (lv1.self) | Used for loading the hypervisor (lv1.self) | ||
==== LS Parameters Layout ==== | ==== LS Parameters Layout ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 130: | Line 63: | ||
|- | |- | ||
| 0x3E800 || Arguments || | | 0x3E800 || Arguments || | ||
|} | |} | ||
Line 277: | Line 82: | ||
|- | |- | ||
| 0x3F000 || Program revoke list || | | 0x3F000 || Program revoke list || | ||
|} | |} | ||
Line 311: | Line 89: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Size !! Name !! spp_verifier | ! Size !! Name !! spp_verifier !! | ||
|- | |- | ||
|u64 || prog_auth_id || 0x1050000003000001 | |u64 || prog_auth_id || 0x1050000003000001 | ||
Line 319: | Line 97: | ||
|u64 || *spu_module || SPU - address in ram | |u64 || *spu_module || SPU - address in ram | ||
|- | |- | ||
|u64 || *spu_module_arg1 || Profile - address in ram | |u64 || *spu_module_arg1 || Profile - address in ram || | ||
|- | |- | ||
|u64 || spu_module_arg1_size || sizeof(profile) | |u64 || spu_module_arg1_size || sizeof(profile) || | ||
|- | |- | ||
|u64 || *spu_module_arg2 || Not used | |u64 || *spu_module_arg2 || Not used || | ||
|- | |- | ||
|u64 || spu_module_arg2_size || Not used | |u64 || spu_module_arg2_size || Not used || | ||
|- | |- | ||
|u8 || res1[16] || Unknown | |u8 || res1[16] || Unknown | ||
Line 333: | Line 111: | ||
|u8 res2[16] || Unknown | |u8 res2[16] || Unknown | ||
|} | |} | ||