1
0
Fork 0
forked from len0rd/rockbox

mkimxboot: factor code, add support for ELF files

Refactor code.
This tool can now either load a scrambled rockbox
firmware (in which case the model is check against the
firmware), or any ELF file. This is useful for example
for hwstub which produces a ELF file and still needs
to be loaded by producing a SB file.

Change-Id: I7aa381b3f6587788d1950793e89ce5608c53cccc
This commit is contained in:
Amaury Pouly 2013-06-16 01:33:16 +02:00
parent 7c7fa36918
commit d561017f35
3 changed files with 150 additions and 33 deletions

View file

@ -66,6 +66,11 @@ static void usage(void)
}
printf("\n");
printf("By default a dualboot image is built\n");
printf("This tools supports the following format for the boot file:\n");
printf("- rockbox scramble format\n");
printf("- elf format\n");
printf("Additional checks will be performed on rockbox scramble format to\n");
printf("ensure soundness of operation.\n");
exit(1);
}