{ IH_CPU_SH, "sh", "SuperH", },
{ IH_CPU_SPARC, "sparc", "SPARC", },
{ IH_CPU_SPARC64, "sparc64", "SPARC 64 Bit", },
+ { IH_CPU_M68K, "m68k", "MC68000", },
{ -1, "", "", },
};
{ IH_OS_PSOS, "psos", "pSOS", },
{ IH_OS_QNX, "qnx", "QNX", },
{ IH_OS_U_BOOT, "u-boot", "U-Boot", },
+ { IH_OS_RTEMS, "rtems", "RTEMS", },
+ { IH_OS_ARTOS, "artos", "ARTOS", },
{ -1, "", "", },
};
printf ("Image Type: "); print_type(hdr);
printf ("Data Size: %d Bytes = %.2f kB = %.2f MB\n",
size, (double)size / 1.024e3, (double)size / 1.048576e6 );
- printf ("Load Address: 0x%08x\n", ntohl(hdr->ih_load));
- printf ("Entry Point: 0x%08x\n", ntohl(hdr->ih_ep));
+ printf ("Load Address: 0x%08X\n", ntohl(hdr->ih_load));
+ printf ("Entry Point: 0x%08X\n", ntohl(hdr->ih_ep));
if (hdr->ih_type == IH_TYPE_MULTI || hdr->ih_type == IH_TYPE_SCRIPT) {
int i, ptrs;
* if planning to do something with
* multiple files
*/
- printf (" Offset = %08x\n", pos);
+ printf (" Offset = %08X\n", pos);
}
/* copy_file() will pad the first files to even word align */
size += 3;