From 3dd6ec5f6c139a127f5e35b619f5d5213c74b9bf Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sun, 20 May 2018 16:56:15 +0200 Subject: [PATCH] wtf pmc reboot doesn't fully work -- display doesn't reinitialize --- fusee/fusee-primary/src/utils.c | 6 ++++-- fusee/fusee-secondary/src/utils.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fusee/fusee-primary/src/utils.c b/fusee/fusee-primary/src/utils.c index 3a119a7b5..e73bea32a 100644 --- a/fusee/fusee-primary/src/utils.c +++ b/fusee/fusee-primary/src/utils.c @@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) { va_start(args, fmt); vprintk(fmt, args); va_end(args); - printk("\nPress POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n"); - wait_for_button_and_pmc_reboot(); + printk("\nHanging...\n"); + while(true); + //printk("\nPress POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n"); + //wait_for_button_and_pmc_reboot(); } __attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be) diff --git a/fusee/fusee-secondary/src/utils.c b/fusee/fusee-secondary/src/utils.c index 584c085bd..a7859f1e2 100644 --- a/fusee/fusee-secondary/src/utils.c +++ b/fusee/fusee-secondary/src/utils.c @@ -57,8 +57,10 @@ __attribute__((noreturn)) void fatal_error(const char *fmt, ...) { va_start(args, fmt); vprintf(fmt, args); va_end(args); - printf("\n Press POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n"); - wait_for_button_and_pmc_reboot(); + printf("Hanging...\n"); + while(true); + //printf("\n Press POWER to reboot into RCM, VOL+/VOL- to reboot normally.\n"); + //wait_for_button_and_pmc_reboot(); } __attribute__((noinline)) bool overlaps(uint64_t as, uint64_t ae, uint64_t bs, uint64_t be)