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.

PROCESSOR-SDK-AM335X: U-boot 2019.1 not able to load u-boot

Part Number: PROCESSOR-SDK-AM335X

Hello everyone,

I'm trying to bring up a custom board  with the AM335x. 

I have followed the steps to create custom uboot from the below link 

https:// software-dl.ti.com/processor-sdk-linux/esd/docs/latest/AM335X/linux/How_to_Guides/Board_Port/U-Boot.html 

I'm using ti-processor-sdk-linux-am335x-evm-06.01.00.08, and default u-boot 19.1 source code.

after loading u-boot-spl.bin through X-modem, i cant able to load u-boot.img file with Y-Modem.

Thanks very much for your help.

Kind regards

Balaji.G

  • Hi Balaji,
    After loading u-boot-spl.bin via x-modem, any printout from serial port?
    If yes, would you upload the serial log in attachment?
    Best,
    -Hong

  • Hello Hong,

    Thanks for your reply.,

    Here is the serial log you asked for:

    U-Boot SPL 2019.01-g1ebdbc7-dirty (Feb 08 2021 - 19:19:22 +0530)
    spl_ll_find_loader...
    Trying to boot from UART
    spl_load_image...
    CCCCCCCCC

    Note that i have added some debug prints in the source code.

    After Loading spl uboot from X-Modem. When I tried to load u-boot.img from Y-Modem, I got only 0.2% loaded and waiting there...

    Thanks and regards,

    Balaji G

  • Hi Balaji,
    I tested SDK6.3 (u-boot 2019.1) on TI AM335x EVM, UART boot mode works fine.
    I uploaded the log file in attachment for your reference.

    Have you tried using Tera Term on host PC to send spl.bin/u-boot.img to see any difference?
    You may add debug print as you did or alternatively use JTAG debugger if JTAG connection is available on your board.
    I think two relevant SPL files are: "/common/spl/spl_ymodem.c" and "/common/xyzModem.c"

    Best,
    -Hong

    CCCCCCC
    U-Boot SPL 2019.01-g333c3e72d3 (Apr 19 2020 - 11:21:12 +0000)
    Trying to boot from UART
    CCxyzModem - CRC mode, 0(SOH)/781(STX)/0(CAN) packets, 5 retries
    Loaded 797928 bytes
    
    
    U-Boot 2019.01-g333c3e72d3 (Apr 19 2020 - 11:21:12 +0000)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  1c:ba:8c:f0:79:11
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  0 
    =>