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.

Linux/AM3358: custom board can not boot from EMMC

Part Number: AM3358


Tool/software: Linux

Hi,

We have a custom board with AM3358, MMC0 is connect to external SD card, and MMC1 is connect to EMMC. And we are use Processor SDK Linux 04_03_00_05. 

Right now i can build a SD card and boot it from it. After boot into linux, I create 2 partition on EMMC, and copy u-boot/MLO/rootfs to these 2 partitions.

After that, i removed SD card, and power on board. It can boot into uboot, but can't enter linux. Here is console output:

U-Boot SPL 2017.01-00458-ga0c95a6-dirty (Jun 11 2018 - 07:38:30)
Trying to boot from MMC2
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01-00458-ga0c95a6-dirty (Jun 11 2018 - 07:38:30 +0800)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
MMC: no card present
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0 
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
## Error: "bootcmd_nand0" not defined
starting USB...
USB0:   Port not available.
cpsw Waiting for PHY auto negotiation to complete. done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.0.111 (1001 ms)
Using cpsw device
TFTP from server 0.0.0.0; our IP address is 192.168.0.111; sending through gateway 192.168.0.254
Filename 'zImage'.
Load address: 0x82000000
Loading: ##T 

Why MMC is not presented? do i need change something in uboot?