Re: [RFC] mmc_test: how use mmc_test on only eMMC board

Chris Ball
2011-05-19T14:56:46Z

Hi,

On Thu, May 19 2011, Jaehoon Chung wrote:
> Hi mailing..
>
> I want to know how use mmc_test..
>
> In my case, i used only eMMC board.
> So i didn't use unbind/bind for mmc_test.
>
> echo mmc0:0001 > /sys/bus/mmc/drivers/mmcblk/unbind
> then rootfs of my board has be broken

mmc_test destroys the data on the card being tested, so there is no way
to use it on your active rootfs.

You would have to boot from external SD (or USB, or network, or
something else) in order to run it on your internal eMMC. If you do
this, first make sure your eMMC doesn't contain any data needed to boot
your system far enough to be able to boot a kernel from another device.

- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child