Hi all,
Im trying to run a simple eCos application in target RAM. When I try to load the executable through GDB it fails to load .text section to LMA 0x0080 0000 (Ext.RAM base address) with msg "packet error,continuing...". Im presuming that this is an illegal operation since RedBoot_ROM would have copied the VSR table to this location (correct me if mistaken). Does anything look suspicious here?

eCos was configured for RAM startup, inherit console settings. Target: PhyCore555. Thanking in advance.

Regards,
Rohit

objdump showed section header info,

Idx Name size VMA LMA File Off Algn
0     .vectors      00000000  0x00800000   0x00800000    2b34a         2**0
1 .text 183f0 0x00800000 0x00800000 10000 2**2

......................

Disassembly,

00800000<__exception_reset>:
   800000:    ........................    lis      r3,128
   800004:    ........................    ori     r3,r3,16
   800008:    ........................    mtlr    r3
   80000C:   ........................    blr

00800010<_start>:
   800010:    ........................    lis      r3,0
   800014    .........................    ori     r3,r3,12290

......
....
..


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

Reply via email to