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.

emmc boot

Other Parts Discussed in Thread: DM3730

Hi,

1. I'm using dvsdk_4.02.00.06, and I've connected an eMMC to SD/MMC2 of DM3730, and a sd slot to the SD/MMC1 port on my customed board.

My plan is to boot the cpu from eMMC, and I can find the MLO (copied to the FAT32 partition of the eMMC in advance)

is running after power on. But finally, it tried to load the u-boot from sd card even though no sd card is plugged at all from the beginning of powering

on. I have expected that the board boot up without sd card. It seems the code need modified, any recommendations/advice about the modification?

2. If I boot from a SD card, at the u-boot prompt, when I saveenv  I get an error because there's not a nand on my board. So I do need to save env args 

to SD card or eMMC, but it seems need to modify u-boot code also, any recommendations/advice about the modification?

  • Hi Qing Chang,

    1. The procedure of starting the u-boot via MLO has been found in the ../x-loader/board/omap3evm/omap3evm.c function mmc_boot. You should check witch step fails but if in this moment the SD card is not plugged the init_mmc will fail.
    2. As first step you should analyze the saveenv function in the ../u-boot/common/env_nand.c file. You should change the current implementation of this function because it uses nand_write function as its name suggests it saves environment variables to the NAND.

    BR
    Tsvetolin Shulev