diff options
-rw-r--r-- | sbe/image/base_ppe_header.S | 1 | ||||
-rw-r--r-- | sbe/image/sbe_xip_image.h | 4 | ||||
-rw-r--r-- | tools/image/sbe_xip_tool.c | 42 |
3 files changed, 27 insertions, 20 deletions
diff --git a/sbe/image/base_ppe_header.S b/sbe/image/base_ppe_header.S index 1220b170..0f56c532 100644 --- a/sbe/image/base_ppe_header.S +++ b/sbe/image/base_ppe_header.S @@ -120,6 +120,7 @@ __header_64_reserved: SbeXipSection baseloader, 8, empty=1 SbeXipSection overlay, 8, empty=1 SbeXipSection rings, 8, empty=1 + SbeXipSection hbbl, 8, empty=1 ////////////////////////////////////////////////////////////////////// diff --git a/sbe/image/sbe_xip_image.h b/sbe/image/sbe_xip_image.h index 9d8dddd2..b295a569 100644 --- a/sbe/image/sbe_xip_image.h +++ b/sbe/image/sbe_xip_image.h @@ -66,8 +66,9 @@ #define SBE_XIP_SECTION_BASELOADER 10 #define SBE_XIP_SECTION_OVERLAYS 11 #define SBE_XIP_SECTION_RINGS 12 +#define SBE_XIP_SECTION_HBBL 13 -#define SBE_XIP_SECTIONS 13 +#define SBE_XIP_SECTIONS 14 /// @} @@ -106,6 +107,7 @@ ".baseloader", \ ".overlays", \ ".rings", \ + ".hbbl", \ } /// Applications can use this macro to safely index the array of section diff --git a/tools/image/sbe_xip_tool.c b/tools/image/sbe_xip_tool.c index 8f6318db..8c98c402 100644 --- a/tools/image/sbe_xip_tool.c +++ b/tools/image/sbe_xip_tool.c @@ -1550,25 +1550,29 @@ int disassembleSection(void *i_image, else if (strcmp(sectionName, ".overlays")==0) sectionId = SBE_XIP_SECTION_OVERLAYS; - else { - fprintf(stderr,"ERROR : %s is an invalid section name.\n",sectionName); - fprintf(stderr,"Valid <section> names for the 'dis' function are:\n"); - fprintf(stderr,"\t.header\n"); - fprintf(stderr,"\t.fixed\n"); - fprintf(stderr,"\t.fixed_toc\n"); - fprintf(stderr,"\t.loader_text\n"); - fprintf(stderr,"\t.loader_data\n"); - fprintf(stderr,"\t.text\n"); - fprintf(stderr,"\t.data\n"); - fprintf(stderr,"\t.toc\n"); - fprintf(stderr,"\t.strings\n"); - fprintf(stderr,"\t.base\n"); - fprintf(stderr,"\t.baseloader\n"); - fprintf(stderr,"\t.overlays\n"); - fprintf(stderr,"\t.rings\n"); - fprintf(stderr,"\t.rings_summary\n"); - exit(1); - } + else + if (strcmp(sectionName, ".hbbl")==0) + sectionId = SBE_XIP_SECTION_HBBL; + else { + fprintf(stderr,"ERROR : %s is an invalid section name.\n",sectionName); + fprintf(stderr,"Valid <section> names for the 'dis' function are:\n"); + fprintf(stderr,"\t.header\n"); + fprintf(stderr,"\t.fixed\n"); + fprintf(stderr,"\t.fixed_toc\n"); + fprintf(stderr,"\t.loader_text\n"); + fprintf(stderr,"\t.loader_data\n"); + fprintf(stderr,"\t.text\n"); + fprintf(stderr,"\t.data\n"); + fprintf(stderr,"\t.toc\n"); + fprintf(stderr,"\t.strings\n"); + fprintf(stderr,"\t.base\n"); + fprintf(stderr,"\t.baseloader\n"); + fprintf(stderr,"\t.overlays\n"); + fprintf(stderr,"\t.rings\n"); + fprintf(stderr,"\t.rings_summary\n"); + fprintf(stderr,"\t.hbbl\n"); + exit(1); + } // Get host header and section pointer. // |