From 7a06b5d2d7ac329dc5cba794b019ba185b9b09e2 Mon Sep 17 00:00:00 2001 From: YP3 Audiobook Date: Fri, 27 Nov 2026 00:51:12 +0000 Subject: Release 1.1 - Hold Up/Down to keep changing the volume - Pulling the SD card powers the player off instead of crashing; with no card at power-on it says so and turns off - Long M4B books load without freezing the controls, with a "Loading book N%" screen - The Center press that powers the player on no longer pauses the book as it resumes (which also made it load twice) - No "Bookmark saved" pause at power-off - USB disk shows up right away while a book loads (flasher's "NO USB DISK") - tests/m4a: host test of the M4B index loader --- ...ower-off-at-boot-when-there-is-no-SD-card.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 patches/0007-yp3-power-off-at-boot-when-there-is-no-SD-card.patch (limited to 'patches/0007-yp3-power-off-at-boot-when-there-is-no-SD-card.patch') diff --git a/patches/0007-yp3-power-off-at-boot-when-there-is-no-SD-card.patch b/patches/0007-yp3-power-off-at-boot-when-there-is-no-SD-card.patch new file mode 100644 index 0000000..086494c --- /dev/null +++ b/patches/0007-yp3-power-off-at-boot-when-there-is-no-SD-card.patch @@ -0,0 +1,48 @@ +From 33293a86a06f935e44f17f36b38f586e7b0e5b33 Mon Sep 17 00:00:00 2001 +From: YP3 Audiobook +Date: Thu, 26 Nov 2026 20:23:27 +0000 +Subject: [PATCH 07/11] yp3: power off at boot when there is no SD card + +Turned on without a card, the player showed "ATA error: -5", then after +a key the debug screen and a panic ("ata: -5" and a backtrace). The +panic parks the CPU until the recovery watchdog resets it (~16 s), a +dark screen that looked like a crash into download mode. + +Now it says there is no SD card, waits 5 s and powers off; with the +card back in, the next power-on boots normally. + +--- + apps/main.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/apps/main.c b/apps/main.c +index 1dcc992d..ca189b07 100644 +--- a/apps/main.c ++++ b/apps/main.c +@@ -626,6 +626,23 @@ static void init(void) + CHART(">storage_init"); + rc = storage_init(); + CHART("