[ECOS] help- redboot build and startup

Rohit Pandita pandi008@umn.edu
Tue Feb 21 20:03:00 GMT 2006


Hi,

I had posted a couple of queries on the list in last few weeks, but it 
seems they were too trivial/ silly to elicit any response. In which 
case, apologies from a newbie.

I've given up now on getting gdb stubs to work, instead trying to get 
redboot working. I've been able to build the redboot.elf (460+  kB), but 
unable to burn it to flash. Follwing are the observations,

1. There are 3 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x010000 0x00000000 0x00000000 0x19ef4 0x19ef4 R E 0x10000
  LOAD           0x039b00 0x003f9b00 0x00019ef8 0x01140 0x01140 RWE 0x10000
  LOAD           0x03ac40 0x003fac40 0x003fac40 0x00000 0x03ce8 RW  0x10000

 Section to Segment mapping:
  Segment Sections...
   00     .vectors .text .rodata
   01     .data
   02     .sbss .bss

Why are segment 01 and 02 being written to 0x003f9b00 and beyond, when this is clearly out of my board's flash range (Phycore555)?

In case my build approach is flawed, here's what Im doing, please comment on where I might be getting it wrong,
- Build redboot binary for ROM startup(don't have a ROM monitor on board), with flash support for flash device on phytec board.
- flash it to external ROM (unsuccessfully).

It would be great if someone could suggest a better approach to get it working. 

Thanks,
Rohit 



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



More information about the Ecos-discuss mailing list