diff options
author | Stefan Christ <s.christ@phytec.de> | 2016-05-04 08:59:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-04 15:00:45 +0200 |
commit | 07511ba347735ceb51bcc856817a73c866b45cb8 (patch) | |
tree | e0803ab88f140b94f987c2495dfa10d699fe1adb | |
parent | 95e1132633a5b8a4c5f6b8a150bbc6f01f820fa0 (diff) | |
download | barebox-07511ba347735ceb51bcc856817a73c866b45cb8.tar.gz barebox-07511ba347735ceb51bcc856817a73c866b45cb8.tar.xz |
ARM: phytec-som-imx6: add automount for first partition on eMMC
For the phyCORE-i.MX6 add an automount command for the first partition
on the eMMC device.
Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6-phycore/init/automount | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6-phycore/init/automount b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6-phycore/init/automount index 3659cf7d39..a059e190e2 100644 --- a/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6-phycore/init/automount +++ b/arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6-phycore/init/automount @@ -12,3 +12,6 @@ automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp' mkdir -p /mnt/mmc automount -d /mnt/mmc 'mmc0.probe=1 && [ -e /dev/mmc0.0 ] && mount /dev/mmc0.0 /mnt/mmc' + +mkdir -p /mnt/emmc +automount -d /mnt/emmc 'mmc3.probe=1 && [ -e /dev/mmc3.0 ] && mount /dev/mmc3.0 /mnt/emmc' |