not need to design complex peripheral circuits, reduce design complexity and use of materials, arm is not as good as second, the chip range is large, high performance, easy to upgrade, from 50m-1.7g, there are processors, and PowerPC will be like multi-core processors, such as the introduction of integrated dual-core
E500 core mpc8572, MIPS performance up to 6897, arm I don't think the frequency is 1g, arm is about 1.1
. Starting from this simplest situation, by adding logical operation commands, shift operation commands, empty commands, mobile operation commands, arithmetic operation commands, transfer commands, loading storage commands, coprocessor access commands, and exception-related commands in sequence, finally, the teaching version of The openmips processor is implemented. The third part is the advanced article. By adding the wishbone bus interface for the openmips tutorial edition, we have implemented
Source code All in directory:/usr/src/linux (most Linux distributions) init kernel initialization code kernel kernel core: process, timing, program execution, signal, module ...MM Memory ProcessingArch Platform related CodeI386 IBM PC Architecture Kernel kernel core part mm memory management Math-emu floating point unit software emulation LIB Hardware related tool function boot bootloader Compressed compression kernel process tools to generate compressed kernel Images Alpha Compaq Alpha Architec
on the current information.
The has different Current_sos implementations on different operating systems and architectures. The Svr4_current_sos function is used to reconstruct the Linux system on the arm instruction and the MIPS instruction, which is commonly employed in engineering.
The enters the Svr4_current_sos function, first calling Locate_base to get the base address of the debug information. It calls the Elf file that Elf_locate_base pars
Address: http://blog.csdn.net/enlaihe/article/details/7598941
See a lot of the Assembly on the return of the program and the return of the processing address are very special, think about the original pipeline effect. So, decided to summarize learning under arm pipeline.
The ARM7 processor uses a Class 3 pipeline to increase the speed of the processor instruction stream, providing 0.9mips/mhz instruction processing speed.
Ps:
MIPS (Million instructi
has a problem, the online solution is to update the network card driver. Since the NIC driver is not tested in person, this issue can be resolved by updating the system with "Yum-y update".Viewing the system version[Email protected] ~]# uname-aLinux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 03:15:09 UTC x86_64 x86_64 x86_64 gnu/linux[Email protected] ~]# cat/proc/versionLinux version 2.6.32-431.el6.x86_64 ([email protected]) (GCC version 4.4.7 20120313 (Red Hat 4.4.7-4) (gcc))
Transferred from: http://blog.csdn.net/haolianglh/article/details/51986987Arm Break ConceptIn the 9th chapter of ARM Architecture and programming, there is a concept called "abnormal interruption" in arm, which is a variety of exceptions including external interrupts. Obviously, the concept of "abnormal interruption" of arm system is closer to the concept of "anomaly" in MIPS system.Since the MIPS system is
Linux Source code directory tree structure (2008-04-21 09:14)Category: Linux/unixLinuxThe source code used to support various architectures contains about 4,500 C-language programs, which are stored in about 270 subdirectories, totaling approximately 2 million lines of code, about 58MB of disk space.Source code All in directory:/usr/src/linux (most Linux distributions)InitKernel initialization codeKernelKernel core part: process, timing, program execution, signal, module ...MmMemory processingA
Uimage production is the use of U-boot tools Mkimage,build after U-boot will also be mkimage build out to/tools directory, can be directly used, it is in front of the zimage to add 64 bytes of head, Allows U-boot to identify the type of kernel to load, load addresses, and so on.Basic format: mkimage-a arch-o os-t type-c comp-a addr-e ep-n name-d data_file[:d ata_file ...] image -A Specifies the architecture of the CPU: (U-boot supports multiple architectures, this should be arm) value Represe
models, can be divided into arm,arm-v7a,mips,x86, respectively, corresponding to the ARM architecture, ARM-V7 architecture, MIPS architecture and X86 architecture, these so libraries in the APK package in the form of the following figure Figure2:
Figure 2 LIB directory structure
Among them, different CPU architecture corresponds to different directories, each directory can put a lot of the corresponding
Steps:
One. Familiar with the basic way of debugging with GDB on common computer. See also: http://www.ibm.com/developerworks/linux/library/l-gdb/
Two. Download "GdB Quick Reference", 2 pieces of paper, printed out and put at hand for standby.
Three. Allow embedded systems to support Gdbserver. (on OpenWrt, that is, select Compile gdbserver when make Menuconfig)
Four. For debugging
For the 4th, the following is based on the MIPS CPU OPENWRT platform
a will be stored one by one, thus sizeof (a) is 11. It is clear that alignment is a waste of space. So why use alignment?The alignment and misalignment of the architecture is a trade-off between time and space. The alignment saves time. Assuming that the word length of an architecture is W, it also assumes that the most frequent and important processing of data with a width of W is in this architecture. Its design is also from the priority to improve the operation of W-bit data to consider the
reduced and addressing can be expedited. Most architectures are aligned to access data in terms of word length. When not aligned, some will be wrong, such as MIPS will generate bus error, and x86 will be repeated access to the results of stitching, thereby reducing the efficiency of execution.Some architectures are required to be aligned, such as Sparc,mips. They are aligned to the mandatory requirements i
GHz frequencies as possible, I can only modify the band management section of the cracking driver without directly modifying the EEPROM method. Google to reghack and its source code
However, the program compiled by the author is used on routers using MIPS or PowerPC architecture and needs to be re-compiled on PCs.
### Google's reghack on the internet is for Routers. The routers generally use MIPS an
, you need to refer to the chip Manual (DataSheet) or write the following code for testing.
Printf ("char [% d] short [% d] int [% d] long [% d] long [% d] float [% d] double [% d] \ n ",Sizeof (char), sizeof (short), sizeof (int), sizeof (long), sizeof (long ),Sizeof (float), sizeof (double ));
In a 32-bit system, the following results are generally returned:
Char [1] short [2] int [4] long [4] long [8] float [4] double [8]
Data in byte order
Generally, the x86 architecture uses Little-Endian
, the report also states that more than 70% of kernel contributions are made by employees of the following companies: IBM, Intel, Linux Foundation, MIPS technology, NontaVista, Movial, NetApp, Novell, and Red Hat.
In the past three years, the number of Linux Kernel developers has also increased. In 2.6.11, only 483 people of code were eventually accepted into the Kernel. By 2.6.24, code of more than 1057 developers is accepted by kernel code monitori
Processing
Tools: programs used to generate a compressed kernel Image
Alpha Compaq's Alpha Architecture
S390 IBM System/390 Architecture
The structure of the system
Sparc64 Sun's Ultra-iSCSI Architecture
Mips SGI Architecture
Ppc-IBM PowerPC-based architecture
M68k Motorola Architecture Based on MC680x0
Arm-based ARM processor architecture
Fs File System
Proc/proc Virtual File System
Devpts/dev/pts Virtual File System
Ext2 Linux local Ext2 File Syste
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.