1
0
Fork 0
forked from len0rd/rockbox

nwzlinux: print version and model in bootloader

Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
This commit is contained in:
Amaury Pouly 2017-09-17 22:49:09 +02:00
parent 7de1d8b70f
commit aedf4d2a57

View file

@ -44,6 +44,7 @@
#include <dirent.h> #include <dirent.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <stdarg.h> #include <stdarg.h>
#include "version.h"
/* all images must have the following size */ /* all images must have the following size */
#define ICON_WIDTH 130 #define ICON_WIDTH 130
@ -470,6 +471,11 @@ int main(int argc, char **argv)
dup2(fd, fileno(stderr)); dup2(fd, fileno(stderr));
close(fd); close(fd);
} }
/* print version */
printf("Rockbox boot loader\n");
printf("Version: %s\n", rbversion);
printf("%s\n", MODEL_NAME);
system_init(); system_init();
core_allocator_init(); core_allocator_init();
kernel_init(); kernel_init();