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.

AM625: Unable to boot from SD card on custom AM625, need help to customize u-boot as well as required device tree changes to boot the device from SD card.

Part Number: AM625
Other Parts Discussed in Thread: SYSCONFIG

I recently flashed the default TI image onto a 32 GB SD card using the balaneether tool and attempted to boot it on our System on Module (SOM). However, during the boot process, I encountered the following error within the u-boot window:

Here, are the logs for the same.


U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:35 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC1
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from MMC... OK
init_env from device 9 not supported!
Starting ATF on ARM64 core...
NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3a6
NOTICE: BL31: Built : 10:35:32, Feb 28 2023
I/TC:
I/TC: OP-TEE version: 08.06.00.007-android (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))) #1 Tue Feb 28 09:35:41 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot
U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:44 +0100)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
Trying to boot from MMC1

U-Boot 2021.01 (Mar 01 2023 - 19:44:05 +0100)
SoC: AM62X SR1.0 GP
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Board: AM62-SKEVM rev E2
DRAM: 2 GiB
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
switch to partitions #0, OK
mmc1 is current device
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
SD/MMC found on device 1
mmc fail to send stop cmd
Failed to load 'boot.scr'
Unrecognized filesystem type
No partition table - mmc 1
No partition table - mmc 1
No partition table - mmc 1
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!


Despite my attempts, I haven't been able to resolve this issue.

