Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SD card support #46

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This repository contains drivers for RK35xx-based platforms, with a focus on RK3
|PCIe 3.0 & 2.1|pci (Inbox)|🟡 Partially working|Devices may work if drivers are available for them. Known issues include:<br> - NVMe SSDs do not work with in-box storport.sys (issue #6, workaround available).<br> - Devices that require cache-coherent bus or MSI do not work (e.g. Qualcomm Wi-Fi cards).<br> - Devices that require a root PCIe port do not work (e.g. XHCI).|
|SATA|storahci (Inbox)|🔴 Not working|SATA SSDs do not work with in-box storport.sys (issue #6, workaround available).|
|eMMC|[dwcsdhc](https://github.com/worproject/Rockchip-Windows-Drivers/tree/master/drivers/sd/dwcsdhc)|🟢 Working||
|SD/SDIO||🔴 Not working||
|SD/SDIO|[dwcmshc](https://github.com/worproject/Rockchip-Windows-Drivers/tree/master/drivers/sd/dwcmshc)|🟢 Working||
|CPU frequency scaling||🔴 Not working|Clocks limited at values set by UEFI.|
|HDMI output|MSBDD (Inbox)|🟡 Partially working|Single display with mode limited at 1080p 60 Hz, provided by UEFI GOP.|
|HDMI input||🔴 Not working||
Expand Down
26 changes: 25 additions & 1 deletion build/RockchipDrivers.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ VisualStudioVersion = 17.4.33205.214
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dwcsdhc", "..\drivers\sd\dwcsdhc\dwcsdhc.vcxproj", "{10452736-7C4F-4206-94F9-AD634213C9C4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dwcmshc", "..\drivers\sd\dwcmshc\dwcmshc.vcxproj", "{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rk3xi2c", "..\drivers\i2c\rk3xi2c\rk3xi2c.vcxproj", "{B3E71397-9BE4-492B-AAED-4D056E59CB1F}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rk3xgpio", "..\drivers\gpio\rk3xgpio\rk3xgpio.vcxproj", "{A80FE9DD-C140-40F6-A3F4-55A2A55BFAD4}"
Expand All @@ -19,7 +21,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csaudio-Filters", "..\drive
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csaudio-Inc", "..\drivers\audio\csaudiork3x\Source\Inc\Inc.vcxproj", "{4B664BA5-057A-41B8-B365-2C99065C4DFA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csaudio-Main", "..\drivers\audio\csaudiork3x\Source\Main\Main.vcxproj", "{E4DF0EEE-D35B-47F2-A9B1-41EA97C465FF}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csaudiork3x", "..\drivers\audio\csaudiork3x\Source\Main\Main.vcxproj", "{E4DF0EEE-D35B-47F2-A9B1-41EA97C465FF}"
ProjectSection(ProjectDependencies) = postProject
{33E61864-6F2C-4F9F-BE70-8F8985A4F283} = {33E61864-6F2C-4F9F-BE70-8F8985A4F283}
{771312CF-E5A2-4676-8142-86CEBDF99E2B} = {771312CF-E5A2-4676-8142-86CEBDF99E2B}
Expand All @@ -31,6 +33,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dwc_eqos", "..\drivers\net\
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "usbehci_nointerlocked", "..\drivers\usb\usbehci_nointerlocked\usbehci_nointerlocked.vcxproj", "{BB0C35DD-3009-4CA5-86C8-B255D378A84B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "arm_smc_lib", "..\drivers\lib\arm_smc_lib\arm_smc_lib.vcxproj", "{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rk_sip_sdmmc_lib", "..\drivers\sd\rk_sip_sdmmc_lib\rk_sip_sdmmc_lib.vcxproj", "{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Expand All @@ -43,6 +49,12 @@ Global
{10452736-7C4F-4206-94F9-AD634213C9C4}.Release|ARM64.ActiveCfg = Release|ARM64
{10452736-7C4F-4206-94F9-AD634213C9C4}.Release|ARM64.Build.0 = Release|ARM64
{10452736-7C4F-4206-94F9-AD634213C9C4}.Release|ARM64.Deploy.0 = Release|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Debug|ARM64.ActiveCfg = Debug|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Debug|ARM64.Build.0 = Debug|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Debug|ARM64.Deploy.0 = Debug|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Release|ARM64.ActiveCfg = Release|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Release|ARM64.Build.0 = Release|ARM64
{7C5FC1E9-1DB8-4A07-A1F3-6CE62D694AD8}.Release|ARM64.Deploy.0 = Release|ARM64
{B3E71397-9BE4-492B-AAED-4D056E59CB1F}.Debug|ARM64.ActiveCfg = Debug|ARM64
{B3E71397-9BE4-492B-AAED-4D056E59CB1F}.Debug|ARM64.Build.0 = Debug|ARM64
{B3E71397-9BE4-492B-AAED-4D056E59CB1F}.Debug|ARM64.Deploy.0 = Debug|ARM64
Expand Down Expand Up @@ -107,6 +119,18 @@ Global
{BB0C35DD-3009-4CA5-86C8-B255D378A84B}.Release|ARM64.ActiveCfg = Release|ARM64
{BB0C35DD-3009-4CA5-86C8-B255D378A84B}.Release|ARM64.Build.0 = Release|ARM64
{BB0C35DD-3009-4CA5-86C8-B255D378A84B}.Release|ARM64.Deploy.0 = Release|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Debug|ARM64.ActiveCfg = Debug|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Debug|ARM64.Build.0 = Debug|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Debug|ARM64.Deploy.0 = Debug|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Release|ARM64.ActiveCfg = Release|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Release|ARM64.Build.0 = Release|ARM64
{CC2E02D4-6550-4F1A-A43A-90B6BEB161D0}.Release|ARM64.Deploy.0 = Release|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Debug|ARM64.ActiveCfg = Debug|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Debug|ARM64.Build.0 = Debug|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Debug|ARM64.Deploy.0 = Debug|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Release|ARM64.ActiveCfg = Release|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Release|ARM64.Build.0 = Release|ARM64
{3F0E7D7D-BB1E-42F9-841F-75204A447CC6}.Release|ARM64.Deploy.0 = Release|ARM64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
3 changes: 2 additions & 1 deletion drivers/gpio/rk3xgpio/rk3xgpio.inx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ AddService = Rk3xGPIO,%SPSVCINST_ASSOCSERVICE%, Rk3xGPIO_Service_Inst
[Rk3xGPIO_Service_Inst]
DisplayName = %Rk3xGPIO.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
StartType = 0 ; SERVICE_BOOT_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\rk3xgpio.sys
LoadOrderGroup = Base
Dependencies = GPIOClx0101

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Expand Down
Loading
Loading