How to compile Linux kernel, imx6 compilation method
1. Handle environment variables first, ensure correct environment variables and tool chains:
Export path= $PATH:/home/xrz/pa100_toolchain/opt/freescale/usr/local/ gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin:/home/xrz/pa100_toolchain/opt/freescale/ Ltib/usr/bin2. How to compile the
How GPIO is configured for Freescale IMX6 processors
Turn from:
Http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5206540.html
In Linux or Android, if we want to configure a Freescale IMX6 processor's Gpio pin, such as the gpio_19 pin, then this: [CPP] view plain copy #define Mx6q_pad_ Gpio_19__gpio_4_5 \ (_mx6q_pad_gp
imx6 Device Tree Pinctrl parsing
Transferred from: http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680705.html
Recently in the porting of Linux, with the kernel version of 3.14.28, in the high version of the kernel source used in the device tree (device-tree), the device tree with the Pinctrl configuration, recorded.
1. General Settings
When configuring the serial port, the configuration information for the Pinctrl is as follows:
[CPP] view plain co
Before Yan
Freescale series single-chip microcomputer is the flagship product developed by feisikar. The former Motorola semiconductor department is one of the world's largest semiconductor companies. It has four R D centers in Beijing, Shanghai, Suzhou and Tianjin, we have established Freescale single-chip microcomputer labs and training cooperation institutions on more than 20 key university campuses in
/*************************************************************************** * imx6 ar8031 Gigabit NIC cannot be used * imx6 either run Li Nux or Android cannot ping a direct-attached PC, but DHCP is configured to surf the internet normally. * This document documents the resolution process. * * Tony Liu, 2016-4-19, Shenzhen*/One, Ping does not pass the following attempts:1first turn off the firewall on the
In the "can_485_module_v1.x" Hardware data compression package, provide a schematic diagram of the Cadence format andSchematic diagram of PCB, AD format and PDF format.The Linux driver for the 485 module is the "drivers/char/max485_ctl.c" file in the kernel directory, the default kernelThe driver is already included in the image.The test routine provides a "Schindler itop-imx6-minilinux-rs485_v1.x" compression package.1 Hardware ConnectionThe hardware
Patch and Crosstool-ng can be downloaded from the following URL, https://community.freescale.com/thread/386450 but you will be disappointed, changed the script, compiled and found that the wrong, LD,GCC version is not correct,There is no way to reproduce the environment of Freescale, compile the same toolchain, the same toolchain is how to compile, estimated that Freescale is not known.It took a while to re
IMX6 Device Tree Interrupt description
Turn from:
Http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680717.html
Kernel_imx/documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt594 egalax_ts@04 {595 compatible = "Eeti, egalax_ts"; --corresponds to the I²C device name in the driver.596 Reg = 597 interrupt-parent = 598 interrupts = 599 Wakeup-gpios = 600};601The second cell bits[3:0] is used to specify trigger type and level flags:1 = Low-
First, we need to understand a basic concept: the geomagnetic sensor must work with the gravity sensor, and the compass will work properly.I. Key points for commissioning:1. The gravity sensor has a directivity of 3 axes, and the data output of the geomagnetic sensor is also directional. We must configure the correct position according to the position of the relative LCD view of the hardware Layout board sensor to indicate the correct orientation.2. Mag3110 driver in the Linux bottom register, i
The low-cost Blackfin Processor ADSP-BF531 of ADI and the multi-media processor I. mx21 of Freescale Silicon Valley semi-analytics are both very user-friendly.
ADI ADSP-BF531:1. Three points: low power consumption, low bandwidth, and great startup for vdsp.2. bf531 chip functions are quite rich. What is the supported audio/audio format package? SPAN href = "tag. php? Name = amp "onclick =" tagshow (event) "class =" t_tag "> amp3, WMA, and popular ape
This year's merger and sale of the semiconductor industry have just ended, and they have just begun.
First, the split of PHILIPS semiconductors, which was widely spread at the beginning of the year, was completed last month. Then, Intel sold the Non-Profit department twice, which can be described as a scissors. Now, Freescale, just two years after its independence from Motorola, was acquired by a consortium at a price of $17 billion, which is $40 per
In Linux or android systems, if we want to configure the gpio pin of the feisikar imx6 processor, for example, the gpio_19 pin, we should look like this:
#define MX6Q_PAD_GPIO_19__GPIO_4_5\(_MX6Q_PAD_GPIO_19__GPIO_4_5 | MUX_PAD_CTRL(NO_PAD_CTRL))
_ Mx6q_pad_gpio_1920.gpio_4_5 is defined:
#define _MX6Q_PAD_GPIO_19__GPIO_4_5\IOMUX_PAD(0x0624, 0x0254, 5, 0x0000, 0, 0)
The iomux_pad macro is a key macro defining gpio. Its prototype is:
#define IOMUX_PA
In the use of IMX6 Core Board development, the program written to a U disk, want to run the program on the board through a U disk, U disk inserted on the board after the minicom in the information display, but unable to find the Mount file,/dev and/mnt did not find the corresponding file. Baidu later found that the U disk in the arm of Linux needs to be manually mounted. Here's how:1, the USB stick will be inserted after the information displayed in t
1. Adopt slave mode2, SS_CTL configuration is 0The configuration instructions for this bit in imx6 are as follows:whichIn slave Mode-an SPI burst was completed when the number of bits received in the shift register isEqual to (BURST LENGTH + 1). Only the n least-significant bits (n = BURST length[4:0] + 1) of theFirst received word is valid. All bits subsequent through received word in Rxfifo is valid.Follow the following two sentences:If BPW is set t
Freescale-sdk linux port a build compiling environment script host-prepare.sh Analysis
Next we will use our out-of-class break time to port and analyze linux based on the PowerPC architecture freescale-sdk. Refer to the official documentation freescale linux sdk START_HERE.html, first of all to build the compiling environment script host-prepare.sh analysis. Befo
In the process of using imx6q spi5 (spi5 I added), I encountered a problem: 1) The upper app sends 3 bytes of data to Spi5 via Write () , uses the oscilloscope to capture its chip selection signal, as shown in: 2) The same driver, the upper app sends 3 bytes of data to the SPI2 via write () and uses an oscilloscope to capture its chip-selection signal, and then the slice is pulled higher after each packet of data (3 bytes) is sent. 3) on the Freescale's official website https://community.fre
1. Description of the phenomenon1) using the IMX6 Development Board, load 9 feet of 8G SanDisk SD card, the SD card read and write files are normal2) after inserting the 9-foot SD card into the newly welded SD card holder, the read-only cannot be written.2, read-only reasonsThe w/p pin on the SD card holder is soldered (equivalent to being suspended). Problem solving after re-soldering w/p.3. Cause analysisNormally, if the lock on the SD card is not l
I. Overview
1. The display drive architecture of flisikar imx6:
2. Objectives:
Because the sabrelite Development Board itself has provided LVDS interface, the target screen is LG's LP101WX1-SLN2, its main parameters are:
Resolution: 1280*800
Color: 18 digits
Color: 262 K
Clock frequency: 69.3 M Hz
2. porting process
1. First, connect the screen interface to the LVDS interface of the sabrelite Development Board. The following LVDS interfaces are pr
method:Input after power on: ifconfig eth0 down will eth0 off, because he will conflict with the module.Then enter the command under/ETC/PPP:PPPD Call wcdmaKeep it running in the background, if the migration succeeds, it will print some information, and the following is the last part of the interception:CHAP Authentication SucceededCHAP Authentication SucceededSent [IPCP ConfReq id=0x1 RCVD [IPCP ConfReq id=0x0]Sent [IPCP Confnak id=0x0 RCVD [IPCP confnak id=0x1 Sent [IPCP ConfReq id=0x2 RCVD [
Imx6q for C20 write Gpio driver, in the upper layer call open () function always error, return-1.After parsing the Gpio_request function, and looking for IMX_GPIO_NR (1, 17) in BOARD-MX6Q_SABRESD.CDefinition, found two definitions, (1, 17) and was used in Mx6_sabresd_board_init ()." Ft5x06-rst ")Since the PIN is a dedicated pin in the printed PCB board, the statement is commented out in the kernel, and the kernel is re-burned, then the test is OK.The experiment proves that the gpio_request can o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.