mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 07:39:49 -04:00
sept: add secondary skeleton + buildscript
This commit is contained in:
parent
26f45fab19
commit
5fe24b620d
94 changed files with 58543 additions and 5 deletions
|
@ -50,6 +50,7 @@
|
|||
#define u8 uint8_t
|
||||
#define u32 uint32_t
|
||||
#include "exosphere_bin.h"
|
||||
#include "sept_secondary_enc.h"
|
||||
#include "lp0fw_bin.h"
|
||||
#include "lib/log.h"
|
||||
#undef u8
|
||||
|
@ -413,8 +414,7 @@ uint32_t nxboot_main(void) {
|
|||
|
||||
if (target_firmware == ATMOSPHERE_TARGET_FIRMWARE_700) {
|
||||
/* TODO: Detect when we have been loaded by sept-secondary, and thus have keys provided for us. */
|
||||
static const uint8_t sept_secondary[0x0] = { /* TODO: link-time magic */ };
|
||||
reboot_to_sept(tsec_fw, tsec_fw_size, sept_secondary, sizeof(sept_secondary));
|
||||
reboot_to_sept(tsec_fw, tsec_fw_size, sept_secondary_enc, sept_secondary_enc_size);
|
||||
}
|
||||
|
||||
print(SCREEN_LOG_LEVEL_MANDATORY, "[NXBOOT]: Loaded firmware from eMMC...\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue