MYZR-LS1012A-EK200 Equipment and drivers

来自明远智睿的wiki
跳转至: 导航搜索

Documentation


System environment description

  • Compile Host CPU Architecture: 64-bit
  • Compile host system: Linux
  • Linux distribution: Ubuntu
  • Ubuntu version type: server version
  • Ubuntu version number: 14.04.1
  • Ubuntu system type: x86-64

Note: Please use ubuntu 14.04.1 x86-64 as the development host (desktop or server version), and use other distributions of Linux or other versions of Ubuntu. Necessary question.

Operating instructions

1) The line in the document that starts with "$" followed by the Linux command.
2) It is recommended that all Linux commands in the document be manually input to the Linux host for execution (copy and paste directly to the Linux host for execution, and execution may fail).
3) The Linux execution command in the document. If the next character after the space is "-" (such as: sudo apt-get -y install and the like), please manually enter the Linux host to execute (copy and paste directly to Linux On the host, it usually fails).
4) Please enter the Linux commands that have not been written on all lines in the document manually and execute them on the Linux host (because the copy and paste commands cannot contain special characters like "newline characters").
5) When entering and executing Linux commands according to the document, observe whether the execution result of the command is consistent with that in the picture of the document to confirm whether the command is entered incorrectly and whether the execution fails.
6) Please compile the first pass strictly according to the documentation, otherwise inexplicable errors may occur.

Screenshot description

To make the view look neat and tidy, the command prompt in the screenshot uses myzr $ uniformly.

Linux Commands in Pictures

Observe the line starting with "linyn @ u14041-serv: ~ $" in the picture of the document, and you can directly see the entered linux command.

Driver and related device files


The Linux-4.1.15 version corresponding to the evaluation board and the corresponding source files and devices are shown in the following table:

Features Source location Linux Devices and folders
GPIO drivers/gpio/gpio-mpc8xxx.c /sys/class/gpio/
LCD drivers/video/fbdev/mxsfb.c /dev/fb*
BACKLIGHT drivers/video/backlight/pwm_bl.c /sys/class/backlight
UART drivers/tty/serial/of_serial.c /dev/ttyXRUSB*
I2C drivers/i2c/busses/i2c-imx.c /dev/i2c-0
MMC/SD/SDIO drivers/mmc/host/sdhci-of-esdhc.c /sys/bus/mmc/
FEC drivers/net/ethernet/freescale/fec_main.c eth0,eth1
USB drivers/usb/dwc3/core.c /sys/bus/usb/
drivers/usb/host/fsl-mph-dr-of.c
WATCHDOG drivers/watchdog/imx2_wdt.c /dev/watchdog
RTL8723du drivers/net/wireless/rtl8723du/ wlan0
Bluetooth drivers/bluetooth/rtk_* hci0
EC20 drivers/net/usb/ec20/ eth2
  • Device tree main file:arch/arm64/boot/dts/myzr/ls1012a-ek200.dts
  • Device tree registration information file:arch/arm64/boot/dts/myzr/ls1012a.dtsi (“***”means 140,140p)

</div>