AnsweredAssumed Answered

Debugging u-boot stage1 on P4080DS, source code unsync with disassembler view in CW 10.3

Question asked by Kanat Alimzhanov on Dec 12, 2014
Latest reply on Dec 16, 2014 by Kanat Alimzhanov

Hello everyone,

Hope my question among common one.


I build u-boot.bin u-boot (elf file) by

=> version                                                                                                                
U-Boot 2013.01QorIQ-SDK-V1.5 (Dec 11 2014 - 11:19:47)                                                                     
powerpc-fsl_networking-linux-gcc (GCC) 4.7.3                                                                              
GNU ld (GNU Binutils)                                                                                     



and start it debugging as said in "Code Warrior U-Boot Debugging" (Document Number AN4876).

After reset i able to step code in start.S.

I know little about assembler of PowerPC CPU, but suppose that things in disassembler window is far not the same as in source_code window.

Below a screen shot of this windows.



After transiting into Stage-2 (after sti instruction) CW says that "Source not found" and run into Endless Loop when stepping more.

See here a picture:





What is wrong in this case?