YelloApple
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by YelloApple
-
-
On 12.8.2017 at 2:51 AM, nightseas said:
Which kernel are you using?
Kernel 4.4 from Rockchip official repo:
https://github.com/rockchip-linux/kernel
If it's mainline Kernel from kernel.org then which version is it?
Other 3rd-party repo?
There's a bug in the RK official u-boot, which is caused by missing dwmmc driver and leads to SD card boot failure.
https://github.com/nightseas/rockchip-uboot/commit/80b82a7ba084b36c4f4ffbe7b67ffe98ff349f21
I use Rockchip official repo...
THX for your uboot patch~
I have used your uboot from https://github.com/nightseas/rockchip-uboot/,but I can't find any SD card driver as well...
In uboot ,I have tried the command "mmcinfo" but no any SD card be found.
In linux, I have tried the command "ls /dev" but no any SD card node be found.
“dmesg” command does not have any information about the SD card node, I have used your uboot source to compile, whether the need to patch the kernel?
Update:
SpoilerDDR Version 1.08 20170320 In Channel 0: LPDDR3, 800MHz CS = 0 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x5 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F CS = 1 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x5 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB Channel 1: LPDDR3, 800MHz CS = 0 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x5 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F CS = 1 MR0=0x58 MR1=0x58 MR2=0x58 MR3=0x58 MR4=0x2 MR5=0x1 MR6=0x5 MR7=0x0 MR8=0x1F MR9=0x1F MR10=0x1F MR11=0x1F MR12=0x1F MR13=0x1F MR14=0x1F MR15=0x1F MR16=0x1F Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB 256B stride ch 0 ddrconfig = 0x101, ddrsize = 0x2020 ch 1 ddrconfig = 0x101, ddrsize = 0x2020 pmugrf_os_reg[2] = 0x3AA0DAA0, stride = 0xD OUT Boot1: 2017-04-07, version: 1.06 CPUId = 0x0 ChipType = 0x10, 1829 SdmmcInit=2 0 BootCapSize=100000 UserCapSize=7456MB FwPartOffset=2000 , 100000 SdmmcInit=0 20 StorageInit ok = 66413 LoadTrustBL No find bl30.bin No find bl32.bin RunBL31 0x10000 NOTICE: BL31: v1.3(debug):55aa0b4 NOTICE: BL31: Built : 16:55:03, Mar 31 2017 INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3 INFO: boot cpu mask: 0 INFO: plat_rockchip_pmu_init(1089): pd status 3e INFO: BL31: Initializing runtime services INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.07-g80b82a7 (Aug 12 2017 - 20:48:48 +0800) Model: Rockchip RK3399 Evaluation Board DRAM: 3.9 GiB MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Model: Rockchip RK3399 Evaluation Board Net: Error: ethernet@fe300000 address not set. No ethernet found. Hit any key to stop autoboot: 0 => => mmc list dwmmc@fe320000: 1 sdhci@fe330000: 0 (eMMC) => mmc info Device: sdhci@fe330000 Manufacturer ID: 15 OEM: 100 Name: 8GND3 Timing Interface: High Speed Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.0 High Capacity: Yes Capacity: 7.3 GiB Bus Width: 8-bit Erase Group Size: 512 KiB HC WP Group Size: 8 MiB User Capacity: 7.3 GiB WRREL Boot Capacity: 4 MiB ENH RPMB Capacity: 512 KiB ENH => mmc dev 1 Card did not respond to voltage select! mmc_init: -95, time 12
-
41 minutes ago, Myy said:
Are you sure that's not a naming issue ? Like using mmcblk0 instead of mmcblk1 or something ? That's a common issue I have when switching between 4.4 and mainline kernels on my RK3288 boards.
It seems to be a driver problem...I use "dmesg" command to look for the mmc driver kernel message but find nothing about it...
-
I have the same board...But it seems the sd card can't work too....Do you have any idea?
Add Support for RK3399 (2xA72+4xA53)
in Rockchip
Posted
I have tested the SanDisk Ultra 16GB C10 cards but also have the same error...So sad....