This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ARM 920t queries with eCos


I have been working with ARM Integrator board with ARM 920T core module. I
have linked a hello world application with eCos default kernel. Later I
converted this image to Motorola S record format. I want this image to load
and run from RAM. Bootloader on target is bootMonitor. I have question, what
is relation among following four observations or any of these observations:

1. My target.ld has following lines:
MEMORY
{
    ram : ORIGIN = 0, LENGTH = 0x01000000
}

2. While "M" command on bootMonitor prompt gives following message: "Record
addresses must be between 0x0000C430 and 0x07FD99FC"

3. and arm-elf-readelf gives following output:
[mohanlal@knuth test]$ /opt/ecos/gnutools/arm-elf/bin/arm-elf-readelf -S
a.out
      There are 14 section headers, starting at offset 0x18bd0:

      Section Headers:
        [Nr] Name              Type            Addr     Off    Size   ES Flg
Lk Inf Al
        [ 0]                   NULL            00000000 000000 000000 00
0   0  0
        [ 1] .fixed_vectors    PROGBITS        00000020 0184c0 000140 00
0   0 32
        [ 2] .rom_vectors      PROGBITS        00040000 008000 000040 00  AX
0   0  1
        [ 3] .text             PROGBITS        00040040 008040 00fdbc 00  AX
0   0  4
        [ 4] .fini             PROGBITS        0004fdfc 018600 000000 00   W
0   0  1
        [ 5] .rodata           PROGBITS        0004fdfc 017dfc 00030c 00   A
0   0  4
        [ 6] .rodata1          PROGBITS        00050108 018600 000000 00   W
0   0  1
        [ 7] .got              PROGBITS        00050108 018600 000000 00   W
0   0  1
        [ 8] .fixup            PROGBITS        00050108 018600 000000 00   W
0   0  1
        [ 9] .gcc_except_table PROGBITS        00050108 018600 000000 00   W
0   0  1
        [10] .data             PROGBITS        00050108 018108 0003a8 00  WA
0   0  4
        [11] .bss              NOBITS          000504b0 0184b0 004334 00  WA
0   0 32
        [12] .comment          PROGBITS        00000000 018600 000558 00
0   0  1
        [13] .shstrtab         STRTAB          00000000 018b58 000076 00
0   0  1
      Key to Flags:
        W (write), A (alloc), X (execute), M (merge), S (strings)
         I (info), L (link order), G (group), x (unknown)
        O (extra OS processing required) o (OS specific), p (processor
specific)

4. My arm integrator manual tells following memory map
REMAP       S1[1]            map to
    0                 0                bootROM
    0                 1                flash
    1                 x                SSRAM


Regards
Mohanlal

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]