AnsweredAssumed Answered

U-boot debug failed because "Can't find a source file"

Question asked by Kuowei Hsu on Nov 10, 2014
Latest reply on Nov 11, 2014 by Kuowei Hsu



CPU: P2020

SDK:1.6, build fsl-images-core.


First at all, add 'EXTRA_OEMAKE += "CONFIG_CW=1"' in ..\QorIQ-SDK-V1.6-20140619-yocto-CW\meta-fsl-ppc\recipes-bsp\u-boot\


We start to debug u-boot on our customized board by load elf file, just like AN4876: CodeWarrior U-Boot Debugging. However, it is failed because "Can't find a source file" after we add the path in the chapter 5.2.2.  Reference Targeting_PA_Processors in PA/PA_Support. Here is our setting for debug configuration.


** Specify the Source Lookup Path ==> please reference Targeting_PA_Processors, 5.16.3 Specify the Source Lookup Path

In the Compilation path

Remote PC (compile SDK and generate elf file) path : U:\projects\src\sdk\QorIQ-SDK-V1.6-20140619-yocto-CW\build_p2020rdb_release


Local file system path

Local PC (run CW and workspace) path : C:\Users\kuowei\workspace\develop_nor


We using initialization file "C:\Freescale\CW_PA_v10.3.3\PA\PA_Support\Initialization_Files\QorIQ_P2\P10xx-P20xxRDB_P2020_uboot_32.tcl"



Is any processes we miss?? The attached file is the error happened.



Thanks for all your help in community.