[U-Boot] [rockchip/rk3399-rockpro64] Upstream doesn't have support for SD card/USB3.0?

Hi,
Sorry if the problem is too newbie, but I tried to build upstream U-boot for RockPro64 (which uses RK3399 SoC) using the evb-rk3399 defconfig.
My adventure starts good, it boots properly. However SDMMC doesn't work ("Card did not respond to voltage select!").
USB only detects two USB2.0 hubs, no USB storage detected either.
The missing storage looks like can be solved by adding USB storage support, but I'm wondering how to make Uboot to recognize the SDMMC.
Not familiar enough with device tree, but v5.1-rc kernel seems to have the dst file needed for rockpro64.
Any idea on what to do next? Copying the file and try to make U-boot to add a new board?
Thanks, Qu

On 2019/4/19 下午2:08, Qu Wenruo wrote:
Hi,
Sorry if the problem is too newbie, but I tried to build upstream U-boot for RockPro64 (which uses RK3399 SoC) using the evb-rk3399 defconfig.
My adventure starts good, it boots properly. However SDMMC doesn't work ("Card did not respond to voltage select!").
USB only detects two USB2.0 hubs, no USB storage detected either.
The missing storage looks like can be solved by adding USB storage support, but I'm wondering how to make Uboot to recognize the SDMMC.
Not familiar enough with device tree, but v5.1-rc kernel seems to have the dst file needed for rockpro64.
Any idea on what to do next? Copying the file and try to make U-boot to add a new board?
Well, found the existing patch for that, and after applying, everything works fine.
The original error report is for eMMC module which is fine as I haven't installed eMMC module to that board, and no driver for SDcard.
Thanks, Qu
Thanks, Qu
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
participants (1)
-
Qu Wenruo