summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-22 11:58:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-08-22 11:58:30 -0400
commit97b0e5b5a167caa0eedd01c2acbed0916ee696ba (patch)
tree9eed96ae7e7c1fb61469bc6c7bda37f56fe1108c
parentd1653bc4d89592f07206ad8f5b711fcf7d58a92d (diff)
downloadrockbox-97b0e5b5a1.tar.gz
rockbox-97b0e5b5a1.zip
xduoox3: More minor bootloader tweaks
Change-Id: I16b5ada06842822e14c0e4fc262f2cb8067aff72
-rw-r--r--bootloader/xduoox3.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/bootloader/xduoox3.c b/bootloader/xduoox3.c
index 7ed672affe..b53d92b647 100644
--- a/bootloader/xduoox3.c
+++ b/bootloader/xduoox3.c
@@ -136,7 +136,7 @@ static int boot_rockbox(void)
{
int rc;
- printf("Mounting disk...\n");
+ printf("Mounting disk...");
while((rc = disk_mount_all()) <= 0) {
verbose = true;
@@ -148,12 +148,13 @@ static int boot_rockbox(void)
#endif
}
- printf("Loading firmware...\n");
+ printf("Loading firmware...");
rc = load_firmware((unsigned char *)CONFIG_SDRAM_START, BOOTFILE, 0x400000);
if(rc <= EFILE_EMPTY) {
+ printf("!! " BOOTFILE);
return rc;
} else {
- printf("Starting Rockbox...\n");
+ printf("Starting Rockbox...");
adc_close(); /* Disable SADC, seems to fix the re-init Rockbox does */
disable_interrupt();
exec((void*) CONFIG_SDRAM_START);
@@ -223,8 +224,8 @@ int main(void)
reset_screen();
#ifndef SHOW_LOGO
- printf(MODEL_NAME" Rockbox Bootloader\n");
- printf("Version %s\n", rbversion);
+ printf(MODEL_NAME" Rockbox Bootloader");
+ printf("Version %s", rbversion);
#endif
rc = boot_rockbox();