Hi,
1. I set eMMC hs200 mode in uboot, boot kernel stop at Starting kernel ...
boot log:
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found U-Boot script /boot/ls1043ardb_boot.scr
1053 bytes read in 16 ms (63.5 KiB/s)
## Executing script at 80000000
12409308 bytes read in 435 ms (27.2 MiB/s)
26755 bytes read in 22 ms (1.2 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: ARM64 OpenWrt Linux-5.15.124
Image Type: AArch64 Linux Kernel Image (gzip compressed)
Data Size: 12409244 Bytes = 11.8 MiB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
Uncompressing Kernel Image
Using Device Tree in place at 0000000090000000, end 0000000090019882
Starting kernel ... // stop at here
2. What's more, eMMC high-speed mode start kernel OK
3. emmc set hs200 mode , uboot change as follow :
3.1 flexbuild_lsdk2108/components/firmware/uboot/configs/ls1043ardb_tfa_defconfig add CONFIG_MMC_HS200_SUPPORT=y
3.2 ls1043ardb uboot dts modify follows: [v2,2/5] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB - Patchwork (kernel.org)
3.3 mmc info message:
=> mmc info
Device: FSL_SDHC
Manufacturer ID: 13
OEM: 14e
Name: G1M15
Bus Speed: 166666666
Mode: HS200 (200MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 29.6 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 29.6 GiB WRREL
Boot Capacity: 31.5 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
I want to operate eMMC in HS200 mode in uboot , So for that which configurations I have to change?
I only set eMMC mode high-speed to HS200 in uboot , Why stop at Starting kernel ... ?
TKS!
Best Regards
Solved! Go to Solution.
Have the patches below checked?
[v3, 0/5] Add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa - Yangbo Lu (kernel.org)
In additon, these dts patches depends on esdhc driver patches which just had been merged
on mmc.git. Otherwise, the UHS-I SD card and eMMC HS200 card would fail to be initialized,
but other cards still could work fine.
https://patchwork.kernel.org/patch/9689875/
https://patchwork.kernel.org/patch/9689877/
https://patchwork.kernel.org/patch/9689879/
https://patchwork.kernel.org/patch/9689887/
https://patchwork.kernel.org/patch/9689885/
Would you check the kernel eMMC speed?
Thanks