mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-10-21 18:42:52 -05:00
13.20 and 13.00 support (#49)
* add 13.20 support * add 13.00 support * Update README.md update readme to reflect new 13.00, 13.20 and 13.60 support.
This commit is contained in:
1 parent
8cda4c1428
commit
691e50f359
14 files changed
+289
-37
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#include "main.h"
|
||||
#include "boot_linux.h"
|
||||
#if !defined(FW_13XX_PORT)
|
||||
#include "hv_defeat_0304.h"
|
||||
#endif
|
||||
#include "utils.h"
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -22,8 +24,12 @@ __attribute__((section(".entry_point"))) uint32_t main(uint64_t add1,
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if defined(FW_13XX_PORT)
|
||||
if (args_ptr->fw_version < 0x1300 || args_ptr->fw_version >= 0x1400)
|
||||
return -1;
|
||||
activate_uart(args_ptr);
|
||||
#else
|
||||
activate_uart(args_ptr);
|
||||
|
||||
if ((0x0300 <= args_ptr->fw_version) && (args_ptr->fw_version < 0x0500)) {
|
||||
if (hv_defeat_0304(args_ptr))
|
||||
return -1;
|
||||
@@ -33,6 +39,7 @@ __attribute__((section(".entry_point"))) uint32_t main(uint64_t add1,
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Now we can R/W on .text
|
||||
init_global_pointers(args_ptr);
|
||||
|
||||
Reference in new issue
Block a user