Note: Ubuntu does not support MIPS processors and can only be installed and run under x86.First step, install QEMU
sudo apt-get install Qemu qemu-system.The Qemu-system-mips--version discovery version is too low because later QEMU requires a later version. Download http://wiki.qemu-project.org/download/qemu-2.1.2.tar.bz2, then unzip, perform make, this step takes a long time, and make install
I. Environment
1. Linux kernel of the Development Board: 2.6.28.10
2.3G wireless network adapter: Huawei E303 (vendorid: 12d1 productid: 14fe)
Ii. related software:
1.usb-modeswitch-1.1.7.tar: USB device Working Mode Conversion Tool
2.usb-modeswitch-data-20110227.tar: used to configure usb_modeswitch.conf
3.libusb-1.0.8.tar: provides a set of system APIs for usb_modeswitch.
4.libusb-compat-0.1.3.tar: compatible with version 1.0 and 0.1
Iii. Description:
1. Pay attention to parameter settings
"Original" http://blog.csdn.net/gubenpeiyuan/article/details/7895469Because it is necessary to compile the program locally and run it on the embedded system, the compiler needs to be installed locally, and the main requirement is MIPSEL-LINUX-GCC.Before always thought can use Apt-get install find, results find for a long time to find, found or have to make up their own.1. EnvironmentSystem: Ubuntu 16.04Software: BuildRootThe software can compile the C compiler for
First, the structure1.ARM Architecture2.x86 Architecture3.Mips ArchitectureTwo, 3 difference three, how to compile 64-bit so file in AndroidIf you are compiling Android code under Linux, there could be two reasons:1. The lunch command has 32-bit and 64-bit differences, note that the command to compile 64-bit so2. The Mk file has Local_module_path values such as $ (target_out_shared_libraries)/HW instead of local_module_relative_path: = HW, The latter
Reprinted please describe the link to this article
1.download qt-embedded-linux-opensource-src-4.5.2.tar.bz2
: Http://get.qtsoftware.com/qt/source/
Qt-embedded-linux-opensource-src-4.5.2.tar.bz2
2. Configuration
./Configure-Prefix/opt/qt-4.5.2-embedded MIPS-no-OpenGL-QT-mouse-tslib
Because I have already compiled all the required libraries, I will not describe them here.
The configuration result is as follows:
Build... libs examples demos docs tran
Read a lot of articles, or said to use opkg to install Python, or to say that the millet router cross-compiling, there is no mini. Learned this article (http://me.deepgully.com/post/5638916786880512), compiled the Xiaomi Route mini Python.Compiled: http://download.csdn.net/detail/kowity/9611919Xiaomi routing mini version of the route is MIPS, and Millet routing arm version is not the same, so the script made some changes. First download the Xiaomi rou
step will put the generated library and so on in the configuration of the time this inside--prefix=/opt/libcurl-lib should be the source package that the need to copy into this areaSecond, the above said the need to rely on the library OpenSSL library, let's compile OpenSSL together.SOURCE Package openssl-1.0.1u.tar.gzFirst of all, why did not choose to compare the new version, because I used a lot of versions, makefile are different for reference blog http://blog.csdn.net/clirus/article/detail
SSE instruction set
The SSE (streaming SIMD extensions, single-instruction multi-data stream extension) Instruction Set was first launched by intel in the Pentium III processor. In fact, before piII was officially launched, Intel once published the so-called kni (Katmai new instruction)
is very slow and not recommended.
3. In fact, I just installed a Ubuntu 9.04 in VMWare, and then download the compiled open-wrt toolchain to decompress it, You can directly compile the http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/gcc.3.4.4-broadcom-mipsel.tar.bz2
4. Install the MIPS simulator
Sudo apt-get install qemu
Qemu-mipsel-L/home/steeven/work/dd-wrt/home/dd-wrt/whiterussian/openwrt/staging_dir_mipsel/test
On my Ubuntu
Hello everyone:As a software developer, I'm sure everyone has thought about the question: Why is the performance of the native Godson processor so different from Intel's processor performance in the same period? Why is domestic open source software development far less than abroad? ------is our software developer's own lack of literacy? Or is it the hardware performance of the original homemade processor? I graduated with the Chinese Academy of Science and Technology Research Institute Godson La
64-bit multi-core MIPS exception and interrupt kernel code analysis (3)
Analysis of RMI xlr732tlb related processing functions
0. Background
The virtual address space in mips64 is divided:
The kernel space is xkphys and xkseg, and xkphys are fixed mappings without TLB (unmapped)
The user space is xuseg.
1. Rmi xlr732 TLB refill handler Analysis
@ 0 xFFFF FFFF 8000 0000C: 07610005 bgez K1, 24 10: 3c1bc000 lui K1, 0xc000 -----> at delay slot, co
1. The question is as follows: enter a short string, and compare it with a long string that was saved in advance to see if the input string is a substring of the string.2. Key points: the string storage method. Strings in MIPs are stored in byte mode. The End mark of a string is 00. Therefore, you can use $ zero to determine the end of a string. However, this topic is special, because '\ n' (0a) is not added at the end of the main string, and' \ n' is
Today, writing a study note of the PLC, this article will introduce the most basic operation of the PLC and control instructions, this article will be directly on.1. Basic Arithmetic Operation instruction1) Integer arithmetic2) Long integer operation3) Real arithmetic、STL Programming Example (arithmetic operations for 16-bit integers)liw10//the input word IW10 load accumulator 1 Low word lmw12//the accumulator 1 low word loaded into the low word accumulator 2//The storage word MW12 loaded accumu
When it comes to Angularjs, the first thing we think about is the two-way data binding and instruction system, both of which are the most attractive places in Angularjs. Two-way data binding, feel nothing to say, then today we will briefly discuss the ANGULARJS framework of the command system.Directives as the most important part of the ANGULARJS, so the framework itself has a lot of instructions, but in development, these directives often do not meet
Some manuals are listed in http://blog.csdn.net/gengshenghong/article/details/7008682, where the Intel intrinsic Guide can query all intrinsic functions, Corresponding assembly instructions and how to use, etc., so, the next is not all analysis, the following only part of the analysis, so as to understand how to use these advanced instruction set in C + + code basic methods, as for more instructions to use, the query manual is easy to understand.
Inst
How to create scope in directives:
The scope default value is False, which indicates that scope is the same as the scope of the parent controllerScope:true, which means creating a new scope that inherits from the parent scope, so that instructions under the same parent control can communicate using this scope.Create a completely independent scope that belongs to the directive itself, which prevents the reading and modification of data from the parent scope.To create a fully independent scope API
Instruction Set
Y86 Instruction Set
Operator: addl, subl, andl, and xorl
Jump character: JMP, jle, JL, je, JNE, jge, andjg
Condition characters: cmovle, cmovl, cmove, cmovne, cmovge, and cmovg
Others: Call, pushl, popl, halt
Registers
% Eax, % ECx, % edX, % EBX, % ESI, % EDI, % ESP, % EBP
The stack pointer has % ESP.
The address where the PC stores the current command
Condition code (Status Code)
1. Nor
INT (software interrupt instruction) is a special form of call instruction. The call instruction calls the subroutine that is part of the user program, while the int instruction invokes the operating system to provide the subroutine or other special subroutine.The biggest difference between an interrupt service subrout
Questions about arm instruction sets, static library running, compilation errors, and other issues, arm Instruction Sets
Reprint from http://www.jianshu.com/p/4a70aa03a4ea? Utm_campaign = hugo utm_medium = reader_share utm_content = note utm_source = qq
I read a lot of information about the arm Instruction Set and the running of the static library, as shown b
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.