Hello Yordan, Actually, My aim is to debug SPL/Uboot code using CCSv7 on AM5728 evaluation board Rev A3. I'm using CCSv7.0.0.00043 (on Linux Ubuntu 16.04) and latest version of SDK (03.03.00.04). I've performed all steps in Sitara Linux Training - uboot_linux_debug_with_ccsv5 documentation processors.wiki.ti.com/.../Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5 and firstly I'm trying to debug SPL/Uboot code so I've performed following steps: 1- On CCSv7 as File->New->Project->C/C++->Makefile Project with Existing Code for Uboot source project 2- Build and Compile Uboot source by using CCSv7 Make File Target in detail training.ti.com/linux-board-porting-series-module-6-building-u-boot-ccs or using command export PATH=/home/alicanlinux/ti-processor-sdk-linux-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am57xx_evm_config make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 3- Setup target configuration with "Blackhawk XDS560v2-USB System Trace Emulator" and Board or Device: AM5728 . 4- Launch Configuration and connect to the CortexA15_0 target. 5- CPU Reset (SW) to CortexA15_0 target for changing the ARM core mode from THUMB-2 to ARM or Core Registers -> CPSR register list change the T register from 1 to 0 6- Load Memory with (Uboot source dir)/spl/u-boot-spl.bin, start address 0x40300000 (CONFIG_SPL_TEXT_BASE value in u-boot-spl.cfg) and type-size 32bits 7- Load symbols from (Uboot source dir)/spl/u-boot-spl (code and data offset left empty) 8- Set Program Counter Register(PC) to address 0x40300000 9- After running SPL code, I've observed output of the debug console : U-Boot SPL 2016.05-00319-g8d0b2ca-dirty (Jul 24 2017 - 09:20:35) DRA752-GP ES2.0 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### So far everything is correct. After this step, I've loaded Uboot code (executable (application/x-executable)) and run it. But, u-boot code doesn't print any log or console prompt in the terminal and I've opened disassembler and found that u-boot breaks on bootstage error. Actually, I've performed all steps using this video training.ti.com/linux-board-porting-series-module-7-debugging-u-boot-jtag-ccs and document processors.wiki.ti.com/.../Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5_sdk7 Could you suggest any way to solve the problem? Best regards Alican
↧