Reboot to Hekate menu once without changing hekate_ipl.ini

Mariko: RTC REBOOT_REASON_MENU + PMIC reboot. Erista: patch in-memory
boot_cfg on valid Hekate payload and try common SD paths.
This commit is contained in:
2026-07-03 17:17:56 +02:00
parent e5ab6a2ed0
commit 1b63a03b01
4 changed files with 90 additions and 6 deletions

View File

@@ -105,10 +105,8 @@ void HandleSD(){
extern bool is_sd_inited;
extern int launch_payload(char *path);
void RebootToHekate(){
launch_payload("sd:/bootloader/update.bin");
reboot_to_hekate_menu();
}
void MountOrUnmountSD(){
@@ -153,7 +151,7 @@ void EnterMainMenu(){
sd_unmount();
// // -- Exit --
mainMenuEntries[MainRebootHekate].hide = (!sd_get_card_mounted() || !FileExists("sd:/bootloader/update.bin"));
mainMenuEntries[MainRebootHekate].hide = !h_cfg.t210b01 && (!sd_get_card_mounted() || !hekate_reboot_available());
mainMenuEntries[MainRebootRCM].hide = h_cfg.t210b01;
mainMenuEntries[FixMarikoWarmbootSleep].hide = !h_cfg.t210b01;