From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Huang Qiang" To: "eCos" Subject: RE: [ECOS] Download question with new Redboot? Date: Mon, 23 Apr 2001 10:55:00 -0000 Message-id: References: <3AE46A35.499B6293@redhat.com> X-SW-Source: 2001-04/msg00326.html I am sorry I am new to such thing. could you please give me some detail about the problem? I use the Arm Evaluator 7T and default setting to build the ecos. and compile and link the program as I mentioned before. Here is the output from the command: (What should I concern about the following table?) Thank you Sections: Idx Name Size VMA LMA File off Algn 0 .debug_aranges 00000f88 00000000 00000000 0000e270 2**0 CONTENTS, READONLY, DEBUGGING 1 .debug_pubnames 000024ba 00000000 00000000 0000f1f8 2**0 CONTENTS, READONLY, DEBUGGING 2 .debug_info 000763c4 00000000 00000000 000116b2 2**0 CONTENTS, READONLY, DEBUGGING 3 .debug_abbrev 00005713 00000000 00000000 00087a76 2**0 CONTENTS, READONLY, DEBUGGING 4 .debug_line 0001020b 00000000 00000000 0008d189 2**0 CONTENTS, READONLY, DEBUGGING 5 .fixed_vectors 00000140 00000020 00000020 0009d3a0 2**5 CONTENTS 6 .rom_vectors 00000040 0000c000 0000c000 00004000 2**0 CONTENTS, ALLOC, LOAD, CODE 7 .text 00009ba8 0000c040 0000c040 00004040 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 8 .fini 00000000 00015be8 00015be8 0009d4e0 2**0 CONTENTS 9 .rodata 00000375 00015be8 00015be8 0000dbe8 2**2 CONTENTS, ALLOC, LOAD, DATA 10 .rodata1 00000000 00015f60 00015f60 0009d4e0 2**0 CONTENTS 11 .fixup 00000000 00015f60 00015f60 0009d4e0 2**0 CONTENTS 12 .gcc_except_table 00000000 00015f60 00015f60 0009d4e0 2**0 CONTENTS 13 .data 00000310 00015f60 00015f60 0000df60 2**2 CONTENTS, ALLOC, LOAD, DATA 14 .bss 000025e8 00016270 00016270 0000e270 2**4 ALLOC -----Original Message----- From: jlarmour@cambridge.redhat.com [ mailto:jlarmour@cambridge.redhat.com]On Behalf Of Jonathan Larmour Sent: 23 April 2001 18:45 To: Huang Qiang Cc: eCos Subject: Re: [ECOS] Download question with new Redboot? Huang Qiang wrote: > > Hi all: > I am using ARM evaluator7T and installed Redboot on my target system > running at the beginning. I use Insight 5.0 and select Remote/Serial as the > connection mode. It can establish connection between host and the target > system. when I download the file it stop before completely download. > > I built the program : > 1. arm-elf-gdb -g -I/d/ecos-work/E7T_install/include > hello.c -L/d/ecos-work/E7T_install/lib -Ttarget.ld -nostdlib > 2. arm-elf-gdb a.out > 3. connect via Remote/Serial and the download but stop before the whole > program has been downloaded. Stop and crash? Stop and give an error message? Are you sure the application isn't too big for memory? Is redboot correctly working on the board? If you do an "arm-elf-objdump -h a.out", do the section addresses and sizes correspond to what you would expect for the memory map of the board? Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine