Hurray! .
was able to boot from eMMC by setting CONFIG_MMC_SUNXI_SLOT  to 2
in board/sunxi/board.c

regds
mallah.

#ifdef CONFIG_GENERIC_MMC
int board_mmc_init(bd_t *bis)
{

*#define CONFIG_MMC_SUNXI_SLOT 2*
        printf("CONFIG_MMC_SUNXI_SLOT: %d\n", CONFIG_MMC_SUNXI_SLOT);
        sunxi_mmc_init(CONFIG_MMC_SUNXI_SLOT);
#define CONFIG_MMC_SUNXI_SLOT_EXTRA 0

#if !defined (CONFIG_SPL_BUILD) && defined (CONFIG_MMC_SUNXI_SLOT_EXTRA)
        sunxi_mmc_init(CONFIG_MMC_SUNXI_SLOT_EXTRA);
#endif

        return 0;
}
#endif




On Sun, Jan 19, 2014 at 9:31 PM, Rajesh Mallah <[email protected]>wrote:

> Thanks but there is no nand my board .  the internal storage is in form of
> eMMC connected to a separate slot.
> i am current search how to set CONFIG_MMC_SUNXI_SLOT_EXTRA in
> board/sunxi/board.c  .
>
>
> On Sun, Jan 19, 2014 at 9:17 PM, Almo Nito <[email protected]> wrote:
>
>> What you can do is place uboot on internal nand and have uboot in nand
>> load kernel from emmc
>>
>>
>>
>> *Von:* [email protected] [mailto:[email protected]]
>> *Im Auftrag von *Rajesh Mallah
>> *Gesendet:* Mittwoch, 15. Jänner 2014 20:51
>> *An:* [email protected]
>> *Betreff:* [linux-sunxi] uboot for Mele M3 A20
>>
>>
>>
>>
>>
>> Hi
>>
>> i would like to install uboot on the internal MMC card of mele m3 (A20 ,
>> 1024MB)
>>
>> model. could anyone suggest which uboot source and what board config
>>
>> should work.
>>
>> thanks (but sorry if the question was too novice).
>>
>>
>> regds
>> mallah.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to