[ECOS] RedBoot + Configuration tool 2.11 question

Jonathan Larmour jifl@eCosCentric.com
Wed Jul 30 10:26:00 GMT 2003


G.Muruganandam wrote:
> Hello Gary,
> 
> I looked at the dir /bootmonitor/src/packages/redboot/v1_24/src and I am 
> not finding
> the file redboot_cksum.o. Instead, I did locate this file in the 
> following dir
> 
> bootmonitor/src/build/redboot/v1_24/src/net and tried the command that 
> you mentioned
> in your mail and provided the output below.

Unfortunately that isn't the right object. Looks like cksum was an 
unfortunate example to use for you because the Intel sources are evidently 
very old.

Try redboot/current/src/redboot_main.o in your build dir, e.g.


redboot_main.o:     file format elf32-littlearm

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
   0 .text         00000000  00000000  00000000  00000034  2**0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 .data         00000000  00000000  00000000  00000034  2**0
                   CONTENTS, ALLOC, LOAD, DATA
   2 .bss          00000000  00000000  00000000  00000034  2**0
                   ALLOC
   3 .debug_abbrev 000003d6  00000000  00000000  00000034  2**0
                   CONTENTS, READONLY, DEBUGGING
   4 .debug_info   00002628  00000000  00000000  0000040a  2**0
                   CONTENTS, RELOC, READONLY, DEBUGGING
   5 .debug_line   00000b5b  00000000  00000000  00002a32  2**0
                   CONTENTS, RELOC, READONLY, DEBUGGING
   6 .rodata.str1.4 000002e4  00000000  00000000  00003590  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
   7 .ecos.table.RedBoot_commands.data.do_version 00000018  00000000 
00000000  00003874  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
   8 .ecos.table.RedBoot_commands.data.do_help 00000018  00000000 
00000000  0000388c  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
   9 .ecos.table.RedBoot_commands.data.do_go 00000018  00000000  00000000 
  000038a4  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
  10 .ecos.table.RedBoot_commands.data.do_reset 00000018  00000000 
00000000  000038bc  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
  11 .ecos.table.RedBoot_inits.begin 00000000  00000000  00000000 
000038d4  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  12 .ecos.table.RedBoot_inits.finish 00000000  00000000  00000000 
000038d4  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  13 .ecos.table.RedBoot_commands.begin 00000000  00000000  00000000 
000038d4  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  14 .ecos.table.RedBoot_commands.finish 00000000  00000000  00000000 
000038d4  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  15 .ecos.table.RedBoot_idle.begin 00000000  00000000  00000000  000038d4 
  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  16 .ecos.table.RedBoot_idle.finish 00000000  00000000  00000000 
000038d4  2**2
                   CONTENTS, ALLOC, LOAD, DATA
  17 .text.do_version 00000098  00000000  00000000  000038d4  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  18 .text.do_idle 00000044  00000000  00000000  0000396c  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  19 .text._mon_write_char 00000030  00000000  00000000  000039b0  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  20 .bss.line.0   00000100  00000000  00000000  000039e0  2**0
                   ALLOC
  21 .text.cyg_start 00000424  00000000  00000000  000039e0  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  22 .text.show_help 000000bc  00000000  00000000  00003e04  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  23 .text.do_help 00000084  00000000  00000000  00003ec0  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  24 .text.trampoline 00000030  00000000  00000000  00003f44  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  25 .text.return_to_redboot 00000028  00000000  00000000  00003f74  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  26 .text.do_go   00000378  00000000  00000000  00003f9c  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  27 .text.do_reset 0000005c  00000000  00000000  00004314  2**2
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  28 .text.bist    00000004  00000000  00000000  00004370  2**2
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
  29 .bss.saved_context 00000004  00000000  00000000  00004374  2**2
                   ALLOC
  30 .bss.return_status 00000004  00000000  00000000  00004374  2**2
                   ALLOC
  31 .debug_frame  00000184  00000000  00000000  00004374  2**2
                   CONTENTS, RELOC, READONLY, DEBUGGING
  32 .debug_pubnames 00000237  00000000  00000000  000044f8  2**0
                   CONTENTS, RELOC, READONLY, DEBUGGING
  33 .debug_aranges 00000078  00000000  00000000  0000472f  2**0
                   CONTENTS, RELOC, READONLY, DEBUGGING
  34 .debug_ranges 000000a8  00000000  00000000  000047a7  2**0
                   CONTENTS, RELOC, READONLY, DEBUGGING
  35 .debug_str    00001448  00000000  00000000  0000484f  2**0
                   CONTENTS, READONLY, DEBUGGING
  36 .comment      00000012  00000000  00000000  00005c97  2**0
                   CONTENTS, READONLY


Again, spot the use of .ecos.table.* sections.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list