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]

Re: pci init/discovery



On 25-Jun-2001 Jonathan Larmour wrote:
> "Narayana, Venkat A." wrote:
>> 
>> Hi,
>> After i have added net support(82559 card) to my redboot.bin,
>> i get the following message when i run the image
>> $T0a0f:b8010300; 0d:...
>> After some digging i found that , i get these messages after,
>> cyg_hal_plf_pci_init function.
>> 
>> what these signify? I remember reading earlier that these are output'd by
>> gdb stub's. If so why they are coming now? I mean i built redboot with gdb
>> stub
>> on,but i haven't seen them earlier.
> 
> Your probably hitting an exception (e.g. accessing a bad memory address,
> etc.). The first address is the PC it hit. If you disassemble your image
> you can find out where that is.

Notice that it's printed in Big Endian form (GDB standard).  Thus, the
failure is at 0x000301b8.

Of course, you should be able to connect with GDB (disconnect from RedBoot
first).  Then you can examine the registers, get a backtrace, etc.


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