查看“MY-IMX6 系列评估板 Linux-3.14.52 驱动和设备”的源代码
←
MY-IMX6 系列评估板 Linux-3.14.52 驱动和设备
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<div> = '''文档说明(document instruction) ''' = ---- == '''系统环境说明(system environment instruction) ''' == *编译主机 CPU 架构:64 位 <br> <span style="background:#CCCCCC">compilation host CPU architeture:64 bit</span><br> *编译主机系统:Linux <br> <span style="background:#CCCCCC">compilation host system:Linux</span><br> *Linux 发行版:Ubuntu <br> <span style="background:#CCCCCC">Linux release version:Ubuntu</span><br> *Ubuntu 版本类型:服务器版 <br> <span style="background:#CCCCCC">Ubuntu version type:server version</span><br> *Ubuntu 版本号:12.04.5 <br> <span style="background:#CCCCCC">Ubuntu version number:12.04.5</span><br> *Ubuntu 系统类型:x86-64 <br> <span style="background:#CCCCCC">Ubuntu version type:x86-64</span><br> <span style="color:red">注意:开发主机请使用 ubuntu 12.04.5 x86-64(桌面版或服务器版均可),使用其他 发行版的 Linux 或 Ubuntu 的其它版本可能会遇到的不必要的问题。 <br> <span style="background:#CCCCCC"><span style="color:red">note:for development host please use ubuntu 12.04.5 x86-64(either desktop version or server version is ok),some unneccessory problems may arise if use Linux in other release version or Ubuntu in other versions.</span><br> == '''操作说明(operation instruction) ''' == <span style="color:red">1)文档中以“$”开头的行,其后是 Linux 命令。 <br> <span style="background:#CCCCCC">line start with “$”in the document,following it is Linux command。</span><br> 2)文档中所有的 Linux 命令建议手动输入到 Linux 主机执行(直接复制、粘贴到 Linu x 主机上执行,可能会执行失败)。 <br> <span style="background:#CCCCCC">all Linux commands are recommended to enter manually to Linux host for execution(direct copy,pasting to Linux host for execution may cause failure)。</span><br> 3)文档中的 Linux 执行命令,如果空格后的下一个字符是“-”的(如:sudo apt-ge t –y install 之类的),请手动输入到 Linux 主机执行(直接复制、粘贴到 Linux 主机上 执行,通常会执行失败)。 <br> <span style="background:#CCCCCC">if following a space in Linux execution command is “-”(such as:sudo apt-ge t –y install and the like),please enter manually to Linux host for execution(direct copy,pasting to Linux host for execution normally cause failure)。</span><br> 4)文档中所有一行没写完的 Linux 命令请手动输入到 Linux 主机执行,(因为复制、粘 贴命令不能包含类似“换行符”之类的特殊字符)。 <br> <span style="background:#CCCCCC">any uncompleted Linux command in all lines in the doucment,please enter manually to the Linux host for execution(because copy,pasting commands don't contain special charater such as“line break”)。 </span><br> 5)按文档输入并执行 Linux 命令时注意观察命令的执行结果与文档图片中的是否一致, 以确认命令是否输入有误及是否执行失败。 <br> <span style="background:#CCCCCC">observe whether result of command execution is consistent with images in the documents after enter and execute Linux commands as per documents,to ensure whether entering of command is correct or whether there is failure of execution。 </span><br> 6)第一遍编译请严格按照文档进行,否则可能出现莫名其妙的错误。 <br> <span style="background:#CCCCCC">please follow strictly the documents for the first compilation,otherwise some unexpected errors may arise。</span><br> == '''截图说明(screenshots instruction) ''' == 为使视图看起来简洁整齐,截图中的命令提示符统一使用 <span style="color:green">myzr</span>$。 <br> <span style="background:#CCCCCC">To make the view look neat and tidy , the command prompt in the screenshot should use <span style="color:green">myzr</span>$ uniformly。</span><br> == '''图片中的 Linux 命令(Linux command in images) ''' == 在文档的图片中观察“linyn@u12045-serv:~$”开头的行可以直观的看到输入的linux 命令。 <br> <span style="background:#CCCCCC">In the image of the document, you can see the input Linux command visually from the lines that start with “linyn@u12045-serv:~$”</span><br> = '''驱动及相关设备文件(driving and relevant device file) ''' = ---- 评估板对应的 Linux-3.14.52 版本及对应的源码文件和设备见下表: <br> <span style="background:#CCCCCC">file in source code and device corresponding to version Linux-3.14.52 for development board are refered to below table: </span><br> {| class="wikitable" !功能<br>(function) !源码位置<br>(source code position) !Linux 设备和文件夹<br>(Linux device and folder) |- |GPIO ||drivers/gpio/gpiolib.c ||/sys/class/gpio/ / |- |LED ||drivers/leds/leds-gpio.c ||/sys/class/leds/ / |- |BUTTON ||drivers/input/keyboard/gpio_keys.c ||/dev/input/event2 |- |LVDS ||drivers/video/mxc/ldb.c ||/dev/fb* |- |LCD ||drivers/video/mxc/mxc_lcdif.c ||/dev/fb* |- |BACKLIGHT ||drivers/video/backlight/pwm_bl.c ||/sys/class/backlight/ |- |UART ||drivers/tty/serial/imx.c ||/dev/ttymxc* |- |I2C ||drivers/i2c/i2c-dev.c ||/dev/i2c-0 |- |SPI ||drivers/spi/spidev.c ||/dev/spidev1.0 |- |MMC/SD/SDIO ||drivers/mmc/ ||/dev/mmcblk* |- |NAND GPMI ||drivers/mtd/nand/gpmi-nand/ ||/dev/mtd* |- |TOUCH SCREEN ||drivers/input/touchscreen/myts-ft5x0x.c ||/dev/input/event0 |- |FEC ||drivers/net/ethernet/freescale/fec_main.c ||eth0 |- |PWM ||drivers/pwm/pwm-imx.c ||/sys/class/pwm/ |- |HDMI ||drivers/video/mxc/mxc_hdmi.c ||/dev/mxc_hdmi |- |IPU ||drivers/mxc/ipu3/ ||/dev/mxc_ipu |- |GPU ||drivers/mxc/gpu-viv/ ||/dev/galcore |- |VPU ||drivers/mxc/vpu/mxc_vpu.c ||/dev/mxc_vpu |- |OV5642 ||drivers/media/platform/mxc/capture/ ||/dev/video0 |- |MIPI DSI ||drivers/video/mxc/mipi_dsi.c ||NC |- |MIPI CSI2 ||drivers/mxc/mipi/mxc_mipi_csi2.c ||NC |- |V4L2 ||drivers/media/v4l2-core/ ||NC |- |SGTL5000 ||sound/soc/codecs/sgtl5000.c ||/dev/snd/ |- |PCIE ||drivers/pci/host/pci-imx6.c ||/sys/class/pci_bus |- |SATA ||drivers/ata/ahci_platform.c ||/dev/sda或/dev/sdb |- |WM8962 ||sound/soc/codecs/wm8962.c ||/dev/snd/ |- |ISL1208 ||drivers/rtc/rtc-isl1208.c ||/dev/rtc0 |- |USB ||drivers/usb/ ||NC |- |FLEXCAN ||drivers/net/can/flexcan.c ||can0,can1 |- |WATCHDOG ||drivers/watchdog/imx2_wdt.c ||/dev/watchdog |} 设备树主文件:arch/arm/boot/dts/myimx6ek***.dts (“***”表示 200-6q-2g,200-6q,2 00-6qp,200-6s-1g,200-6s 和 200-6u;314-6q-2g,314-6q 和 314-6u) <br> <span style="background:#CCCCCC">main file of device tree:arch/arm/boot/dts/myimx6ek***.dts (“***”represent 200-6q-2g,200-6q,2 00-6qp,200-6s-1g,200-6s 和 200-6u;314-6q-2g,314-6q 和 314-6u)</span><br> 设备树基础文件:arch/arm/boot/dts/imx6qdl.dtsi <br> <span style="background:#CCCCCC">basic file of device tree:arch/arm/boot/dts/imx6qdl.dtsi</span><br> 管脚功能文件:arch/arm/boot/dts/imx6*-pinfunc.h (“*”表示 q 或 dl) <br> <span style="background:#CCCCCC">function file of pin:arch/arm/boot/dts/imx6*-pinfunc.h (“*”represent q or dl)</span><br> <span style="color:blue;background:red">注意:想详细查看寄存器,请查看“IMX6DQRM_201406.pdf”文件。 </span><br> <span style="background:#CCCCCC">note:please check carefully register,please refer to“IMX6DQRM_201406.pdf”file。</span><br> </div>
返回至
MY-IMX6 系列评估板 Linux-3.14.52 驱动和设备
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
[-_-]
NXP平台:
MYZR-IMX6-EK200
MYZR-IMX6-EK200(EN)
MYZR-IMX6-EK314
MYZR-IMX6-EK314(EN)
MYZR-IMX6-EK336
MYZR-IMX6-EK336(EN)
MYZR-IMX6-EK140
MYZR-IMX6-EK140(EN)
MYZR-IMX6-EK140P
MYZR-IMX6-EK140P(EN)
MYZR-IMX8M-EK300
MYZR-IMX8M-EK300(EN)
MYZR-IMX8M-EVK
MYZR-IMX8Mmini-EK240
MYZR-IMX8Mmini-EK240(EN)
MYZR-IMX28-EK142
MYZR-IMX28-EK142(EN)
MYZR-LS1012A-EK200
MYZR-LS1012A-EK200(EN)
Rockchip平台:
MYZR-RK3288-EK314
MYZR-RK3288-EK314(EN)
MYZR-RK3399-EK314
MYZR-RK3399-EK314(EN)
Allwinner平台:
MYZR-R16-EK166
MYZR-R16-EK166(EN)
Microchip平台:
MYZR-SAMA5-EK200
MYZR-SAMA5-EK200(EN)
网关产品:
GW200
GW300
GW310/GW311
ST平台:
MYZR-STM32-EK152
所有页面
工具
链入页面
相关更改
特殊页面
页面信息