IMX6 Cubox-i4 loading eSata hot plug drivers.

  • By default LE will only recognise an eSata drive if it is connected at boot. To allow hot plugging of eSata devices you only need to do a few things.

    1) Make /flash rw

    mount -o remount,rw /flash

    2) Then make a backup of uEnv.txt

    cp /flash/uEnv.txt /flash/uEnv.txt.orig

    3) Edit /flash/uEnv.txt

    nano /flash/uEnv.txt

    and add ahci_imx.hotplug=1 to the end of the line. So it looks something like this

    mmcargs=setenv bootargs "boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 ${ssh_arg} ${console_arg} ${debugging_arg} video=mxcfb0:dev=hdmi,[email protected],if=RGB24,bpp=32 dmfc=3 consoleblank=0 ahci_imx.hotplug=1"

    Save with <Cntl> O and Exit with <Cntl> X then reboot.