SK-AM62B-P1: Ethernet boot failed ethernet_patch

Part Number: SK-AM62B-P1

Tool/software:

Hi Team,

Occurred an error while booting , referring this e2e link e2e.ti.com/.../5237349

there are 3 diff patch is to be added , can you please guide me how to  add this patches to my yocto build (each step). 

 

thanks and regards,

U-Boot SPL 2023.04-dirty (Jul 23 2024 - 16:21:29 +0530)                                                               
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')                                                  
alloc space exhausted                                                                                                 
am65_cpsw_nuss ethernet@8000000: Failed to bind to port@1 node
Failed to probe am65_cpsw_nuss driver
SPL initial stack usage: 13408 bytes
Trying to boot from eth device
Loading Environment from MMC... *** Warning - No MMC card found, using default environment
 
No ethernet found.
No Ethernet devices found
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

RJ

  • Hello RJ,

    First, a couple of questions

    1. Are you using an SK-AM62B-P1 EVM or a custom board?
    2. Which SDK version are you using? 

    The 3 patches provided in the other e2e link should all be in the same patch link. To apply you should have the SDK installed and be in the ti-u-boot directory of the SDK to do a "git am <patch to be applied>" to apply all 3 patches at once. Are you running into issues with this process?

    -Daolin

  • hello Daolin Qiu,

    Are you using an SK-AM62B-P1 EVM or a custom board?

    SK-AM62B-P1 EVM

    Which SDK version are you using? 

    Im using yocto build for actual , but also have sdk 09.02.01.10

    The 3 patches provided in the other e2e link should all be in the same patch link. To apply you should have the SDK installed and be in the ti-u-boot directory of the SDK to do a "git am <patch to be applied>" to apply all 3 patches at once. Are you running into issues with this process?

    yes,

    Applying: u-boot-ti-staging: Fix SDK v9.2 AM62 Ethernet boot
    .git/rebase-apply/patch:45: trailing whitespace.
    -- 
    .git/rebase-apply/patch:138: trailing whitespace.
    -- 
    .git/rebase-apply/patch:166: space before tab in indent.
    	/* This is WA because MDIO driver is not DM enabled */
    .git/rebase-apply/patch:167: space before tab in indent.
    	pinctrl-0 = <&main_mdio1_pins_default &main_rgmii1_pins_default>;
    .git/rebase-apply/patch:168: space before tab in indent.
    	bootph-pre-ram;
    error: recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend: does not exist in index
    Patch failed at 0001 u-boot-ti-staging: Fix SDK v9.2 AM62 Ethernet boot
    hint: Use 'git am --show-current-patch=diff' to see the failed patch
    When you have resolved this problem, run "git am --continue".
    If you prefer to skip this patch, run "git am --skip" instead.
    To restore the original branch and stop patching, run "git am --abort".

    thanks and regards,

    RJ

  • Hi RJ,

    Have you configured your git with the commands indicated in the code snippet you referenced above? 

    -Daolin

  • Hi Daolin Qui,

    Thanks for quick update!

    it was type error please look into the error now . just updated. 

    Applying: u-boot-ti-staging: Fix SDK v9.2 AM62 Ethernet boot
    .git/rebase-apply/patch:45: trailing whitespace.
    -- 
    .git/rebase-apply/patch:138: trailing whitespace.
    -- 
    .git/rebase-apply/patch:166: space before tab in indent.
    	/* This is WA because MDIO driver is not DM enabled */
    .git/rebase-apply/patch:167: space before tab in indent.
    	pinctrl-0 = <&main_mdio1_pins_default &main_rgmii1_pins_default>;
    .git/rebase-apply/patch:168: space before tab in indent.
    	bootph-pre-ram;
    error: recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend: does not exist in index
    Patch failed at 0001 u-boot-ti-staging: Fix SDK v9.2 AM62 Ethernet boot
    hint: Use 'git am --show-current-patch=diff' to see the failed patch
    When you have resolved this problem, run "git am --continue".
    If you prefer to skip this patch, run "git am --skip" instead.
    To restore the original branch and stop patching, run "git am --abort".

    thanks,

    RJ

  • Hi RJ,

    I believe these look to be some issues with the patch formatting. Have you tried running "git am --show-current-patch=diff" to see what shows up?

    Additionally, can try removing the "trailing whitespace" and "space before tab in indent" in the patch mentioned by the error messages?

    -Daolin