[U-Boot] [U-boot] mmc write|read howto

Jagan Teki
2013-04-26T20:51:36Z

Hi All,

I need some help regarding mmc write and mmc read commands usage.

I am using a 4GB SD/MMC plus and socked eMMC cards, usually I am
formatting these cards on my host pc with
fat partition and copy the images into card. while in the u-boot level
I am reading the images from card and copy it onto mem addr
like fatload mmc 0 0x1000 uImage.

Can we write the images onto these cards in u-boot level?, using mmc write.
same way can we read back using mmc read? if so how to do that.

Request for help.

Thanks,
Jagan.