NintendoSwitchPkg
NintendoSwitchPkg copied to clipboard
New SD/MMC driver fails to read blocks from the SD card
EFI Shell is displayed instead of bootaa64.efi from the SD card. GPT partitions show up in the EFI Shell.
Replacing the shell with FreeBSD boot1.efi shows "Failed Reading block" errors:
The card is this:
mmcsd0: 16GB <SDHC SL16G 8.0 SN 92C00EE4 MFG 06/2015 by 3 SD> at mmc0 48.0MHz/4bit/65535-block
@myfreeweb In https://github.com/imbushuo/NintendoSwitchPkg/blob/da0dd9a0a3db451d422083a42cede3553a0d7bcf/Drivers/SdMmcDxe/EfiBlkDeviceOp.c#L86
Can you try to modify 128
to some smaller value to see if situation improves?
1
will absolutely work, but probably too slow. This value shall be adaptive and I think SDMMC1 auto calibration is necessary to be added later.
thanks! 32 works
does this fully work on switch?