summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 22:49:09 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 23:23:58 +0200
commitaedf4d2a578141e50c4a868d6d24b4e5a97755c7 (patch)
treee2d4437050fa0c4769d0f25635ce29bb6b49d51e
parent7de1d8b70ff3e062f394dd4ab23c0bf51e1cc2c9 (diff)
downloadrockbox-bootloader_nwze460_v1.tar.gz
rockbox-bootloader_nwze460_v1.zip
Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
-rw-r--r--bootloader/nwz_linux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootloader/nwz_linux.c b/bootloader/nwz_linux.c
index cac9909d2d..7b0ab5b9f1 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 @@ int main(int argc, char **argv)
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();