Part Number: TDA2SX Tool/software: Linux Dear TI, I am now try to review spl code follow debug probe to confirm some questions. But every time i try to add hardware breakpoint at funtion entry board_init_f. It cannot stop there. So i try to debug the code step by step. Finally i found that the exactlly position is in the file arch/arm/cpu/armv7/start.S: I have tried both step in or step over line 205 'v7_arch_cp15_set_l2aux_ctrl'. And then CCS reply me nothing. The resume button in the toolbar grey out. Then i can do nothing.... The CCS context looks like: After that, the registers probably changed to unable to read. I used vsdk version 3.6 and the corresponding uboot 2016.05 release. Before compiling the spl image, I added '#define DEBUG' in dra7xx_evm.h as: The u-boot-spl.bin used for debug can load uboot correctly in the normal startup senquence. My quetions: 1. Is it needed to and macro DEBUG shown above to debug the spl or u-boot? 2. How to solve the stoped in cpu_init_cp15 problem? 3. I got no flash devices with valid image to start the SoC when debugging, is that right? 4. I succeed to step over the cpu_init_cp15 function only once in the 4 hours debugging work.I don't know why. There is no difference to the other times when i failed here. The console output: Regards, Liu Gan
↧