summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot/main.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 01:33:16 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 02:14:52 +0200
commitd561017f35e797d88cf0742546b5cedfc8ee7d14 (patch)
tree5d3c5b7425c6f945ad3b8b7ad0285276053f1dcf /rbutil/mkimxboot/main.c
parent7c7fa369186536adaf9ff35ec356525b5c5a8379 (diff)
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
Diffstat (limited to 'rbutil/mkimxboot/main.c')
-rw-r--r--rbutil/mkimxboot/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/mkimxboot/main.c b/rbutil/mkimxboot/main.c
index b77aa27ce8..8e7eb2901a 100644
--- a/rbutil/mkimxboot/main.c
+++ b/rbutil/mkimxboot/main.c
@@ -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);
}