[ECOS] ARM 920t queries with eCos
Jonathan Larmour
jifl@eCosCentric.com
Fri Jul 18 04:52:00 GMT 2003
mohanlal jangir wrote:
> 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:
For a different bootloader be sure to disable CYGSEM_HAL_USE_ROM_MONITOR
in your eCos RAM build configuration.
> 1. My target.ld has following lines:
> MEMORY
> {
> ram : ORIGIN = 0, LENGTH = 0x01000000
> }
That tells eCos where RAM is. That doesn't mean it will start putting code
there, just that RAM exists.
> 2. While "M" command on bootMonitor prompt gives following message: "Record
> addresses must be between 0x0000C430 and 0x07FD99FC"
That's where the program must be loaded. From the below eCos is loading to
0x40000.
> 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
No A flag so not loaded. So ignore the fact it say addr 0x20.
> [ 2] .rom_vectors PROGBITS 00040000 008000 000040 00 AX
> 0 0 1
Starts loading here.
[snip]
> 4. My arm integrator manual tells following memory map
> REMAP S1[1] map to
> 0 0 bootROM
> 0 1 flash
> 1 x SSRAM
You don't say what S1[1] is in this context.
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