forked from len0rd/rockbox
nwzlinux: print version and model in bootloader
Change-Id: Id31fdd3253edebf72188c2b8d52e6cc56dd6714c
This commit is contained in:
parent
7de1d8b70f
commit
aedf4d2a57
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue