AnsweredAssumed Answered

Invert SD card detection logic at U-boot

Question asked by NIRMAL LUHANA on Sep 26, 2019
Latest reply on Sep 26, 2019 by igorpadykov



Release: Yocto-Sumo (4.14.78_1.0.0_GA)

Board: i.MX8MQ based custom board


We designed iMX8MQ based custom board with different SD card socket than the EVK has. The card detection logic is inverted on our SD card socket.
Hence, we are not getting the U-boot logs as we tried to boot our custom board using the SD card config. We suspect that we need to change the card detection logic in U-boot and kernel level. 


We changed cd-detection logic using a cd-inverted macro at the U-boot level. Still, we are not able to boot the board.


Can anyone suggest which changes we missed to correct the SD card detection logic at the U-boot level?



Best regards,