99
- 收藏
- 点赞
- 分享
- 举报
Hi3519DV500 没有TF卡的设备/dev/mmcblk1px
求大佬帮忙看下,为啥我没有SD卡的设备/dev/mmcblk1px
arch/arm64/boot/dts/vendor/hi3519dv500.dtsi
mmc0: eMMC@0x10020000 {
compatible = "nebula,sdhci";
reg = <0x10020000 0x1000>;
interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock HI3519DV500_MMC0_CLK>, <&clock HI3519DV500_MMC0_HCLK>;
clock-names = "mmc_clk", "mmc_hclk";
resets = <&clock 0x34c0 16>, <&clock 0x34c0 17>, <&clock 0x34c0 18>, <&clock 0x34c4 1>;
reset-names = "crg_reset", "crg_tx", "crg_rx", "dll_reset";
max-frequency = <150000000>;
crg_regmap = <&clock>;
non-removable;
iocfg_regmap = <&ioconfig0>;
bus-width = <8>;
cap-mmc-highspeed;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
cap-mmc-hw-reset;
no-sdio;
no-sd;
devid = <0>;
status = "okay";
};
mmc1: SDIO@0x10030000 {
compatible = "nebula,sdhci";
reg = <0x10030000 0x1000>;
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock HI3519DV500_MMC1_CLK>, <&clock HI3519DV500_MMC1_HCLK>;
clock-names = "mmc_clk", "mmc_hclk";
resets = <&clock 0x35c0 16>, <&clock 0x35c0 17>, <&clock 0x35c0 18>, <&clock 0x35c4 1>;
reset-names = "crg_reset", "crg_tx", "crg_rx", "dll_reset";
max-frequency = <150000000>;
crg_regmap = <&clock>;
iocfg_regmap = <&ioconfig1>;
bus-width = <4>;
cap-sd-highspeed;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
full-pwr-cycle;
devid = <1>;
status = "okay";
};
mmc2: SDIO1@0x10040000 {
compatible = "nebula,sdhci";
reg = <0x10040000 0x1000>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock HI3519DV500_MMC2_CLK>, <&clock HI3519DV500_MMC2_HCLK>;
clock-names = "mmc_clk", "mmc_hclk";
resets = <&clock 0x36c0 16>, <&clock 0x36c0 17>, <&clock 0x36c0 18>, <&clock 0x36c4 1>;
reset-names = "crg_reset", "crg_tx", "crg_rx", "dll_reset";
max-frequency = <150000000>;
crg_regmap = <&clock>;
iocfg_regmap = <&ioconfig1>;
bus-width = <4>;
cap-sd-highspeed;
devid = <2>;
status = "okay";
};
arch/arm64/boot/dts/vendor/hi3519dv500-demb.dts
&mmc1 {
status = "okay";
};
&mmc2 {
status = "disabled";
};
mmc0是应该是接emmc用的,mmc1应该是接SD卡用的
但是这样配置后,只有emmc的设备和分区,没有sd卡的设备和分区
引脚复用也配置了
# TF Card mux
bspmm 0x0102600CC 0x0131 # SDIO0_CCLK_OUT N21
bspmm 0x0102600BC 0x0331 # SDIO0_CDATA0 P22
bspmm 0x0102600C0 0x0331 # SDIO0_CDATA1 P23
bspmm 0x0102600C4 0x0331 # SDIO0_CDATA2 M21
bspmm 0x0102600C8 0x0331 # SDIO0_CDATA3 N22
bspmm 0x0102600D4 0x0131 # SDIO0_CARD_POWER_EN_N R21
bspmm 0x0102600D0 0x0131 # SDIO0_CARD_DETECT R23
bspmm 0x0102600B8 0x0331 # SDIO0_CCMD P21
~ # ls /dev/mmc*
/dev/mmcblk0 /dev/mmcblk0boot1 /dev/mmcblk0p2 /dev/mmcblk0p4 /dev/mmcblk0p6 /dev/mmcblk0p8 /dev/mmcblk0rpmb
/dev/mmcblk0boot0 /dev/mmcblk0p1 /dev/mmcblk0p3 /dev/mmcblk0p5 /dev/mmcblk0p7 /dev/mmcblk0p9
~ #
~ # dmesg | grep mmc
Kernel command line: mem=132928K console=ttyAMA0,115200 clk_ignore_unused root=/dev/mmcblk0p5 rootfstype=ext4 ro rootwait blkdevparts=mmcblk0:512K(boot),512K(env),512K(bl31),13M(kernel),256M(rootfs),128M(app),128M(data),32M(setting),32M(syslog)
mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit
mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit
mmc0: tuning done! valid phase shift [12, 6] Final Phase:25
mmc0: new HS200 MMC card at address 0001
mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (251:0)
mmcblk0: p1(boot) p2(env) p3(bl31) p4(kernel) p5(rootfs) p6(app) p7(data) p8(setting) p9(syslog)
EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p9): recovery complete
EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
~ #
~ # dmesg | grep sd
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
~ #
~ # dmesg | grep SD
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit
mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit
~ #
~ # ls /sys/bus/mmc/devices/
mmc0:0001
~ # ls /sys/bus/sdio/devices/
~ #
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2024-11-20 09:52:01
-
2024-09-27 11:37:54
-
2018-11-08 21:22:26
-
2025-01-07 14:21:37
-
2024-11-11 17:06:20
-
2024-01-05 20:50:10
-
2024-09-12 14:44:41
-
2024-03-15 15:38:18
-
2024-09-12 09:01:54
-
2024-09-19 18:04:25
-
2024-01-03 18:40:24
-
2024-11-01 11:03:26
-
2024-09-26 18:35:01
-
2024-07-29 21:31:26
-
2024-12-19 10:07:46
-
2024-02-22 14:32:17
-
2024-07-27 17:49:08
-
2024-12-14 16:48:34
-
2023-09-19 11:50:03
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认