Question about boot failure of AM64-SK

Vignesh Raghavendra vigneshr at ti.com
Mon Sep 25 06:24:01 CEST 2023


Hi Masahiro,

On 21/09/23 20:33, Masahiro Yamada wrote:
> Hi.
[...]

> spl: mmc boot mode: fs
> Found FIT
> Error reading cluster
> fit read sector 0, sectors=985528, dst=, count=18446744073709551615,
> size=0xf09b8
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
> 

Looks like SD card incompatibility to me. Could you try couple of things:

a) Different brand SD card
b) Degrade speeds to non UHS mode:

diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts
index 2e2d40da360a..35da121de872 100644
--- a/arch/arm/dts/k3-am642-sk.dts
+++ b/arch/arm/dts/k3-am642-sk.dts
@@ -408,6 +408,7 @@
        pinctrl-0 = <&main_mmc1_pins_default>;
        ti,driver-strength-ohm = <50>;
        disable-wp;
+       no-1-8-v;
 };




> 
> 
> 
> 
> My build sequence is something like this:
> 
> 
> 
>       # for wakeup
>       make -j "$(nproc)" O=build-wakeup CROSS_COMPILE=arm-linux-gnueabihf- \
>           BINMAN_INDIRS="${SNAPCRAFT_STAGE}/ti-linux-firmware" \
>           am64x_evm_r5_defconfig all
>       cp build-wakeup/tiboot3-am64x-gp-evm.bin "${STAGE}/tiboot3.bin"
> 
>       # for main
>       make -j "$(nproc)" O=build-main am64x_evm_a53_defconfig
>       make -j "$(nproc)" O=build-main CROSS_COMPILE=aarch64-linux-gnu- \
>           BINMAN_INDIRS="${STAGE}/ti-linux-firmware" \
>           BL31="${STAGE}/bl31.bin" \
>           TEE="${STAGE}/tee-raw.bin" \
>           all
>       cp build-main/tispl.bin build-main/u-boot.img "${STAGE}"
> 
> 

Seems alright to me.

> 
> 
> 
> 
> Strangely, AM62-SK booted successfully,
> but AM64-SK failed.
> I do not know why.
> 
> 

-- 
Regards
Vignesh


More information about the U-Boot mailing list