2008-08-08 00:48:02     elf loading

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-08-08 00:48:02     elf loading

Pranay Upadhyay (INDIA)

Message: 60132   

 

Hello sir,

 

  In BF 561 Ez-kit , I am loading the elf  file. When I am running the elf file from command bootelf 0x20030000 then giving error that

 

ezkit> bootelf 0x20030000

Loading .init @ 0xffa00000 (18 bytes)

Loading .b.text @ 0xff600000 (280 bytes)

something is really wrong

 

 

 

The section header of the elf file is like this.After loading the .b.text there is problem.How can we solve it.

 

Section Headers:

  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al

  [ 0]                   NULL            00000000            000000            000000 00          0   0  0

  [ 1] .init             PROGBITS        ffa00000            005000        000012 00              AX  0   0  1

  [ 2] .b.text           PROGBITS        ff600000           002000        000118 00            AX  0   0  2

  [ 3] .text             PROGBITS        ffa00014            005014      002018 00            AX  0   0  4

  [ 4] .fini             PROGBITS        ffa0202c            00702c           00000e 00            AX  0   0  1

  [ 5] .rodata           PROGBITS        ff800000           003000        000008 00            A  0   0  4

  [ 6] .eh_frame         PROGBITS        ff800008 0           03008      000004 00            A  0   0  4

  [ 7] .ctors            PROGBITS        ff80000c           00300c         000008 00           WA  0   0  4

  [ 8] .dtors            PROGBITS        ff800014             003014     000008 00        WA  0   0  4

  [ 9] .jcr              PROGBITS        ff80001c            00301c       000004 00        WA  0   0  4

  [10] .b.data           PROGBITS        ff400000             001000       000004 00            WA  0   0  4

  [11] .data             PROGBITS        ff800020        003020          000864 00         WA  0   0  4

  [12] .l1.data.A        PROGBITS        ff80100c       00400c         0 00004 00       WA  0   0  4

  [13] .b.bss            PROGBITS        ff400004        001004      000004 00        WA  0   0  4

  [14] .SDRAM0           PROGBITS        0000c400       000400      000010 00           WA  0   0  4

  [15] .bss              NOBITS          ff800884 003884          00006c          00            WA  0   0  4

  [16] .comment          PROGBITS        00000000 00703a 0002b2 00      0   0  1

  [17] .debug_aranges    PROGBITS        00000000 0072f0 0002a0 00      0   0  8

  [18] .debug_pubnames   PROGBITS        00000000 007590 000651 00      0   0  1

  [19] .debug_info       PROGBITS        00000000 007be1 0078b0 00      0   0  1

  [20] .debug_abbrev     PROGBITS        00000000 00f491 001670 00      0   0  1

  [21] .debug_line       PROGBITS        00000000 010b01 0017f5 00      0   0  1

  [22] .debug_frame      PROGBITS        00000000 0122f8 00062c 00      0   0  4

  [23] .debug_str        PROGBITS        00000000 012924 000b8b 00      0   0  1

  [24] .debug_loc        PROGBITS        00000000 0134af 001b03 00      0   0  1

  [25] .debug_ranges     PROGBITS        00000000 014fb2 000088 00      0   0  1

  [26] .shstrtab         STRTAB          00000000 01503a 0000f5 00      0   0  1

  [27] .symtab           SYMTAB          00000000 0155b8 000a90 10     28  75  4

  [28] .strtab           STRTAB          00000000 016048 000bb2 00      0   0  1

 

-Regards

 

Pranay

QuoteReplyEditDelete

 

 

2008-08-08 10:52:43     Re: elf loading

Mike Frysinger (UNITED STATES)

Message: 60173   

 

make sure you're using the 2008R1+ u-boot release

Attachments

    Outcomes