Tool/software: Linux
Dear All,
I have a custom AM3354 board, mostly based on SK.
I am using ti-processor-sdk-linux-am335x-evm-05.01.00.11.
Using uart boot mode, I get ' Bad device mmc 0' error.
U-Boot SPL 2018.01-00445-gc852b6f-dirty (Jan 10 2019 - 11:29:53)
Trying to boot from UART
CCCzModem - CRC mode, 4333(SOH)/0(STX)/0(CAN) packets, 9 retries
Loaded 553868 bytes
U-Boot 2018.01-00445-gc852b6f-dirty (Jan 10 2019 - 11:29:53 +0300)
CPU : AM335X-GP rev 2.1
Model: TI AM335x LOCUS
DRAM: 256 MiB
MMC: OMAP SD/MMC: 0
** Bad device mmc 0 **
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
MMC Device 1 not found
no mmc device at slot 1
MMC Device 1 not found
no mmc device at slot 1
## Error: "bootcmd_nand0" not defined
starting USB...
USB0: MUSB host is not registered
Port not available.
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-am33xx
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB...
USB0: MUSB host is not registered
Port not available.
No ethernet found.
No ethernet found.
Below is my configuration for eMMC.
Could you tell me what am I missing or doing wrong?
&mmc1 {
status="disabled";
};
&mmc2 {
vmmc-supply = <&vmmc_reg>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins_default>;
bus-width = <8>;
status = "okay";
};
&mmc3 {
status="disabled";
};
emmc_pins_default: emmc_pins_default {
pinctrl-single,pins = <
0x80 ( PIN_INPUT | MUX_MODE2 ) /* (U9) gpmc_csn1.mmc1_clk */
0x84 ( PIN_INPUT | MUX_MODE2 ) /* (V9) gpmc_csn2.mmc1_cmd */
0x0 ( PIN_INPUT | MUX_MODE1 ) /* (U7) gpmc_ad0.mmc1_dat0 */
0x4 ( PIN_INPUT | MUX_MODE1 ) /* (V7) gpmc_ad1.mmc1_dat1 */
0x8 ( PIN_INPUT | MUX_MODE1 ) /* (R8) gpmc_ad2.mmc1_dat2 */
0xc ( PIN_INPUT | MUX_MODE1 ) /* (T8) gpmc_ad3.mmc1_dat3 */
0x10 ( PIN_INPUT | MUX_MODE1 ) /* (U8) gpmc_ad4.mmc1_dat4 */
0x14 ( PIN_INPUT | MUX_MODE1 ) /* (V8) gpmc_ad5.mmc1_dat5 */
0x18 ( PIN_INPUT | MUX_MODE1 ) /* (R9) gpmc_ad6.mmc1_dat6 */
0x1c ( PIN_INPUT | MUX_MODE1 ) /* (T9) gpmc_ad7.mmc1_dat7 */
>;
};