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.

TMDSIDK574: TMDSIDK574 :AM5749 Custom board U-Boot SPL fail

Part Number: TMDSIDK574
Other Parts Discussed in Thread: AM5749, SN65HVS882

The post has been deleted, so please re-register.

I have an AM5749 custom board made with reference to TMDSIDK574 REV 1.0C board

TI-SDK SOURCE
software-dl.ti.com/.../ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin

Fix differences with reference board TMDSIDK574

no eeprom
pin change


====================================================
board/ti/common/board_detect.c
====================================================
int __maybe_unused ti_i2c_eeprom_am_set(const char *name, const char *rev)
{
return 0;
}
int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
{
struct ti_common_eeprom *ep;
ep = TI_EEPROM_DATA;
#ifndef CONFIG_SPL_BUILD
if (ep->header == TI_EEPROM_HEADER_MAGIC)
return 0; /* EEPROM has already been read */
#endif
/* Initialize with a known bad marker for i2c fails.. */
ep->header = TI_DEAD_EEPROM_MAGIC;
ep->name[0] = 0x0;
ep->version[0] = 0x0;
ep->serial[0] = 0x0;
ep->config[0] = 0x0;
ep->header = TI_EEPROM_HEADER_MAGIC;
strlcpy(ep->name, "AM574IDK", TI_EEPROM_HDR_NAME_LEN + 1);
ti_eeprom_string_cleanup(ep->name);
strlcpy(ep->version, "1.3D", TI_EEPROM_HDR_REV_LEN + 1);
ti_eeprom_string_cleanup(ep->version);
strlcpy(ep->serial, "23204P770087", TI_EEPROM_HDR_SERIAL_LEN + 1);
ti_eeprom_string_cleanup(ep->serial);
return 0;
}

bool __maybe_unused board_ti_is(char *name_tag)
{
return !strcmp("AM574IDK", name_tag);
}


