diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-17 22:49:09 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-17 23:23:58 +0200 |
commit | aedf4d2a578141e50c4a868d6d24b4e5a97755c7 (patch) | |
tree | e2d4437050fa0c4769d0f25635ce29bb6b49d51e | |
parent | 7de1d8b70ff3e062f394dd4ab23c0bf51e1cc2c9 (diff) | |
download | rockbox-aedf4d2.tar.gz rockbox-aedf4d2.zip |
nwzlinux: print version and model in bootloaderbootloader_nwzs750_v1bootloader_nwze580_v1bootloader_nwze470_v1bootloader_nwze460_v1bootloader_nwze450_v1bootloader_nwza860_v1bootloader_nwza10_v1bootloader_nwa20_v1
Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
-rw-r--r-- | bootloader/nwz_linux.c | 6 |
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(); |