If you are booting from EMMC with sd card inserted, you need to edit the boot partition inside the boot.ini file located in root of emmc drive. Otherwise the system will fail to boot with black screen. My XU4 is borked at the moment, but I think is was somewhere middle way, with where you just need to change dev/XXX d0 to d1 regarding the boot partition.