Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T536 SDC1 用作TF卡配置后不能挂载SD卡

    T Series
    2
    2
    141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhengcheng LV 2 last edited by

      &sdc1 {
      bus-width = <4>;
      no-mmc;
      no-sdio;
      cd-gpios = <&pio PB 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
      cap-sd-highspeed;
      cd-used-24M;
      cd-set-debounce = <0x1>;
      /sd-uhs-sdr12/
      sd-uhs-sdr25;
      sd-uhs-sdr50;
      sd-uhs-ddr50;
      sd-uhs-sdr104;
      sunxi-power-save-mode;
      sunxi-dis-signal-vol-sw;
      /*cap-sdio-irq; */
      keep-power-in-suspend;
      /ignore-pm-notify;/
      max-frequency = <150000000>;
      ctl-spec-caps = <0x428>;
      vmmc-supply = <&reg_cldo3>;
      vqmmc33sw-supply = <&reg_cldo3>;
      vdmmc33sw-supply = <&reg_cldo3>;
      vqmmc18sw-supply = <&reg_aldo4>;
      vdmmc18sw-supply = <&reg_aldo4>;
      status = "okay";
      };

      如上配置SDC1 用作TF卡,配置后开机后dev/mmcblk1p1有生成,mount /dev/mmcblk1p1 /mnt 错误,
      50] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: send manual stop command failed 2
      [ 626.653826] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: wait r1 rdy 1000 ms timeout
      [ 626.662187] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:busy timeout
      [ 626.670005] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 18, RD RE !!
      [ 626.678696] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:stop
      [ 626.685475] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:stop recover
      [ 626.693250] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: send manual stop command failed 2
      [ 627.701827] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: wait r1 rdy 1000 ms timeout
      [ 627.710188] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:busy timeout
      [ 627.717706] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:set phase failed or over retry times
      [ 627.727545] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: retry:give up
      [ 627.734861] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.743534] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.752184] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.760828] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.769471] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.778110] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.786753] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.795396] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 12, RE !!
      [ 627.804040] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.812683] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.821323] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.829967] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.838611] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.847253] sunxi:sunxi_mmc_host-4021000.sdmmc:[ERR]: smc 1 p1 err, cmd 13, RE !!
      [ 627.855636] sunxi-mmc 4021000.sdmmc: error -110 requesting status
      [ 627.862463] mmcblk1: recovery failed!
      [ 627.866585] blk_update_request: I/O error, dev mmcblk1, sector 34 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
      [ 627.878392] EXT4-fs (mmcblk1p1): unable to read superblock
      mount: /mnt: can't read superblock on /dev/mmcblk1p1.

      谁能提供下T536 SDC1 用作TF卡的正确配置

      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        dtsi里也需要对应修改,参照sdc0配置caps

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策