diff --git a/tools/imagetool.c b/tools/imagetool.c
index 4b0b73d..b3c58e1 100644
--- a/tools/imagetool.c
+++ b/tools/imagetool.c
@@ -57,7 +57,7 @@ int imagetool_verify_print_header(
"%s: print_header undefined for %s\n",
params->cmdname, (*curr)->name);
}
- break;
+// break;
}
}
}
diff --git a/tools/imximage.c b/tools/imximage.c
index daf50ba..0d08e6d 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -436,6 +436,7 @@ static void print_hdr_v2(struct imx_header *imx_hdr)
flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr;
dcd_v2_t *dcd_v2 = &hdr_v2->data.dcd_table;
uint32_t size, version, plugin;
+ uint32_t i;
plugin = hdr_v2->boot_data.plugin;
if (!plugin) {
@@ -490,6 +491,13 @@ static void print_hdr_v2(struct imx_header *imx_hdr)
printf("U-Boot Entry Point: %08x\n",
(uint32_t)next_fhdr_v2->entry);
}
+
+ printf("0x%08X\n", be32_to_cpu(hdr_v2->data.dcd_table.dcd_data[0]));
+ for(i=1; i<512; i+=2)
+ {
+ if(!hdr_v2->data.dcd_table.dcd_data[i]) break;
+ printf("DATA 4, 0x%08X, 0x%08X\n", be32_to_cpu(hdr_v2->data.dcd_table.dcd_data[i]), be32_to_cpu(hdr_v2->data.dcd_table.dcd_data[i+1]));
+ }
}
#ifdef CONFIG_USE_PLUGIN
@@ -834,6 +842,8 @@ int imximage_check_params(struct image_tool_params *params)
{
if (!params)
return CFG_INVALID;
+ if(params->lflag)
+ return 0;
if (!strlen(params->imagename)) {
fprintf(stderr, "Error: %s - Configuration file not specified, "
"it is needed for imximage generation\n",