Skip to contentSkip to conversation

mmc_test: how use mmc_test on only eMMC board

RFC Jaehoon Chung 2 participants 3 messages May 19, 2011 – May 20, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

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

Plz let me know..

Regards,
Jaehoon Chung

#1 lore raw

Hi,

Quoted 9 lines · Jaehoon Chung

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.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
#2 lore raw

Hi,

Quoted 13 lines · Chris Ball

Hi,

Quoted 9 lines · Jaehoon Chung

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

Quoted 8 lines

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.

Thanks for your comment. i know that i can use SD-boot in order to use mmc_test. but if there is other method, i want to know them.
I try to boot with SD-card..

Thanks Chris. :)

Regards,
Jaehoon Chung