Tool/software:
We have studied J721s2-evm codebase and compile codebase and download image to microSD, DFU to eMMC
We can boot from microSD, boot from eMMC. But when we redesign our hardware and tried to boot from microSD
the kernel stuck at about 2second , uart_log-1127.txt is from TI , kernel_fail.log is from our hardware. We compare the log difference at about kernel start up at 2 seconds.
1. Can you give us the guide of how to solve the kernel hang ?
From the log 4fb0000.mmc is microSD card device(root), why the message "platform 4fb0000.mmc: deferred probe pending" show up?
[ 2.176713] Waiting for root device PARTUUID=076c4a2a-02...
[ 12.359017] platform 4fb0000.mmc: deferred probe pending
I notice that there is no detect pin at microSD card connector at our hardware design. There is detect pin microSD card connector at The TI j721s2-evm
Can you give us microSD Card detect pin- software change guide?
I changed this file arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts , but no difference of the boot result.
main_mmc1_pins_default: main-mmc1-default-pins {
pinctrl-single,pins = <
J721S2_IOPAD(0x104, PIN_INPUT, 0) /* (P23) MMC1_CLK */
J721S2_IOPAD(0x108, PIN_INPUT, 0) /* (N24) MMC1_CMD */
J721S2_IOPAD(0x100, PIN_INPUT, 0) /* (###) MMC1_CLKLB */
J721S2_IOPAD(0x0fc, PIN_INPUT, 0) /* (M23) MMC1_DAT0 */
J721S2_IOPAD(0x0f8, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
J721S2_IOPAD(0x0f4, PIN_INPUT, 0) /* (R24) MMC1_DAT2 */
J721S2_IOPAD(0x0f0, PIN_INPUT, 0) /* (R22) MMC1_DAT3 */
/* J721S2_IOPAD(0x0e8, PIN_INPUT, 8) (AE25) TIMER_IO0.MMC1_SDCD */
>;
};