Fix HDMI edid detection and SD card setup