fusee: switch to use exo2 instead of exo1
This commit is contained in:
@@ -58,13 +58,13 @@
|
||||
#include "sept_secondary_01_enc.h"
|
||||
#include "sept_secondary_dev_00_enc.h"
|
||||
#include "sept_secondary_dev_01_enc.h"
|
||||
#include "lp0fw_bin.h"
|
||||
#include "warmboot_bin.h"
|
||||
#include "emummc_kip.h"
|
||||
#undef u8
|
||||
#undef u32
|
||||
|
||||
extern const uint8_t lp0fw_bin[];
|
||||
extern const uint32_t lp0fw_bin_size;
|
||||
extern const uint8_t warmboot_bin[];
|
||||
extern const uint32_t warmboot_bin_size;
|
||||
|
||||
static const uint8_t retail_pkc_modulus[0x100] = {
|
||||
0xF7, 0x86, 0x47, 0xAB, 0x71, 0x89, 0x81, 0xB5, 0xCF, 0x0C, 0xB0, 0xE8, 0x48, 0xA7, 0xFD, 0xAD,
|
||||
@@ -891,14 +891,14 @@ uint32_t nxboot_main(void) {
|
||||
}
|
||||
} else {
|
||||
/* Use Atmosphere's warmboot firmware implementation. */
|
||||
warmboot_fw_size = lp0fw_bin_size;
|
||||
warmboot_fw_size = warmboot_bin_size;
|
||||
warmboot_fw = malloc(warmboot_fw_size);
|
||||
|
||||
if (warmboot_fw == NULL) {
|
||||
fatal_error("[NXBOOT] Out of memory!\n");
|
||||
}
|
||||
|
||||
memcpy(warmboot_fw, lp0fw_bin, warmboot_fw_size);
|
||||
memcpy(warmboot_fw, warmboot_bin, warmboot_fw_size);
|
||||
|
||||
if (warmboot_fw_size == 0) {
|
||||
fatal_error("[NXBOOT] Could not read the warmboot firmware from Package1!\n");
|
||||
|
||||
@@ -157,15 +157,15 @@ _content_headers:
|
||||
.asciz "Loader"
|
||||
.align 5
|
||||
|
||||
/* lp0fw content header */
|
||||
.word __lp0fw_bin_start__
|
||||
.word __lp0fw_bin_size__
|
||||
/* warmboot content header */
|
||||
.word __warmboot_bin_start__
|
||||
.word __warmboot_bin_size__
|
||||
.byte CONTENT_TYPE_WBT
|
||||
.byte CONTENT_FLAG_NONE
|
||||
.byte CONTENT_FLAG_NONE
|
||||
.byte CONTENT_FLAG_NONE
|
||||
.word 0xCCCCCCCC
|
||||
.asciz "lp0fw"
|
||||
.asciz "warmboot"
|
||||
.align 5
|
||||
|
||||
/* pm content header */
|
||||
|
||||
Reference in New Issue
Block a user