Newer
Older
barebox / arch / arm / boards / phytec-som-rk3288 / defaultenv-physom-rk3288 / init / automount-mmc
@Wadim Egorov Wadim Egorov on 1 Sep 2016 241 bytes ARM: Add phyCORE-RK3288 SOM support
#!/bin/sh

mkdir -p /mnt/emmc
automount -d /mnt/emmc 'mshc0.probe=1 && [ -e /dev/mshc0.0 ] && mount /dev/mshc0.0 /mnt/emmc'

mkdir -p /mnt/sdmmc
automount -d /mnt/sdmmc 'mshc1.probe=1 && [ -e /dev/mshc1.0 ] && mount /dev/mshc1.0 /mnt/sdmmc'