summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/rocker_linux.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootloader/rocker_linux.c b/bootloader/rocker_linux.c
index a6d69d0e9d..3d35f22ba6 100644
--- a/bootloader/rocker_linux.c
+++ b/bootloader/rocker_linux.c
@@ -469,6 +469,11 @@ void run_script_menu(void)
static void adb(int start)
{
+#if defined(FIIO_M3K)
+ lcd_set_foreground(LCD_RGBPACK(255, 0, 0));
+ lcd_putsf(0, 1, "ADB not supported!");
+ sleep(2*HZ);
+#else
pid_t pid = fork();
if(pid == 0)
{
@@ -490,6 +495,7 @@ static void adb(int start)
lcd_putsf(0, 1, "an error occured: %x", status);
}
#endif
+#endif
}
static void tools_screen(void)
@@ -615,7 +621,11 @@ int main(int argc, char **argv)
#endif
mount_storage(false);
/* boot OF */
+#if defined(FIIO_M3K)
+ execvp("/usr/project/bin/player_daemon", argv);
+#else
execvp("/usr/bin/hiby_player", argv);
+#endif
error_screen("Cannot boot OF");
sleep(5 * HZ);
}