AnsweredAssumed Answered

How to copy  the sd card bin files to eMCC device

Question asked by Venkatesh P on Feb 18, 2014
Latest reply on Feb 18, 2014 by Venkatesh P

Hi,

     Presently iam using imx6quad chip with uboot 2013 version.

My board file is board/freescale/mx6qsabrelite/mx6qsabrelite.c

In that file normally board booting from SPI-NOr and SD boot.

 

I want to chane the above boot ist of all in SD boot without using SPI NOR,

We having the settings for Boot_CFG 0 to Boot_CFG3 for SD3 and SD4 support also eMCC support.

 

In that driver having the SD4 support and my eMCC boot device  pins are connected to corresponding SD4 pins.

i have set for SD3 and eMCC boot following way

 

/SD3 and eMcc support in

static const struct boot_mode board_boot_modes[] = {

    {"mmc0",    MAKE_CFGVAL(0x40, 0x30, 0x00, 0x00)},  //SD3 4 bits vv

        {"emmc",        MAKE_CFGVAL(0x40, 0x38, 0x00, 0x00)},  //sd4 4 bits vv  

    {NULL,        0},

}

 

My customized imx6quad board first time only boot from SD card,after that all the bin files have to stored from Sdcard to eMCC and then second time onwards my board will boot from eMCC only.

How to add this support from either u-boot or  kernrel (linux-3.0.15 version).

 

Thanks by,

Venkat.

Outcomes