Skip to main content

Posts

Showing posts with the label sd

SDIO WiFi

I have a SDIO WiFi module from a Sipeed Lichee Nano development board. These have the same chip as the onboard WiFi/bluetooth on the PinePhone ( RTL8723BS ). On the PinePhone mmc0 is the SD card slot and mmc1 is the onboard RTL8723BS SDIO chip. mmc2 is the eMMC chip. I inserted the Lichee Nano WiFi card into the SD card slot using the SD extension cable . It's an odd fit. Since the board extends towards the connector. It barely fits with the back cover in place. The version I used is an older version you can find on eBay. The new smaller (black) version is too short. I could not close and lock the SD card cage on the extender on the smaller black version. The Bluetooth on this chip is via UART, but the UART pins are not available on the micro SD module, so these are WiFi only. On Manjaro Phosh it showed up as another SDIO device on mmc0. It loaded the correct driver and shows up as wlan1. It works as expected.  There aren't very many SDIO devices out there, most are WiFi/Bluet...

Damaged SD card socket

I was playing with the microSD card extender from Pine64 . It seems to have damaged the socket . There is a card detect switch built into the socket and it no longer functions. This causes U-Boot to hang if there is a bootable SD card in the socket. It tries to boot from it and then fails the card detection, even though it is running from the card itself. In the serial debug output it shows: Trying to boot from MMC1 MMC: no card present spl: mmc init failed with error: -123 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### Another PinePhone user had the same issue https://forum.pine64.org/showthread.php?tid=13775 To fix the problem I soldered the switch pin on the socket to ground. When a card is inserted it would normally short the pin to ground (T6 is connected to ground). It now thinks there is always a card inserted. It does not seem to cause any problems. I actually soldered the pin to the metal shield since it is connected to ground. If you think ...