sdcard, emmc, sdio, sd标准

emmc与sd card说的是两种不同的分装, emmc是bga封装,一般焊接在板子上;而sd card为tf card/sd card的形式;注意这仅是物理的表现形式不一样!!!
而他们使用的通信接口都是SD内存卡通信标准
SDIO:SDIO是在SD卡规范间上增加了对IO设备的支持, 操作命令与sd有些不同有些相同, sd支持的叫sd card, sdio支持的叫sdio卡(如各种wifi, gps, bluetooth等)。
SD memory cards may also support a second security system based on commonly used standards,
such as ISO-7816, which can be used to interface the SD memory card into public networks and other
systems supporting mobile e-commerce and digital signature applications.
In addition to the SD Memory Card, there is the SD I/O (SDIO) Card. The SDIO Card specification is
defined in a separate specification named: "SDIO Card Specification" that can be obtained from the SD
Association. The SDIO Specification defines an SD card that may contain interfaces between various
I/O units and an SD Host. The SDIO card may contain memory storage capability as well as its I/O
functionality. The Memory portion of SDIO card shall be fully compatible to the given Physcial Layer
Specification. The SDIO card is based on and compatible with the SD Memory card. This compatibility
includes mechanical, electrical, power, signalling, and software. The intent of the SD I/O card is to
provide high-speed data I/O with low power consumption for mobile electronic devices. A primary goal is
that an I/O card inserted into a non-SDIO aware host will cause no physical damage or disruption of
that device or its software. In this case, the I/O card should simply be ignored. Once inserted into an
SDIO aware host, the detection of the card will be via the normal means described in the given Physical
Layer Specification with some extensions that are described in the SDIO Specification.
The SD Memory Card communication is based on an advanced 9-pin interface (Clock, Command,
4xData and 3xPower lines) designed to operate in at maximum operating frequency of 50 MHz and low
voltage range. The communication protocol is defined as a part of this specification.
From: SD Specifications Part 1 Physical Layer Specification Version 3.00
 

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 在Linux内核中,SD卡、eMMC和UFS的驱动代码位于不同的目录中。 1. SD卡驱动代码位于`drivers/mmc`目录下。在该目录中,可以找到与SD卡相关的驱动文件和子目录,如`mmc_core.c`、`mmc_block.c`等。此外,还有一些特定厂商的SD卡驱动,例如`mmc/sdhci-s3c.c`。 2. eMMC驱动代码同样位于`drivers/mmc`目录下。在该目录中,也可以找到与eMMC相关的驱动文件和子目录,如`mmc_core.c`、`mmc_block.c`等。与SD卡相比,eMMC的驱动代码可能会有一些特定的文件,但大部分代码都是共用的。 3. UFS驱动代码位于`drivers/scsi/ufs`目录下。在该目录中,可以找到与UFS相关的驱动文件和子目录,如`ufs.c`、`ufs-sysfs.c`和`ufs-exynos.c`等。这些文件包含了UFS设备的驱动代码。 此外,还需要注意,以上目录可能会随着不同内核版本的变化而有所不同,因此在具体的内核版本中可能会有一些细微的差异。 ### 回答2: 在Linux内核中,SD卡、eMMC和UFS存储设备的驱动程序代码位于不同的目录下面。 1. SD卡驱动程序的代码位于`drivers/mmc`目录下。具体而言,SD卡的核心驱动程序是`mmc_core.c`,而与SD卡相关的SDIO(Secure Digital Input Output)功能驱动程序位于`sdio`目录下。 2. eMMC驱动程序的代码位于`drivers/mmc`目录下的`mmc_core.c`中。eMMC是一种闪存存储设备,因此其驱动程序与SD卡驱动程序共享。 3. UFS驱动程序的代码位于`drivers/scsi/ufs`目录下。UFS(Universal Flash Storage)是一种新的高性能存储标准,可以代替eMMC。UFS驱动程序的核心文件是`ufs.c`。此外,与UFS相关的Host控制器驱动程序代码位于`drivers/scsi/ufs/ufshcd.c`中。 需要注意的是,以上目录是指Linux内核的主线驱动程序目录结构。对于特定的内核版本或特定的Linux发行版,可能会存在一些小的差异。因此,在查找驱动程序代码时,最好根据具体的内核版本或系统来进行查找。 ### 回答3: 在Linux内核中,SD卡、eMMC和UFS的驱动代码可以在以下几个目录下找到: 1. SD卡驱动代码:可以在目录/drivers/mmc/host/下找到SD卡的驱动代码。主要文件包括: - sdhci.c: SD卡主机控制器(SD Host Controller)的驱动代码。 - mmc_block.c: SD卡块设备驱动代码,用于提供SD卡的块设备访问接口。 2. eMMC驱动代码:可以在目录/drivers/mmc/host/下找到eMMC驱动代码。主要文件包括: - sdhci.c: eMMC主机控制器(eMMC Host Controller)的驱动代码。 - mmc_block.c: eMMC块设备驱动代码,用于提供eMMC的块设备访问接口。 3. UFS驱动代码:可以在目录/drivers/scsi/ufs/下找到UFS驱动代码。主要文件包括: - ufs.h: UFS驱动的头文件。 - ufs-scsi.c: UFS SCSI驱动代码。 - ufs-qp.c: UFS队列处理驱动代码。 这些驱动代码文件包含了与SD卡、eMMC和UFS硬件交互的相关函数和数据结构,用于在Linux内核中实现对这些存储设备的访问和控制。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值