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.

AM3358: SPL boot problem

Part Number: AM3358
Other Parts Discussed in Thread: TPS65217

I made a new custom board using am3358.

But my device can't boot in spl step

pmic : TPS65217

eeprom : not used (to pass EEPROM check, i modified board/ti/common/board_detect.c file to hard coding)

memory : MT41K256M16TW-107 AAT (I tuned it with reference http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Tuning_the_DDR3_Timings_on_BeagleBoneBlack )

This is my log :

Fisrt, I transfered a 'u-boot-spl.bin'.

But 'C' character was broken like above log. so I could not upload u-boot.img file after this step.

Please let me know what to check.

  • Please post the log file. 

  • After sending the u-boot-spl.bin you should immediately send the u-boot.img, without waiting for "C" characters. They will not appear after u-boot-spl.bin has been sent. See software-dl.ti.com/.../Foundational_Components_U-Boot.html

  • I re-post my log image file and log using sx command

    I enable debug flag and i found a difference in ic2 result.

    minicom log on my custom board

    minicom log on beaglebone black

    sx command log on my custom board

    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ stty -F /dev/ttyUSB0 -cstopb cs8 -parenb 115200
    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ sx -kb spl/u-boot-spl.bin < /dev/ttyUSB0 > /dev/ttyUSB0
    Sending spl/u-boot-spl.bin, 762 blocks: Give your local XMODEM receive command now.
    Bytes Sent:  97664   BPS:10232                           
    
    Transfer complete
    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ sx -kb --ymodem u-boot.img < /dev/ttyUSB0 > /dev/ttyUSB0
    Sending: u-boot.img
    Ymodem sectors/kbytes sent:   0/ 0kRetry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: Retry Count Exceeded
    
    Transfer incomplete
    

    sx command log on beaglebone black

    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ stty -F /dev/ttyUSB0 -cstopb cs8 -parenb 115200
    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ sx -kb spl/u-boot-spl.bin < /dev/ttyUSB0 > /dev/ttyUSB0
    Sending spl/u-boot-spl.bin, 762 blocks: Give your local XMODEM receive command now.
    Bytes Sent:  97664   BPS:10425                           
    
    Transfer complete
    hello@hello-VirtualBox:~/workspace/am3358/bbb/u-boot$ sx -kb --ymodem u-boot.img < /dev/ttyUSB0 > /dev/ttyUSB0
    Sending: u-boot.img
    Ymodem sectors/kbytes sent:   1/ 0kRetry 0: Got 53 for sector ACK
    Retry 0: NAK on sector
    Bytes Sent: 552064   BPS:9088                            
    Sending: 
    Ymodem sectors/kbytes sent:   0/ 0k
    Transfer complete
    

  • Hello Hanjun,

    Please, see this thread. You need to use the u-boot-spl.bin and u-boot.img from the latest Processor SDK.

    Best regards,
    Kemal