====================================================
board/ti/am57xx/mux_data.h
====================================================
core_padconf_array_essential_am574x_idk[] = {
/* eMMC_RSTn */
{MCASP1_AXR2, (M14 | PIN_OUTPUT)}, /* vout1_fld.gpio4_21 -> mcasp1_axr2.gpio5_4 */
/* GPIO_AM572X_USB2_ID */
{MCASP1_AXR5, (M14 | PIN_INPUT)}, /* vin1a_d12.gpio3_16 -> mcasp1_axr5.gpio5_7 */

/* GPIO_PCIE_SWRSTn */
{VIN2A_D0, (M14 | PIN_OUTPUT_PULLUP)}, /* vin1a_d19.gpio3_23 -> vin2a_d0.gpio4_1 */
/* GPIO_PCIE_RSTDRVn */
{VIN2A_D1, (M14 | PIN_OUTPUT_PULLDOWN)}, /* vin1a_d18.gpio3_22 -> vin2a_d1.gpio4_2 */
/* PCIE_CRDPRESENT */
{VOUT1_FLD, (M14 | PIN_INPUT)}, /* mcasp1_axr2.gpio5_4 G13 -> vout1_fld.gpio4_21 B11 */
/* PCIE_WAKEn */
{VIN2A_FLD0, (M14 | PIN_INPUT)}, /* mcasp1_axr3.gpio5_5 J11 -> vin2a_fld0.gpio3_30 H7 */

/* SPI3 */
{VOUT1_VSYNC, (M3 | PIN_INPUT )}, /* mcasp4_aclkx.spi3_sclk -> vout1_vsync.spi3_sclk */
{VOUT1_HSYNC, (M14 | PIN_OUTPUT )}, /* vin1a_d15.gpio3_19 -> vout1_hsync.gpio4_22 */
{VOUT1_DE , (M8 | PIN_INPUT )}, /* mcasp4_fsx.spi3_d1 -> vout1_de.spi3_d1 */
{VOUT1_CLK , (M8 | PIN_INPUT_PULLUP)}, /* mcasp4_axr1.spi3_cs0 ->vout1_clk.spi3_cs0 */

/* UART3 */
{MCASP5_AXR1, (M4 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd -> mcasp5_axr1.uart3_txd */
{MCASP5_AXR0, (M4 | PIN_INPUT )}, /* uart2_ctsn.uart3_rxd -> mcasp5_axr0.uart3_rxd */

/* GPIO_VPP_PWR_EN */
{VIN1B_CLK1, (M14 | PIN_OUTPUT)}, /* vin1a_d17.gpio3_21 -> vin1b_clk1.gpio2_31 */

/* STATUS LED */
{VOUT1_D4, (M14 | PIN_INPUT )}, /* vin2a_vsync0.gpio4_0 AM57XX_STATUSLED0_RED -> vout1_d4.gpio8_4 */
{VOUT1_D7, (M14 | PIN_OUTPUT)}, /* vin1a_d8.gpio3_12 AM57XX_STATUSLED0_YEL -> vout1_d7.gpio8_7 */
{VOUT1_D5, (M14 | PIN_OUTPUT)}, /* vin1a_d7.gpio3_11 AM57XX_STATUSLED0_GRN -> vout1_d5.gpio8_5 */
{VOUT1_D6, (M14 | PIN_OUTPUT)}, /* vin1a_d6.gpio3_10 AM57XX_STATUSLED1_RED -> vout1_d6.gpio8_6 */
{UART1_RXD, (M14 | PIN_OUTPUT | SLEWCONTROL)}, /* uart1_rxd.gpio7_22 AM57XX_STATUSLED1_YEL */
{UART1_TXD, (M14 | PIN_OUTPUT | SLEWCONTROL)}, /* uart1_txd.gpio7_23 AM57XX_STATUSLED1_GRN */

/* HAPTICS_TRIG */
{SPI1_SCLK, (M14 | PIN_OUTPUT)}, /* spi1_sclk.gpio7_7 AM572X_HAPTICS_TRIG A25 */

/* INDETHER_LED */
{GPMC_CLK , (M14 | PIN_INPUT )}, /* mcasp2_axr4.gpio1_4 AM57XX_INDETHER_LED0_YEL D15 -> gpmc_clk.gpio2_22 */
{GPMC_ADVN_ALE, (M14 | PIN_OUTPUT)}, /* vin1a_d5.gpio3_9 AM57XX_INDETHER_LED0_GRN -> gpmc_advn_ale.gpio2_23 */
{GPMC_OEN_REN , (M14 | PIN_OUTPUT)}, /* xref_clk2.gpio6_19 AM57XX_INDETHER_LED0_RED -> gpmc_oen_ren.gpio2_24 */
{GPMC_WEN , (M14 | PIN_OUTPUT)}, /* vin1a_d13.gpio3_17 AM57XX_INDETHER_LED3_GRN -> gpmc_wen.gpio2_25 */
{GPMC_BEN0 , (M14 | PIN_OUTPUT)}, /* vin1a_d14.gpio3_18 AM57XX_INDETHER_LED3_YEL -> gpmc_ben0.gpio2_26 */
{GPMC_BEN1 , (M14 | PIN_OUTPUT)}, /* spi1_cs1.gpio7_11 AM57XX_INDETHER_LED3_RED A22 -> gpmc_ben1.gpio2_27 */
{GPMC_WAIT0 , (M14 | PIN_OUTPUT)}, /* spi1_d1.gpio7_8 AM57XX_INDETHER_LED2_GRN F16 -> gpmc_wait0.gpio2_28 */
// {SPI1_D0, (M14 | PIN_OUTPUT)}, /* spi1_d0.gpio7_9 AM57XX_INDETHER_LED2_RED B25 */
// {SPI1_CS0, (M14 | PIN_OUTPUT)}, /* spi1_cs0.gpio7_10 AM57XX_INDETHER_LED2_YEL A24 */
// {MCASP2_AXR5, (M14 | PIN_OUTPUT)}, /* mcasp2_axr5.gpio6_7 AM57XX_INDETHER_LED1_RED B16 */
// {MCASP2_AXR6, (M14 | PIN_OUTPUT)}, /* mcasp2_axr6.gpio2_29 AM57XX_INDETHER_LED1_GRN B17 */
// {MCASP2_AXR7, (M14 | PIN_INPUT)}, /* mcasp2_axr7.gpio1_5 AM57XX_INDETHER_LED1_YEL A17 */

/* GPIO_USB2_VBUS_DET */
{UART3_RXD, (M14 | PIN_INPUT)}, /* vin1a_d22.gpio3_26 -> uart3_rxd.gpio5_18 */

/* PMIC_INT */
{UART3_TXD, (M14 | PIN_INPUT_PULLUP)}, /* gpio6_16.gpio6_16 F21 -> uart3_txd.gpio5_19 */

==================================================
arch/arm/dts/am572x-idk-common.dtsi
==================================================
&extcon_usb2 {
id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
};

&sn65hvs882 {
load-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
};

&pcie1_rc {
status = "okay";
gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
};

&pcie1_ep {
gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
};

==================================================
arch/arm/dts/am572x-idk-common.dtsi
==================================================
status-leds {
compatible = "gpio-leds";
cpu0-led {
label = "status0:red:cpu0";
gpios = <&gpio8 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "cpu0";
};

usr0-led {
label = "status0:green:usr";
gpios = <&gpio8 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};

heartbeat-led {
label = "status0:blue:heartbeat";
gpios = <&gpio8 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "heartbeat";
};

cpu1-led {
label = "status1:red:cpu1";
gpios = <&gpio8 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "cpu1";
};

&extcon_usb2 {
id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
};

&sn65hvs882 {
load-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
};

&pcie1_rc {
status = "okay";
gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
};

&pcie1_ep {
gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
};

==================================================
arch/arm/dts/am57xx-idk-common.dtsi
==================================================
&i2c1 {
status = "okay";
clock-frequency = <400000>;

tps659038: tps659038@58 {
compatible = "ti,tps659038";
reg = <0x58>;
interrupts-extended = <&gpio5 19 IRQ_TYPE_LEVEL_HIGH
&dra7_pmx_core 0x418>;
#interrupt-cells = <2>;
interrupt-controller;
ti,system-power-controller;
ti,palmas-override-powerhold;

==================================================
arch/arm/dts/omap5-u-boot.dtsi
==================================================
&gpio7 {
u-boot,dm-spl;
};

&gpio8 {
u-boot,dm-spl;
};

&i2c1 {
u-boot,dm-spl;
};


==================================================
terminal boot message
==================================================

U-Boot SPL 2019.01-g80b6c2b052-dirty (Jul 04 2021 - 22:20:40 +0900)
DRA762-GP ES1.0 ABZ package
uclass_find_device_by_seq: 0 0
- 0 -1 'ipu@58820000'
- not found
uclass_find_device_by_seq: 1 0
- 0 -1 'ipu@58820000'
- found
uclass_find_device_by_seq: 0 0
- 0 -1 'ipu@58820000'
- not found
rproc_pre_probe: 'ipu@58820000': using fdt
fdtdec_get_bool: remoteproc-internal-memory-mapped
fdtdec_get_addr_size_auto_noparent: fdtdec_get_addr_size_auto_parent: na=1, ns=1, fdtdec_get_addr_size_fixed: reg: addr=58820000, size=10000
OF: ** translation for device ipu@58820000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00008258
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=58820000
OF: parent translation for: 00000000 00000000
OF: with offset: 1484914688
OF: one level translation: 00000000 00008258
OF: reached root node
reset_get_by_index(dev=4037ee2c, index=2, reset_ctl=81fffe64)
fdtdec_get_int: #reset-cells: 0x1 (1)
fdtdec_get_int: #reset-cells: 0x1 (1)
fdtdec_get_int: #reset-cells: 0x1 (1)
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 0 'ocp'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 -1 'l4@4ae00000'
- -1 -1 'prm@6000'
- -1 -1 'ocp2scp@4a080000'
- not found
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 0 'ocp'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 1 'l4@4ae00000'
- found
uclass_find_device_by_seq: 0 2
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 1 'l4@4ae00000'
- -1 -1 'prm@6000'
- -1 -1 'ocp2scp@4a080000'
- not found
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'ipu1_rst@510'
- not found
OF: ** translation for device ipu1_rst@510 **
OF: bus is default (na=1, ns=1) on prm@6000
OF: translating address: 10050000
OF: parent bus is default (na=1, ns=1) on l4@4ae00000
OF: walking ranges...
OF: default map, cp=0, s=3000, da=510
OF: parent translation for: 00600000
OF: with offset: 1296
OF: one level translation: 10650000
OF: parent bus is default (na=1, ns=1) on ocp
OF: walking ranges...
OF: default map, cp=0, s=3f000, da=6510
OF: parent translation for: 0000e04a
OF: with offset: 25872
OF: one level translation: 1065e04a
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4ae06510
OF: parent translation for: 00000000 00000000
OF: with offset: 1256219920
OF: one level translation: 00000000 1065e04a
OF: reached root node
ofnode_read_u32: ti,nresets: 0x3 (3)
reset_of_xlate_default(reset_ctl=81fffe64)
reset_deassert(reset_ctl=81fffe64)
OF: ** translation for device ipu@58820000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00008258
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=58820000
OF: parent translation for: 00000000 00000000
OF: with offset: 1484914688
OF: one level translation: 00000000 00008258
OF: reached root node
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'fs_loader@0'
- not found
ofnode_read_string: firmware-loader: /fs_loader@0
ofnode_read_u32_array: phandlepart: fdtdec_get_int_array: phandlepart
get_prop_check_min_len: phandlepart
ofnode_read_string: mtdpart: <not found>
ofnode_read_string: ubivol: <not found>
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'mmc@4809c000'
- -1 -1 'mmc@480b4000'
- not found
OF: ** translation for device mmc@4809c000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00c00948
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4809c000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208598528
OF: one level translation: 00000000 00c00948
OF: reached root node
ofnode_read_u32: bus-width: 0x4 (4)
ofnode_read_u32: max-frequency: 0xb71b000 (192000000)
ofnode_read_bool: cap-sd-highspeed: false
ofnode_read_bool: cap-mmc-highspeed: false
ofnode_read_bool: sd-uhs-sdr12: true
ofnode_read_bool: sd-uhs-sdr25: true
ofnode_read_bool: sd-uhs-sdr50: true
ofnode_read_bool: sd-uhs-sdr104: true
ofnode_read_bool: sd-uhs-ddr50: true
ofnode_read_bool: mmc-ddr-1_8v: false
ofnode_read_bool: mmc-ddr-1_2v: false
ofnode_read_bool: mmc-hs200-1_8v: false
ofnode_read_bool: mmc-hs200-1_2v: false
ofnode_read_bool: mmc-hs400-1_8v: false
ofnode_read_bool: mmc-hs400-1_2v: false
fdtdec_get_bool: ti,dual-volt
fdtdec_get_bool: no-1-8-v
OF: ** translation for device mmc@4809c000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00c00948
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4809c000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208598528
OF: one level translation: 00000000 00c00948
OF: reached root node
fail to find default mode FDT_ERR_NOTFOUND
no pinctrl state for default mode
uclass_find_device_by_seq: 0 0
- 0 0 'i2c@48070000'
- found
i2c_get_chip_for_busnum: bus='i2c@48070000', address 58, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 58: found, ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x58, len=0x2
uclass_find_device_by_seq: 0 0
- 0 0 'i2c@48070000'
- found
i2c_get_chip_for_busnum: bus='i2c@48070000', address 58, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 58: found, ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x58, len=0x2
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'mmc@4809c000.blk'
- -1 -1 'mmc@480b4000.blk'
- not found
clock is disabled (0Hz)
clock is enabled (400000Hz)
sd card: widths [4, 1, MMC legacy, SD High Speed (50MHz)]
host: widths [4, 1, MMC legacy, MMC High Speed (26MHz), SD High Speed (50MHz), MMC High Speed (52MHz)]
clock is enabled (50000000Hz)
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
part_init: try 'EFI': ret=-1
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
part_init: try 'DOS': ret=0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32, fat_sect: 32, fatlength: 1103
Rootdir begins at cluster: 2, sector: 2238, offset: 117c00
Data begins at: 2236
Sector size: 512, cluster size: 1
FAT read(sect=2238), clust_size=1, DIRENTSPERBLOCK=16
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32: entry: 0x00000002 = 2, offset: 0x0002 = 2
debug: evicting -1, dirty: 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32: ret: 0x0ffffff8, entry: 0x00000002, offset: 0x0002
nextclust: 0xffffff8
** Unable to read file dra7-ipu1-fw.xem4 **
Error: -2 Failed to read dra7-ipu1-fw.xem4 from flash 4625416243971090396 != 0.
Firmware loading failed
rproc_dev_init: Unknown remote processor id '0' requested(-22)
spl_boot_ipu: IPU1 failed to initialize on rproc (-22)
Trying to boot from MMC1
uclass_find_device_by_seq: 0 0
- -1 0 'mmc@4809c000'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'mmc@4809c000'
- -1 -1 'mmc@480b4000'
- not found
uclass_find_device_by_seq: 1 1
- -1 0 'mmc@4809c000'
- -1 -1 'mmc@480b4000'
- not found
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 0 'mmc@4809c000'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'mmc@4809c000'
- -1 -1 'mmc@480b4000'
- not found
OF: ** translation for device mmc@480b4000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00400b48
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=480b4000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208696832
OF: one level translation: 00000000 00400b48
OF: reached root node
ofnode_read_u32: bus-width: 0x8 (8)
ofnode_read_u32: max-frequency: 0x5b8d800 (96000000)
ofnode_read_bool: cap-sd-highspeed: false
ofnode_read_bool: cap-mmc-highspeed: false
ofnode_read_bool: sd-uhs-sdr12: true
ofnode_read_bool: sd-uhs-sdr25: true
ofnode_read_bool: sd-uhs-sdr50: false
ofnode_read_bool: sd-uhs-sdr104: false
ofnode_read_bool: sd-uhs-ddr50: false
ofnode_read_bool: mmc-ddr-1_8v: true
ofnode_read_bool: mmc-ddr-1_2v: false
ofnode_read_bool: mmc-hs200-1_8v: false
ofnode_read_bool: mmc-hs200-1_2v: false
ofnode_read_bool: mmc-hs400-1_8v: false
ofnode_read_bool: mmc-hs400-1_2v: false
fdtdec_get_bool: ti,dual-volt
fdtdec_get_bool: no-1-8-v
OF: ** translation for device mmc@480b4000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00400b48
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=480b4000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208696832
OF: one level translation: 00000000 00400b48
OF: reached root node
fail to find default mode FDT_ERR_NOTFOUND
no pinctrl state for default mode
==>>> boot mode(2) device(5) [spl_mmc_load : 353 : common/spl/spl_mmc.c]
spl: mmc boot mode: fs
env_init: Environment FAT init done (ret=-2)
env_init: Environment MMC init done (ret=-2)
Loading Environment from FAT... blk_get_devnum_by_typename: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
blk_get_devnum_by_typename: Device desc 4037e9d4
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
** Can't read partition table on 0:0 **
** Invalid partition 1 **
==>>> device part str mmc -1... [env_fat_load : 97 : env/fat.c]
Using default environment
Destroy Hash Table: 403289ec table = 00000000
Create Hash Table: N=512
INSERT: table 403289ec, filled 1/521 rv 81f157d4 ==> name="bootargs" value="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
INSERT: table 403289ec, filled 2/521 rv 81f14064 ==> name="bootcmd" value="if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 1; fi;if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run envboot; run mmcboot;run emmc_linux_boot; run emmc_android_boot; run setconsole;"
INSERT: table 403289ec, filled 3/521 rv 81f148c0 ==> name="bootdelay" value="2"
INSERT: table 403289ec, filled 4/521 rv 81f13c40 ==> name="baudrate" value="115200"
INSERT: table 403289ec, filled 5/521 rv 81f1345c ==> name="arch" value="arm"
INSERT: table 403289ec, filled 6/521 rv 81f14c58 ==> name="cpu" value="armv7"
INSERT: table 403289ec, filled 7/521 rv 81f14410 ==> name="board" value="am57xx"
INSERT: table 403289ec, filled 8/521 rv 81f13718 ==> name="board_name" value="am57xx"
INSERT: table 403289ec, filled 9/521 rv 81f14ce4 ==> name="vendor" value="ti"
INSERT: table 403289ec, filled 10/521 rv 81f152ac ==> name="soc" value="omap5"
INSERT: table 403289ec, filled 11/521 rv 81f14744 ==> name="loadaddr" value="0x82000000"
INSERT: table 403289ec, filled 12/521 rv 81f140c8 ==> name="kernel_addr_r" value="0x82000000"
INSERT: table 403289ec, filled 13/521 rv 81f14a64 ==> name="fdtaddr" value="0x88000000"
INSERT: table 403289ec, filled 14/521 rv 81f13a24 ==> name="fdt_addr_r" value="0x88000000"
INSERT: table 403289ec, filled 15/521 rv 81f148ac ==> name="rdaddr" value="0x88080000"
INSERT: table 403289ec, filled 16/521 rv 81f14de8 ==> name="ramdisk_addr_r" value="0x88080000"
INSERT: table 403289ec, filled 17/521 rv 81f138bc ==> name="scriptaddr" value="0x80000000"
INSERT: table 403289ec, filled 18/521 rv 81f1372c ==> name="pxefile_addr_r" value="0x80100000"
INSERT: table 403289ec, filled 19/521 rv 81f1309c ==> name="bootm_size" value="0x10000000"
INSERT: table 403289ec, filled 20/521 rv 81f13bc8 ==> name="boot_fdt" value="try"
INSERT: table 403289ec, filled 21/521 rv 81f13560 ==> name="mmcdev" value="0"
INSERT: table 403289ec, filled 22/521 rv 81f1426c ==> name="mmcrootfstype" value="ext4 rootwait"

Terminal Boot Message Stopped..
Reset


U-Boot SPL 2019.01-gfb289ff185-dirty (Jul 05 2021 - 05:25:13 +0900)
DRA762-GP ES1.0 ABZ package
uclass_find_device_by_seq: 0 0
- 0 -1 'ipu@58820000'
- not found
uclass_find_device_by_seq: 1 0
- 0 -1 'ipu@58820000'
- found
uclass_find_device_by_seq: 0 0
- 0 -1 'ipu@58820000'
- not found
rproc_pre_probe: 'ipu@58820000': using fdt
fdtdec_get_bool: remoteproc-internal-memory-mapped
fdtdec_get_addr_size_auto_noparent: fdtdec_get_addr_size_auto_parent: na=1, ns=1, fdtdec_get_addr_size_fixed: reg: addr=58820000, size=10000
OF: ** translation for device ipu@58820000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00008258
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=58820000
OF: parent translation for: 00000000 00000000
OF: with offset: 1484914688
OF: one level translation: 00000000 00008258
OF: reached root node
reset_get_by_index(dev=4037ee2c, index=2, reset_ctl=81fffe64)
fdtdec_get_int: #reset-cells: 0x1 (1)
fdtdec_get_int: #reset-cells: 0x1 (1)
fdtdec_get_int: #reset-cells: 0x1 (1)
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 0 'ocp'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 -1 'l4@4ae00000'
- -1 -1 'prm@6000'
- -1 -1 'ocp2scp@4a080000'
- not found
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 0 'ocp'
- found
uclass_find_device_by_seq: 0 1
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 1 'l4@4ae00000'
- found
uclass_find_device_by_seq: 0 2
- -1 0 'ocp'
- -1 -1 'l4@4a000000'
- -1 -1 'scm@2000'
- -1 1 'l4@4ae00000'
- -1 -1 'prm@6000'
- -1 -1 'ocp2scp@4a080000'
- not found
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'ipu1_rst@510'
- not found
OF: ** translation for device ipu1_rst@510 **
OF: bus is default (na=1, ns=1) on prm@6000
OF: translating address: 10050000
OF: parent bus is default (na=1, ns=1) on l4@4ae00000
OF: walking ranges...
OF: default map, cp=0, s=3000, da=510
OF: parent translation for: 00600000
OF: with offset: 1296
OF: one level translation: 10650000
OF: parent bus is default (na=1, ns=1) on ocp
OF: walking ranges...
OF: default map, cp=0, s=3f000, da=6510
OF: parent translation for: 0000e04a
OF: with offset: 25872
OF: one level translation: 1065e04a
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4ae06510
OF: parent translation for: 00000000 00000000
OF: with offset: 1256219920
OF: one level translation: 00000000 1065e04a
OF: reached root node
ofnode_read_u32: ti,nresets: 0x3 (3)
reset_of_xlate_default(reset_ctl=81fffe64)
reset_deassert(reset_ctl=81fffe64)
OF: ** translation for device ipu@58820000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00008258
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=58820000
OF: parent translation for: 00000000 00000000
OF: with offset: 1484914688
OF: one level translation: 00000000 00008258
OF: reached root node
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'fs_loader@0'
- not found
ofnode_read_string: firmware-loader: /fs_loader@0
ofnode_read_u32_array: phandlepart: fdtdec_get_int_array: phandlepart
get_prop_check_min_len: phandlepart
ofnode_read_string: mtdpart: <not found>
ofnode_read_string: ubivol: <not found>
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'mmc@4809c000'
- -1 -1 'mmc@480b4000'
- not found
OF: ** translation for device mmc@4809c000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00c00948
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4809c000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208598528
OF: one level translation: 00000000 00c00948
OF: reached root node
ofnode_read_u32: bus-width: 0x4 (4)
ofnode_read_u32: max-frequency: 0xb71b000 (192000000)
ofnode_read_bool: cap-sd-highspeed: false
ofnode_read_bool: cap-mmc-highspeed: false
ofnode_read_bool: sd-uhs-sdr12: true
ofnode_read_bool: sd-uhs-sdr25: true
ofnode_read_bool: sd-uhs-sdr50: true
ofnode_read_bool: sd-uhs-sdr104: true
ofnode_read_bool: sd-uhs-ddr50: true
ofnode_read_bool: mmc-ddr-1_8v: false
ofnode_read_bool: mmc-ddr-1_2v: false
ofnode_read_bool: mmc-hs200-1_8v: false
ofnode_read_bool: mmc-hs200-1_2v: false
ofnode_read_bool: mmc-hs400-1_8v: false
ofnode_read_bool: mmc-hs400-1_2v: false
fdtdec_get_bool: ti,dual-volt
fdtdec_get_bool: no-1-8-v
OF: ** translation for device mmc@4809c000 **
OF: bus is default (na=1, ns=1) on ocp
OF: translating address: 00c00948
OF: parent bus is default (na=2, ns=2) on
OF: walking ranges...
OF: default map, cp=0, s=c0000000, da=4809c000
OF: parent translation for: 00000000 00000000
OF: with offset: 1208598528
OF: one level translation: 00000000 00c00948
OF: reached root node
fail to find default mode FDT_ERR_NOTFOUND
no pinctrl state for default mode
uclass_find_device_by_seq: 0 0
- 0 0 'i2c@48070000'
- found
i2c_get_chip_for_busnum: bus='i2c@48070000', address 58, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 58: found, ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x58, len=0x2
uclass_find_device_by_seq: 0 0
- 0 0 'i2c@48070000'
- found
i2c_get_chip_for_busnum: bus='i2c@48070000', address 58, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 58: found, ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x58, len=0x2
uclass_find_device_by_seq: 0 -1
uclass_find_device_by_seq: 0 0
- -1 -1 'mmc@4809c000.blk'
- -1 -1 'mmc@480b4000.blk'
- not found
clock is disabled (0Hz)
clock is enabled (400000Hz)
sd card: widths [4, 1, MMC legacy, SD High Speed (50MHz)]
host: widths [4, 1, MMC legacy, MMC High Speed (26MHz), SD High Speed (50MHz), MMC High Speed (52MHz)]
clock is enabled (50000000Hz)
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
part_init: try 'EFI': ret=-1
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
part_init: try 'DOS': ret=0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32, fat_sect: 32, fatlength: 1103
Rootdir begins at cluster: 2, sector: 2238, offset: 117c00
Data begins at: 2236
Sector size: 512, cluster size: 1
FAT read(sect=2238), clust_size=1, DIRENTSPERBLOCK=16
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32: entry: 0x00000002 = 2, offset: 0x0002 = 2
debug: evicting -1, dirty: 0
blk_find_device: if_type=6, devnum=0: mmc@4809c000.blk, 6, 0
FAT32: ret: 0x0ffffff8, entry: 0x00000002, offset: 0x0002
nextclust: 0xffffff8

Terminal Boot Message Stopped..

Please let me know if I am missing anything when setting up a custom board.

I'm using the latest PROCESSOR-SDK-LINUX-AM57X Version: 06.03.00.106.
Same symptoms when testing using a different SD card.

It was confirmed that the SD card is the default MLO / U-boot.img and booted normally on the TMDSIDK574 board.
The boot issue is an AM5749 custom board built on the TMDSIDK574.
There are changes to the pinmap, and it has been changed from a micro SD slot to a regular SD slot.

This is a schematic related to SD CARD.