nwzlinux: print version and model in bootloader
Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
diff --git a/bootloader/nwz_linux.c b/bootloader/nwz_linux.c
index cac9909..7b0ab5b 100644
--- a/bootloader/nwz_linux.c
+++ b/bootloader/nwz_linux.c
@@ -44,6 +44,7 @@
#include <dirent.h>
#include <sys/wait.h>
#include <stdarg.h>
+#include "version.h"
/* all images must have the following size */
#define ICON_WIDTH 130
@@ -470,6 +471,11 @@
dup2(fd, fileno(stderr));
close(fd);
}
+ /* print version */
+ printf("Rockbox boot loader\n");
+ printf("Version: %s\n", rbversion);
+ printf("%s\n", MODEL_NAME);
+
system_init();
core_allocator_init();
kernel_init();