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.

AM5728: How to load u-boot via Ethernet from the SPL?

Part Number: AM5728

Hello.

My understanding from the SDK and docs is that SPL can load u-boot via Ethernet (CPGMAC).

But after a week of searches and trials I give up and ask for the help.

How do I configure u-boot to do this? Some document? Thread?

Many Thanks!!!

P.S. AM5728 EVM under SDK 02.00.01.07.

  • Hi,

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/959283/faq-ccs-am5728-am57xx-boot-modes-supported

    The above describes the boot mode supported in the SDK. We don't have support for ethernet boot on AM57xx SDK.

    - Keerthy 

  • Hello, dear Keerthy.

    No, I do not speak about the ROM boot loader to load SPL via Ethernet - this I do via UART successfully.

    My question is about booting u-boot (last stage) itself from within  the SPL already loaded via UART.

    I was able to configure the SPL to use CPGMAC, but it does not work saying:

    <10:57:11.684> U-Boot SPL 2015.02.PLR2 (May 18 2022 - 10:56:39 +0300)
    <10:57:11.744> DRA752-GP ES2.0
    <10:57:11.749> Trying to boot from eth device
    <10:57:11.751> No Ethernet devices found
    <10:57:11.751> Trying to boot from UART
    CCC...
    (here UART loading of u-boot.img happens).

    So, instead of UART loading of u-boot.img I should like to perform Ethernet loading.

    THANKS A LOT!!

    P.S. Actually, u-boot itself loaded via UART also complains about the Ethernet:

    <10:58:19.345> U-Boot 2015.02.PLR2 (May 18 2022 - 10:56:39 +0300)
    <10:58:19.345> CPU : DRA752-GP ES2.0
    <10:58:19.349> Model: TI AM5728 IDK
    <10:58:19.349> Board: eHDVR REV 1
    <10:58:19.349> DRAM: 1 GiB
    <10:58:19.377> No need in EEPROM
    <10:58:19.484> i2c_write: error waiting for data ACK (status=0x116)
    <10:58:19.484> cdce9xx_reg_write: failed for addr:5, ret:-121
    <10:58:19.492> Could not get PHY for ethernet@48484000: addr 0
    <10:58:19.496> Warning: ethernet@48484000 using MAC address from ROM
    <10:58:19.501> Hit any key to stop autoboot:

  • Hi Leo,

    The U-Boot is 2015. This is pretty old. Can you try with the latest U-Boot & see if ethernet works from U-Boot.
    Also trying to load SPL from UART & then U-Boot via ethernet is NOT supported as the flow works on the boot media
    settings of the dip switches. The latest 6.03 SDK should work well with ethernet from U-Boot.

    - Keerthy