专栏底层软件no tuning point found

no tuning point found

已解决
danyxnever2022-12-08
40
8

单板报no tuning point found错误,在这之前会卡上2~3分钟。

uboot命令执行mmc info正常,

执行mmc dev会报同样的错误

Hobot# mmc info

Device: sdhc@0x48030000

Manufacturer ID: 15

OEM: 100

Name: CJUD4

Serial: 0xc57353c4

Bus Speed: 200000000

Mode : HS200 (200MHz)

Rd Block Len: 512

MMC version 5.1

High Capacity: Yes

Capacity: 59.6 GiB(124993536 sectors)

Bus Width: 4-bit

Erase Group Size: 512 KiB

HC WP Group Size: 8 MiB

User Capacity: 59.6 GiB WRREL

Boot Capacity: 31.9 MiB ENH

RPMB Capacity: 4 MiB ENH

Hobot# mmc list

sdhc@0x48030000: 0 (eMMC)

sdhc@0x48040000: 1

Hobot# mmc

mmc - MMC sub system

Usage:

mmc info - display info of the current MMC device

mmc read addr blk# cnt

mmc write addr blk# cnt

mmc erase blk# cnt

mmc rescan

mmc part - lists available partition on current mmc device

mmc dev [dev] [part] - show or set current mmc device [partition]

mmc list - lists available devices

mmc hwpartition [args...] - does hardware partitioning

arguments (sizes in 512-byte blocks):

[user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes

[gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition

[check|set|complete] - mode, complete set partitioning completed

WARNING: Partitioning is a write-once setting once it is set to complete.

Power cycling is required to initialize partitions after set to complete.

mmc setdsr <value> - set DSR register value

Hobot# mmc dev

no tuning point found

switch to partitions #0, OK

mmc0(part 0) is current device

底层软件
征程5
+2
评论5
0/1000
  • ughost
    Lv.1

    您好。

    mmc read 试一下,看看读数据能不能成功。

    从log看hs 200 tuning失败了,找不到合适的数据采样点。

    可能原因是(1)芯片焊接问题(emmc或者J5)(2)硬件布线emmc是否符合规范

    从图中看SPL可以正常加载uboot,故emmc至少可以运行在8线high speed模式。

    建议尝试思路:

    (1)软件:降低速度,跑emmc high speed或者emmc legacy,或者降低位宽。(通过修改uboot config配置或者uboot设备树)

    (2)硬件:更换emmc颗粒,或者重新焊接emmc

    2022-12-08
    2
    1
    • danyxnever回复ughost:

      Hobot# mmc read 0x90000000 0x2a00 0x1000

      MMC read: dev # 0, block # 10752, count 4096 ... 4096 blocks read: OK

      Hobot# mmc write 0x90000000 0x2a00 0x1000

      MMC write: dev # 0, block # 10752, count 4096 ... 4096 blocks written: OK

      read write都正常

      2022-12-08
      0
  • danyxnever
    Lv.1

    Hobot# mmc info

    Device: sdhc@0x48030000

    Manufacturer ID: 15

    OEM: 100

    Name: CJUD4

    Serial: 0xc57353c4

    Bus Speed: 50000000

    Mode : MMC High Speed (52MHz)

    Rd Block Len: 512

    MMC version 5.1

    High Capacity: Yes

    Capacity: 59.6 GiB(124993536 sectors)

    Bus Width: 4-bit

    Erase Group Size: 512 KiB

    HC WP Group Size: 8 MiB

    User Capacity: 59.6 GiB WRREL

    Boot Capacity: 31.9 MiB ENH

    RPMB Capacity: 4 MiB ENH

    Hobot# mmc info

    Device: sdhc@0x48030000

    Manufacturer ID: 15

    OEM: 100

    Name: CJUD4

    Serial: 0xc57353c4

    Bus Speed: 200000000

    Mode : HS200 (200MHz)

    Rd Block Len: 512

    MMC version 5.1

    High Capacity: Yes

    Capacity: 59.6 GiB(124993536 sectors)

    Bus Width: 4-bit

    Erase Group Size: 512 KiB

    HC WP Group Size: 8 MiB

    User Capacity: 59.6 GiB WRREL

    Boot Capacity: 31.9 MiB ENH

    RPMB Capacity: 4 MiB ENH

    谢谢各位,降低速度和降低位宽都可解决卡2~3分钟问题
    2022-12-09
    0
    2
    • 费小财回复danyxnever:

      收到,有其他问题欢迎随时交流

      2023-01-15
      1
    • 新手村回复danyxnever:

      不客气,我们内部倒没碰到过这种问题,不过谢谢你的反馈

      2023-01-15
      0
  • 费小财
    Lv.5

    您好,

    板子的硬件都过吗,看硬件问题吧,板子信号不太好,uboot hs200跑不了。尝试降速或者降位宽处理

    2022-12-08
    0
    0
  • 新手村
    Lv.4

    您好:

    no tuning point found是BL31 BIST测试报的,说明eMMC tuning失败,卡2~3分钟是EMMC自行降频处理;

    谢谢

    2022-12-08
    0
    0
  • Daitao
    Lv.1

    您好:

    可以通过示波器测试一下SDIO信号的建立保持时间,确认一下信号的完整性。

    如果信号质量不满足spec,可以尝试一下修改sdio的驱动能力。

    谢谢

    2022-12-09
    0
    0