What do I need to do know, if need to edit or customize u-boot and all other required software to boot the device from SD card, help me


  • Also, tere are some changes on custom AM625 created like ethernet port on AM625-SK_EVM was RGMII and on AM625_SOM we've used RMII, so need help in configuring all the device tree for the same.
    Below I'm attaching the devicetree.dtsi file generated from the SysConfig tool:

    /* This file was auto-generated by TI PinMux on 10/11/2023 at 6:29:05 PM. */
    /* This file should only be used as a reference. Some pins/peripherals, */
    /* depending on your use case, may need additional configuration. */
    
    /* Some or all of the pins from the following groups are not used by the device tree
    	camerainterface
    	ddr4
    	mcuosc0
    	lvdsdisplay
    	socusb0
    	socusb1
    	wkuplfosc0
    */
    
    &main_pmx0 {
    	rgbinterface_pins_default: rgbinterface-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */
    			AM62X_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */
    			AM62X_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */
    			AM62X_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */
    			AM62X_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */
    			AM62X_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */
    			AM62X_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */
    			AM62X_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */
    			AM62X_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */
    			AM62X_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */
    			AM62X_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */
    			AM62X_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */
    			AM62X_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */
    			AM62X_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */
    			AM62X_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */
    			AM62X_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */
    			AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */
    			AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */
    			AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */
    			AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */
    			AM62X_IOPAD(0x005c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */
    			AM62X_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */
    			AM62X_IOPAD(0x0064, PIN_OUTPUT, 1) /* (T25) GPMC0_AD10.VOUT0_DATA18 */
    			AM62X_IOPAD(0x0068, PIN_OUTPUT, 1) /* (R21) GPMC0_AD11.VOUT0_DATA19 */
    			AM62X_IOPAD(0x006c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */
    			AM62X_IOPAD(0x0070, PIN_OUTPUT, 1) /* (T24) GPMC0_AD13.VOUT0_DATA21 */
    			AM62X_IOPAD(0x0074, PIN_OUTPUT, 1) /* (U25) GPMC0_AD14.VOUT0_DATA22 */
    			AM62X_IOPAD(0x0078, PIN_OUTPUT, 1) /* (U24) GPMC0_AD15.VOUT0_DATA23 */
    		>;
    	};
    	gpio1_pins_default: gpio1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0178, PIN_OUTPUT, 7) /* (AC20) RGMII2_TD3.GPIO1_0 */
    			AM62X_IOPAD(0x018c, PIN_OUTPUT, 7) /* (AC21) RGMII2_RD2.GPIO1_5 */
    			AM62X_IOPAD(0x019c, PIN_OUTPUT, 7) /* (B18) MCASP0_AXR1.GPIO1_9 */
    			AM62X_IOPAD(0x01a0, PIN_OUTPUT, 7) /* (E18) MCASP0_AXR0.GPIO1_10 */
    			AM62X_IOPAD(0x01a4, PIN_OUTPUT, 7) /* (B20) MCASP0_ACLKX.GPIO1_11 */
    			AM62X_IOPAD(0x01a8, PIN_OUTPUT, 7) /* (D20) MCASP0_AFSX.GPIO1_12 */
    			AM62X_IOPAD(0x01b8, PIN_OUTPUT, 7) /* (C13) SPI0_CS1.GPIO1_16 */
    			AM62X_IOPAD(0x0244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */
    			AM62X_IOPAD(0x0254, PIN_OUTPUT, 7) /* (C20) USB0_DRVVBUS.GPIO1_50 */
    		>;
    	};
    	gpio0_pins_default: gpio0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x007c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */
    			AM62X_IOPAD(0x0088, PIN_OUTPUT, 7) /* (L24) GPMC0_OEn_REn.GPIO0_33 */
    			AM62X_IOPAD(0x0094, PIN_OUTPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */
    			AM62X_IOPAD(0x009c, PIN_OUTPUT, 7) /* (V25) GPMC0_WAIT1.GPIO0_38 */
    			AM62X_IOPAD(0x00a0, PIN_OUTPUT, 7) /* (K25) GPMC0_WPn.GPIO0_39 */
    			AM62X_IOPAD(0x00a8, PIN_OUTPUT, 7) /* (M21) GPMC0_CSn0.GPIO0_41 */
    			AM62X_IOPAD(0x00ac, PIN_OUTPUT, 7) /* (L21) GPMC0_CSn1.GPIO0_42 */
    			AM62X_IOPAD(0x0174, PIN_OUTPUT, 7) /* (AD21) RGMII2_TD2.GPIO0_91 */
    		>;
    	};
    	soci2c0_pins_default: soci2c0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01e0, PIN_OUTPUT_PULLUP, 0) /* (B16) I2C0_SCL */
    			AM62X_IOPAD(0x01e4, PIN_OUTPUT_PULLUP, 0) /* (A16) I2C0_SDA */
    		>;
    	};
    	soci2c1_pins_default: soci2c1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01e8, PIN_OUTPUT_PULLUP, 0) /* (B17) I2C1_SCL */
    			AM62X_IOPAD(0x01ec, PIN_OUTPUT_PULLUP, 0) /* (A17) I2C1_SDA */
    		>;
    	};
    	soci2c2_pins_default: soci2c2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x00b0, PIN_OUTPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */
    			AM62X_IOPAD(0x00b4, PIN_OUTPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */
    		>;
    	};
    	mcan0_pins_default: mcan0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */
    			AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */
    		>;
    	};
    	mcasp1_pins_default: mcasp1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0n_CLE.MCASP1_ACLKX */
    			AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */
    			AM62X_IOPAD(0x008c, PIN_INPUT, 2) /* (L25) GPMC0_WEn.MCASP1_AXR0 */
    			AM62X_IOPAD(0x0084, PIN_INPUT, 2) /* (L23) GPMC0_ADVn_ALE.MCASP1_AXR2 */
    		>;
    	};
    	mdio0_pins_default: mdio0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */
    			AM62X_IOPAD(0x015c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */
    		>;
    	};
    	mmc0-emmc_pins_default: mmc0-emmc-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0220, PIN_INPUT_PULLUP, 0) /* (Y3) MMC0_CMD */
    			AM62X_IOPAD(0x0218, PIN_OUTPUT, 0) /* (AB1) MMC0_CLK */
    			AM62X_IOPAD(0x0214, PIN_INPUT_PULLUP, 0) /* (AA2) MMC0_DAT0 */
    			AM62X_IOPAD(0x0210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */
    			AM62X_IOPAD(0x020c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */
    			AM62X_IOPAD(0x0208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */
    			AM62X_IOPAD(0x0204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */
    			AM62X_IOPAD(0x0200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */
    			AM62X_IOPAD(0x01fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */
    			AM62X_IOPAD(0x01f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */
    		>;
    	};
    	mmc1-sdcard_pins_default: mmc1-sdcard-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
    			AM62X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (B22) MMC1_CLK */
    			AM62X_IOPAD(0x0230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */
    			AM62X_IOPAD(0x022c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */
    			AM62X_IOPAD(0x0228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */
    			AM62X_IOPAD(0x0224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
    			AM62X_IOPAD(0x0240, PIN_OUTPUT, 0) /* (D17) MMC1_SDCD */
    		>;
    	};
    	mmc2-sdio_pins_default: mmc2-sdio-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0120, PIN_INPUT, 0) /* (C24) MMC2_CMD */
    			AM62X_IOPAD(0x0118, PIN_OUTPUT, 0) /* (D25) MMC2_CLK */
    			AM62X_IOPAD(0x011C, PIN_INPUT, 0) /* () MMC2_CLKLB */
    			AM62X_IOPAD(0x0114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */
    			AM62X_IOPAD(0x0110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */
    			AM62X_IOPAD(0x010c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */
    			AM62X_IOPAD(0x0108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */
    		>;
    	};
    	pruheader_pins_default: pruheader-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x003c, PIN_OUTPUT, 4) /* (M25) GPMC0_AD0.PR0_PRU0_GPO0 */
    			AM62X_IOPAD(0x0040, PIN_OUTPUT, 4) /* (N23) GPMC0_AD1.PR0_PRU0_GPO1 */
    			AM62X_IOPAD(0x0044, PIN_OUTPUT, 4) /* (N24) GPMC0_AD2.PR0_PRU0_GPO2 */
    			AM62X_IOPAD(0x0048, PIN_OUTPUT, 4) /* (N25) GPMC0_AD3.PR0_PRU0_GPO3 */
    			AM62X_IOPAD(0x004c, PIN_OUTPUT, 4) /* (P24) GPMC0_AD4.PR0_PRU0_GPO4 */
    			AM62X_IOPAD(0x0050, PIN_OUTPUT, 4) /* (P22) GPMC0_AD5.PR0_PRU0_GPO5 */
    			AM62X_IOPAD(0x0054, PIN_OUTPUT, 4) /* (P21) GPMC0_AD6.PR0_PRU0_GPO6 */
    			AM62X_IOPAD(0x0058, PIN_OUTPUT, 4) /* (R23) GPMC0_AD7.PR0_PRU0_GPO7 */
    		>;
    	};
    	cpswrgmii1_pins_default: cpswrgmii1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x014c, PIN_OUTPUT, 0) /* (AB17) RGMII1_RD0 */
    			AM62X_IOPAD(0x0150, PIN_OUTPUT, 0) /* (AC17) RGMII1_RD1 */
    			AM62X_IOPAD(0x0154, PIN_OUTPUT, 0) /* (AB16) RGMII1_RD2 */
    			AM62X_IOPAD(0x0158, PIN_OUTPUT, 0) /* (AA15) RGMII1_RD3 */
    			AM62X_IOPAD(0x0148, PIN_OUTPUT, 0) /* (AD17) RGMII1_RXC */
    			AM62X_IOPAD(0x0144, PIN_OUTPUT, 0) /* (AE17) RGMII1_RX_CTL */
    			AM62X_IOPAD(0x0134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */
    			AM62X_IOPAD(0x0138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */
    			AM62X_IOPAD(0x013c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */
    			AM62X_IOPAD(0x0140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */
    			AM62X_IOPAD(0x0130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */
    			AM62X_IOPAD(0x012c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */
    		>;
    	};
    	rmii2_pins_default: rmii2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0168, PIN_OUTPUT, 1) /* (AE21) RGMII2_TXC.RMII2_CRS_DV */
    			AM62X_IOPAD(0x0180, PIN_OUTPUT, 1) /* (AD23) RGMII2_RXC.RMII2_REF_CLK */
    			AM62X_IOPAD(0x0184, PIN_OUTPUT, 1) /* (AE23) RGMII2_RD0.RMII2_RXD0 */
    			AM62X_IOPAD(0x0188, PIN_OUTPUT, 1) /* (AB20) RGMII2_RD1.RMII2_RXD1 */
    			AM62X_IOPAD(0x017c, PIN_OUTPUT, 1) /* (AD22) RGMII2_RX_CTL.RMII2_RX_ER */
    			AM62X_IOPAD(0x016c, PIN_OUTPUT, 1) /* (Y18) RGMII2_TD0.RMII2_TXD0 */
    			AM62X_IOPAD(0x0170, PIN_OUTPUT, 1) /* (AA18) RGMII2_TD1.RMII2_TXD1 */
    			AM62X_IOPAD(0x0164, PIN_OUTPUT, 1) /* (AA19) RGMII2_TX_CTL.RMII2_TX_EN */
    		>;
    	};
    	tsspi0_pins_default: tsspi0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01bc, PIN_INPUT, 0) /* (A14) SPI0_CLK */
    			AM62X_IOPAD(0x01c0, PIN_OUTPUT, 0) /* (B13) SPI0_D0 */
    			AM62X_IOPAD(0x01c4, PIN_INPUT, 0) /* (B14) SPI0_D1 */
    			AM62X_IOPAD(0x01b4, PIN_OUTPUT, 0) /* (A13) SPI0_CS0 */
    		>;
    	};
    	socspi2_pins_default: socspi2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01b0, PIN_INPUT, 1) /* (A20) MCASP0_ACLKR.SPI2_CLK */
    			AM62X_IOPAD(0x0194, PIN_OUTPUT, 1) /* (B19) MCASP0_AXR3.SPI2_D0 */
    			AM62X_IOPAD(0x0198, PIN_INPUT, 1) /* (A19) MCASP0_AXR2.SPI2_D1 */
    			AM62X_IOPAD(0x01ac, PIN_OUTPUT, 1) /* (E19) MCASP0_AFSR.SPI2_CS0 */
    		>;
    	};
    	socspi1_pins_default: socspi1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0020, PIN_OUTPUT, 1) /* (J25) OSPI0_D5.SPI1_CLK */
    			AM62X_IOPAD(0x0024, PIN_OUTPUT, 1) /* (H25) OSPI0_D6.SPI1_D0 */
    			AM62X_IOPAD(0x0028, PIN_INPUT, 1) /* (J22) OSPI0_D7.SPI1_D1 */
    			AM62X_IOPAD(0x001c, PIN_OUTPUT, 1) /* (J23) OSPI0_D4.SPI1_CS0 */
    		>;
    	};
    	system0_pins_default: system0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01f0, PIN_OUTPUT_PULLUP, 5) /* (A18) EXT_REFCLK1.CLKOUT0 */
    			AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */
    			AM62X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (E21) PORz_OUT */
    			AM62X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (F22) RESETSTATz */
    			AM62X_IOPAD(0x0248, PIN_INPUT_PULLUP, 0) /* (F20) RESET_REQz */
    		>;
    	};
    	socuart0_pins_default: socuart0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
    			AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
    		>;
    	};
    	socuart2_pins_default: socuart2-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x01d0, PIN_INPUT, 3) /* (A15) UART0_CTSn.UART2_RXD */
    			AM62X_IOPAD(0x01d4, PIN_OUTPUT, 3) /* (B15) UART0_RTSn.UART2_TXD */
    		>;
    	};
    	socusb1_pins_default: socusb1-pins-default {
    		pinctrl-single,pins = <
    			AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */
    		>;
    	};
    };
    
    
    &mcu_pmx0 {
    	jtag_pins_default: jtag-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0078, PIN_INPUT_PULLUP, 0) /* (E12) EMU0 */
    			AM62X_MCU_IOPAD(0x007c, PIN_INPUT_PULLUP, 0) /* (C11) EMU1 */
    			AM62X_MCU_IOPAD(0x0064, PIN_INPUT_PULLUP, 0) /* (A10) TCK */
    			AM62X_MCU_IOPAD(0x006c, PIN_INPUT_PULLUP, 0) /* (A11) TDI */
    			AM62X_MCU_IOPAD(0x0070, PIN_OUTPUT_PULLUP, 0) /* (D12) TDO */
    			AM62X_MCU_IOPAD(0x0074, PIN_INPUT_PULLUP, 0) /* (B11) TMS */
    			AM62X_MCU_IOPAD(0x0068, PIN_INPUT_PULLDOWN, 0) /* (B10) TRSTn */
    		>;
    	};
    	mcugpio0_pins_default: mcugpio0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0004, PIN_OUTPUT, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 */
    			AM62X_MCU_IOPAD(0x003c, PIN_OUTPUT, 7) /* (E5) MCU_MCAN1_TX.MCU_GPIO0_15 */
    			AM62X_MCU_IOPAD(0x0040, PIN_OUTPUT, 7) /* (D4) MCU_MCAN1_RX.MCU_GPIO0_16 */
    			AM62X_MCU_IOPAD(0x0084, PIN_OUTPUT, 7) /* (A12) WKUP_CLKOUT0.MCU_GPIO0_23 */
    		>;
    	};
    	mcui2c0_pins_default: mcui2c0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0044, PIN_OUTPUT, 0) /* (A8) MCU_I2C0_SCL */
    			AM62X_MCU_IOPAD(0x0048, PIN_OUTPUT, 0) /* (D10) MCU_I2C0_SDA */
    		>;
    	};
    	mcumcan0_pins_default: mcumcan0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0038, PIN_INPUT, 0) /* (B3) MCU_MCAN0_RX */
    			AM62X_MCU_IOPAD(0x0034, PIN_OUTPUT, 0) /* (D6) MCU_MCAN0_TX */
    		>;
    	};
    	mcuspi0_pins_default: mcuspi0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 0) /* (A7) MCU_SPI0_CLK */
    			AM62X_MCU_IOPAD(0x000c, PIN_OUTPUT, 0) /* (D9) MCU_SPI0_D0 */
    			AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 0) /* (C9) MCU_SPI0_D1 */
    			AM62X_MCU_IOPAD(0x0000, PIN_OUTPUT, 0) /* (E8) MCU_SPI0_CS0 */
    		>;
    	};
    	mcusystem0_pins_default: mcusystem0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0060, PIN_OUTPUT_PULLDOWN, 0) /* (D1) MCU_ERRORn */
    			AM62X_MCU_IOPAD(0x0058, PIN_INPUT, 0) /* (D2) MCU_PORz */
    			AM62X_MCU_IOPAD(0x005c, PIN_OUTPUT, 0) /* (B12) MCU_RESETSTATz */
    			AM62X_MCU_IOPAD(0x0054, PIN_INPUT_PULLUP, 0) /* (E11) MCU_RESETz */
    		>;
    	};
    	mcuuart0_pins_default: mcuuart0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (B5) MCU_UART0_RXD */
    			AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */
    			AM62X_MCU_IOPAD(0x001c, PIN_INPUT, 0) /* (A6) MCU_UART0_CTSn */
    			AM62X_MCU_IOPAD(0x0020, PIN_OUTPUT, 0) /* (B6) MCU_UART0_RTSn */
    		>;
    	};
    	wkupi2c0_pins_default: wkupi2c0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x004c, PIN_INPUT, 0) /* (B9) WKUP_I2C0_SCL */
    			AM62X_MCU_IOPAD(0x0050, PIN_OUTPUT, 0) /* (A9) WKUP_I2C0_SDA */
    		>;
    	};
    	wkupsystem_pins_default: wkupsystem-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0080, PIN_OUTPUT, 0) /* (B7) PMIC_LPM_EN0 */
    		>;
    	};
    	wkupuart0_pins_default: wkupuart0-pins-default {
    		pinctrl-single,pins = <
    			AM62X_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (B4) WKUP_UART0_RXD */
    			AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */
    		>;
    	};
    };

  • Hello,

    I have assigned your thread. Please expect delays due to the holidays. Feel free to ping the thread if you do not have a response within the first week of January.

    Regards,

    Nick

  • Hello Nick,

    Their isn't any updates on the query I've raised.
    I'm expecting that you'll help me in solving this issue as soon as possible.

    Thanks & Regards,
    Aditya

  • Hello,
    1/. It is the customer board. correct?
    2/. Is booting from SD or eMMC?
    Best,
    -Hong

  • Hello,

    1. Yes its a customer board, AM625 SOM.

    2. Its booting Android from eMMC, but while trying to boot Linux from SD card these logs are generating.

    U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:35 +0100)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC1
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3a6
    NOTICE:  BL31: Built : 10:35:32, Feb 28 2023
    I/TC: 
    I/TC: OP-TEE version: 08.06.00.007-android (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))) #1 Tue Feb 28 09:35:41 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:44 +0100)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC1
    
    
    U-Boot 2021.01 (Mar 01 2023 - 19:44:05 +0100)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E2
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    switch to partitions #0, OK
    mmc1 is current device
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1490 bytes read in 3 ms (484.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    Failed to load '.psdk_setup'
    ## Resetting to default environment
    Saving Environment to MMC... Writing to MMC(0)... OK
    1 bytes written in 21 ms (0 Bytes/s)
    resetting ...
    
    U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:35 +0100)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC1
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3a6
    NOTICE:  BL31: Built : 10:35:32, Feb 28 2023
    I/TC: 
    I/TC: OP-TEE version: 08.06.00.007-android (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))) #1 Tue Feb 28 09:35:41 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-00427-g2ee8efd65436 (Feb 28 2023 - 10:35:44 +0100)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC1
    
    
    U-Boot 2021.01 (Mar 01 2023 - 19:44:05 +0100)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E2
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    switch to partitions #0, OK
    mmc1 is current device
    i2c_write: error waiting for data ACK (status=0x116)
    pca953x gpio@22: Error reading output register
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1490 bytes read in 3 ms (484.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 3 ms (0 Bytes/s)
    Already setup.
    19147264 bytes read in 1510 ms (12.1 MiB/s)
    55666 bytes read in 9 ms (5.9 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Feb 24 05:59:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1455840K/2097152K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 117024K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008529] Console: colour dummy device 80x25
    [    0.013123] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023805] pid_max: default: 32768 minimum: 301
    [    0.028617] LSM: Security Framework initializing
    [    0.033403] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040984] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050795] rcu: Hierarchical SRCU implementation.
    [    0.055971] Platform MSI: msi-controller@1820000 domain created
    [    0.062292] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071549] EFI services will not be available.
    [    0.076470] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    I/TC: Secondary CPU 2 initializing
    I/TC: Secondary CPU 2 switching to normal world boot
    I/TC: Secondary CPU 3 initializing
    I/TC: Secondary CPU 3 switching to normal world boot
    [    0.089755] Detected VIPT I-cache on CPU1
    [    0.089793] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.089808] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.089870] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.098537] Detected VIPT I-cache on CPU2
    [    0.098563] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.098574] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.098610] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.107233] Detected VIPT I-cache on CPU3
    [    0.107258] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.107269] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.107301] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.107372] smp: Brought up 1 node, 4 CPUs
    [    0.187081] SMP: Total of 4 processors activated.
    [    0.191894] CPU features: detected: 32-bit EL0 Support
    [    0.197158] CPU features: detected: CRC32 instructions
    [    0.209849] CPU: All CPU(s) started at EL2
    [    0.214057] alternatives: patching kernel code
    [    0.219786] devtmpfs: initialized
    [    0.230254] KASLR disabled due to lack of seed
    [    0.235010] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.244989] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.266356] pinctrl core: initialized pinctrl subsystem
    [    0.272393] DMI not present or invalid.
    [    0.277005] NET: Registered protocol family 16
    [    0.283242] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.290583] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.298650] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.307367] thermal_sys: Registered thermal governor 'step_wise'
    [    0.307374] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.313920] cpuidle: using governor menu
    [    0.324818] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.331861] ASID allocator initialised with 65536 entries
    [    0.362230] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.369110] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.375975] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.382827] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.390676] cryptd: max_cpu_qlen set to 1000
    [    0.397857] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.406950] vcc_5v0: supplied by vmain_pd
    [    0.411441] vcc_3v3_sys: supplied by vmain_pd
    [    0.416343] vcc_1v8: supplied by vcc_3v3_sys
    [    0.421708] iommu: Default domain type: Translated 
    [    0.427048] SCSI subsystem initialized
    [    0.431304] mc: Linux media interface: v0.10
    [    0.435690] videodev: Linux video capture interface: v2.00
    [    0.441361] pps_core: LinuxPPS API ver. 1 registered
    [    0.446436] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.455787] PTP clock support registered
    [    0.459824] EDAC MC: Ver: 3.0.0
    [    0.463700] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.470850] FPGA manager framework
    [    0.474429] Advanced Linux Sound Architecture Driver Initialized.
    [    0.481554] clocksource: Switched to clocksource arch_sys_counter
    [    0.488016] VFS: Disk quotas dquot_6.6.0
    [    0.492078] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.504365] NET: Registered protocol family 2
    [    0.509112] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.517819] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.526600] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.534810] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.542538] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.549433] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.556329] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.563808] NET: Registered protocol family 1
    [    0.568743] RPC: Registered named UNIX socket transport module.
    [    0.574818] RPC: Registered udp transport module.
    [    0.579655] RPC: Registered tcp transport module.
    [    0.584468] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.591059] NET: Registered protocol family 44
    [    0.595616] PCI: CLS 0 bytes, default 64
    [    0.600459] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.612501] Initialise system trusted keyrings
    [    0.617292] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.627491] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.634038] NFS: Registering the id_resolver key type
    [    0.639255] Key type id_resolver registered
    [    0.643532] Key type id_legacy registered
    [    0.647687] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.654542] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.662324] 9p: Installing v9fs 9p2000 file system support
    [    0.702853] Key type asymmetric registered
    [    0.707050] Asymmetric key parser 'x509' registered
    [    0.712073] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.719639] io scheduler mq-deadline registered
    [    0.724270] io scheduler kyber registered
    [    0.730488] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.736828] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.750187] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.770072] brd: module loaded
    [    0.780216] loop: module loaded
    [    0.784339] megasas: 07.714.04.00-rc1
    [    0.791773] tun: Universal TUN/TAP device driver, 1.6
    [    0.797573] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.803988] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.810093] sky2: driver version 1.30
    [    0.814801] VFIO - User Level meta-driver version: 0.3
    [    0.821084] i2c /dev entries driver
    [    0.826377] sdhci: Secure Digital Host Controller Interface driver
    [    0.832723] sdhci: Copyright(c) Pierre Ossman
    [    0.837505] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.844397] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.850888] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.859001] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.863609] optee: revision 3.20 (2c20168b)
    [    0.880201] optee: dynamic shared memory is enabled
    [    0.889852] optee: initialized driver
    [    0.895737] NET: Registered protocol family 17
    [    0.900450] 9pnet: Installing 9P2000 support
    [    0.904894] Key type dns_resolver registered
    [    0.909684] Loading compiled-in X.509 certificates
    [    0.926041] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
    [    0.935364] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    [    1.001493] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    1.009939] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    1.016387] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.025523] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.033171] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.039476] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.047842] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.057094] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.066560] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.074579] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.085605] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.095409] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.105495] printk: console [ttyS2] disabled
    [    1.109946] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
    [    1.118718] printk: console [ttyS2] enabled
    [    1.118718] printk: console [ttyS2] enabled
    [    1.127161] printk: bootconsole [ns16550a0] disabled
    [    1.127161] printk: bootconsole [ns16550a0] disabled
    [    1.141303] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    1.148238] spi-nor: probe of spi0.0 failed with error -2
    [    1.159140] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.205557] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.214642] mdio_bus 8000f00.mdio: MDIO device at address 1 is missing.
    [    1.221268] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.229445] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.242285] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.249411] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.256083] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.266352] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.276530] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    1.281731] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:08 UTC (8)
    [    1.394066] mmc0: CQHCI version 5.10
    [    1.395891] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    1.415434] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.422197] pca953x 1-0022: using AI
    [    1.444223] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.449679] pca953x 1-0022: failed writing register
    [    1.456751] pca953x: probe of 1-0022 failed with error -121
    [    1.469210] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [    1.476545] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [    1.483978] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [    1.491587] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.510838] ALSA device list:
    [    1.513842]   No soundcards found.
    [    1.517761] Waiting for root device PARTUUID=c879998c-02...
    [    1.541127] mmc0: Command Queue Engine enabled
    [    1.545592] mmc0: new HS200 MMC card at address 0001
    [    1.551256] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.555974] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.562067] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.568149] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.578505]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14
    [   31.805585] tlv71033: disabling
    

    The logs I've posted now are the latest one, but still it isn't booting properly.



    So, what may be the reason that, these logs are stopping here?
    Also, how to get use of the previously sent dsti file, which is generated by SysConfig tool?

  • while trying to boot Linux from SD card these logs are generating

    What is SYSBOOT[15:0]? or what is output from running "md.l 0x43000030 1" @u-boot prompt?
    Best,
    -Hong

  • Dear Hong,

    This output after giving md command in u-boot prompt

    => md.l 0x43000030 1
    43000030: 00000043                               C...
    => 
    


    Thanks & Regards,
    Aditya

  • Hello,
    Have we tried configuring BOOTMODE[15:0]=0243?
    Best,
    -Hong

  • Hello Hong,

    I'm unable to understand what you're trying to say, in "configuring BOOTMODE[15:0]=0243"
    What exactly I've configure here?

    Best Regards,
    Aditya

  • Hello,
    Refer to "5.3 Boot Mode Pins" in AM62x TRM.
    "BOOTMODE[15:0] = 0243 " needs to be configured for booting from SD on TI SK-62 board.
    Best,
    -Hong

  • Hello Hong,

    I referred documentation given by Ti, and configured Boot mode pins.
    But in our custom AM625 SOM we kept only 8 boot mode pins while on AM625 SKEVM there are 16 pins.

    Also after configuring the boot mode pins, the logs I'm getting are mentioned earlier.

    Best Regards,
    Aditya

  • Hello,
    Refer to "5.3 Boot Mode Pins" in AM62x TRM.
    "BOOTMODE[15:0] = 0243 " needs to be configured for booting from SD, as shown on TI SK-62 board.
    Best,
    -Hong