we have been using the Colibri VF 61 module together with the Viola carrier board for software development. We want to boot Linux from a micro SD card. This works well with the Viola carrier board. But now we like to switch to our custom board.
On the Viola carrier board the SD-card-detect signal goes from 1 to 0 if you plug a SD card. On our board the signal goes from 0 to 1. So the SD card is not recognized in U-Boot and booting fails. Like on the Viola board, on our board the signal is as well connected to the pin PTB20/SD-WakeUp.
When booting from network the SD card works fine in Linux as the SD-card-detection polarity can simply be changed in the device tree file. But in U-Boot, I think i need to change the sources in order to invert the sd-card-detection-polarity.
I’ve cloned the git repository git://git.toradex.com/u-boot-toradex.git and checked out the 2016.11-toradex branch.
Could you please show me where to change the SD-card-detection-polarity or provide a patch?
Our may be there is an configuration option?
Thanks in advance!