This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

u-boot modification and debugging on custom board

Hi, all!

I'm a new in u-boot and embedded linux. I have a custom board based on DM816x EVM with configuraions:

 - 512 Mb DDR3 on EMIF1

- SPI FLASH for booting u-boot image

- USART2 for printing messages (on linux host started minicom)

- custom gel-file to init DDR3 and board (I make it based on DM816x.gel) it init DDR3, and GPMC on the board. Using ddr3_slave_ratio_search.out I obtained DDR3 parameters: WR_DQS_RATIO, RD_DQS_RATIO, DQS_GATE for gel-file.

I changed (to my mind) all parameters in u-boot as in my gel-file, rebuild u-boot for SPI-booting and burn image into SPI flash (using spi-flash-writer.out). After power up board I see at address 0x40400000 contents of u-boot.noxip.bin.spi file, and on 0xC0700000 u-boot after relocation (as I understand). But I see nothing on minicom.

For debugging i have all hardware and software: oscilloscope, JTAG emulator BH-USB-560M, CCS 5.1, and Linux host for rebuilding u-boot. But I don't know how to debug u-boot and booting process. I try to load elf-file u-boot from CCS and stepping, but I don't know ARM assembler (read some book at this moment about it).

can provide all necessary information (*gel, schematic, u-boot code or something else)

My questions is:

1) What parts (files *.h, *,c, *.S) of u-boot I must to change.

2) Please explain for me how I can debug booting process?

Thank you to all for help or any useful information.

P.S. Sorry for my English.