: skyeye graphics application
Uart_instance: The application called by skyeye. The function is to display serial output through an xterm terminal.
The conf directory stores some configuration files for supported target boards.
The include directory stores the header files used by the skyeye plug-in.
Info directory stores info-Format documents
The Lib directory stores the core library libcommon. so of skyeye and Other plug-ins with Dynamic Inventory.
The testsuite directory stores a simple test c
not need to control. General on the rf-kill inside are, can operate on the command line.The UART has been configured as UART (tx/rx/rts/cts), can also is configured only when using the Bluetooth UART.I) correspond to each OTHER:TX and RX, RTS and CTS, RTS and CTS is used for hardware flow controlII) pulled the RTS (the other CTS), and the other side can not send dataIII) detection to the CTS (the other RTS
S3C2410 has three clock flck, hclk, and pclk (these three are the core hour hands)
The S3C2410 chip has such a paragraph:
Fclk is used by ARM920T, kernel clock, clock speed.
Hclk is used for AHB Bus, which is used by the ARM920T, the memory controller, the interrupt controller, the LCD controller, the DMA and USB Host block. that is, it provides clock signals for peripherals on the AHB Bus, including USB clock. The AHB Bus is used to connect high-speed peripherals.
Pclk is used for APB bus, whic
p15, 0, r1, c1, c0, 0nopmov pc, r2 ; Jump to PStartnop
Find the implementation of the cpupoweroff function and find the following sentence:
Change LDR R6, = 0x88000000:
LDR R6, = 0x92000000
4. debug serial port transplantation.
Clone my2410 BSP uses uart1 as the debugging serial port by default, and changes it to uart0
First, find the oeminitdebugserial function (my2410/src/oal/oallib/debug. c) and run the following code:
CLRREG32(pIOPortReg->GPHCON, (3
Changed:
CLR
(For Original Articles, please indicate the source. Thank you)
Well, there have been too many accounts owed to blogs recently. This type of serialization will continue. Let's talk about the startup code of arm today. I have many friends who write code, but I am confused when starting the arm code. In fact, most of them do not understand the working mechanism of arm.
I talked a lot about this serialization, but remember that the first code executed by the arm powered on started from 0x0. No one c
. initialize the hardware, for example, set UART (at least one) and check memory =.
2. Set the startup parameters to inform the kernel hardware, for example, which startup interface is used, the baud rate =.
3. Jump to the first address of Linux kernel.
4. Extinction
Of course, virtual addresses are used in the pilot phase, such as Vivi. If you are bored, real addresses are the same.
Let's look at the Code:
2410init. s
. Global _ start // execution st
article is a lot online, and I have simplified it here, unnecessary functions are deleted.Bootloader is generally divided into two parts: the Assembly part and the C language part. The Assembly part performs simple hardware initialization. The C part is responsible for copying data, setting startup parameters, serial communication, and other functions.Bootloader lifecycle:1. initialize the hardware, for example, set UART (at least one) and check memo
registereds3c2410-lcd: no platform data for LCD, cannot s3c2410-lcd: probe of s3c2410-lcd failed with error-22lp: driver loaded but no devices foundppdev: User-space parallel port driverserial: 8250/1 6550 driver $ revision: 1.90 $4 ports, IRQ sharing enableds3c2440-uart.0: s3c2410_serial0 at mmio 0x50000000 (IRQ = 70) is a S3C2440s3c2440-uart.1: s3c2410_serial1 at mmio 0x50004000 (IRQ = 73) is a S3C2440s3
The mt7688an System Single chip can be used in the home automation bridge center. It integrates 1t1r 802.11n wi-fi radio, 580 MHz MIPS? 24kec? The CPU, 1-port Fast Ethernet phy, USB2.0 host, PCIe, SD-XC, and I2S/PCM support a variety of low-speed output interfaces in a single Single System Single Chip.
In Iot gateway mode, you can connect to the 802.11ac chipset through the PCIe interface and use it as the dual-band 802.11ac synchronization gate. The high-speed USB 2.0 interface can connect mt
The mt7697 is a highly integrated monolithic chip with application processor, low power 1x111n single-frequency Wi-Fi subsystem, Bluetooth subsystem, and power management unit. I do not know. The application processor subsystem contains an arm cortical-m4 with a floating-point MCU. It also includes many peripheral devices, including Uart,i2c,spi,i2s,pwm,irda and auxiliary ADCs. It also includes embedded Sram/rom. The Wi-Fi subsystem contains 802.11b/g
new functions are automatically used by the connector during connection. This process is called the function of redirecting the C language library, as shown in figure 6.
For example, a user has an I/O device (such as UART ). The original library function fputc () Outputs characters to the debugger control window, but the user changes the output device to the UART port, so that all () the printf () Series F
userdebug
The same as user, doesn t:
* Also installmodules tagged with debug.
* Ro. debuggable = 1
* ADB is enabled by default. MTK supplement differences:
(1) In terms of DEBUG/log, in principle, the user version can only capture limited information, while Eng can capture more information. The debug version is more powerful, and The ENG version is recommended for development and testing.
* Due to the different Ro. Secure Settings of user/eng versions, the user version ADB only has shell permis
I2S transmission. The audio data can be 8/16/32bit and the sampling rate ranges from 8 kHz to 192 kHz.
I2C: Two I2C controllers are supported.
UART: Supports four UART ports, DMA and interrupt modes. uart0/1/2 also supports the irda1.0 function. UART speed up to 3 Mbps.
Gpio: Universal gpio port, function reuse.
IRDA: Independent IrDA controller, compatible with
If you want to access some of the CPU's I/O ports before the kernel runs, use the pointer to define the register for operations. For example, you can run the IO command to feed the dog when extracting the kernel:In the ARCH/ARM/boot/compressed/Misc. c file: 307 arch_decomp_setup (); 308 309 makecrc (); 310 * (volatile unsigned long *) 0x40e00054) = (~ (3 12#define FFUART ((volatile unsigned long *)0x40100000) 13#define BTUART ((volatile unsigned long *)0x40200000) 14#defin
, and their respective interrupt service routines are mounted on this interrupt number. When the CPU responds to this IRQ, it will check the routines attached to this interrupt vector one by one and execute those truly interrupted routines. But the serial port obviously does not belong to PCI, and it is impossible to use the PCI disconnection and interrupt pin registers. What causes the kernel panic?
With the above problems, I discussed various possibilities with hardware engineers and chip desi
washing dishes, flushing, etc. His advantage is fast, but the degree of freedom is small. Using heap is like making your favorite dishes. It is troublesome, but it suits your taste and has a high degree of freedom. This person is really talented. Next I will write a heap of code. This part of the code is excerpted, not completely. The function is to receive data through the XMODEM protocol and put its content in the heap. As shown below
/** = function ==========================================
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.