From aedf4d2a578141e50c4a868d6d24b4e5a97755c7 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 17 Sep 2017 22:49:09 +0200 Subject: [PATCH] nwzlinux: print version and model in bootloader Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c --- bootloader/nwz_linux.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 #include #include +#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();