There is a box of cotext-a9 (ARMV7-A) in the house, and now it is not.Always thinking about the use of waste. So how to compile the program for this box.Target machine:uname -alinux routon2.6. #3: £ armv7l gnu/linuxA virtual machine with an Ubuntu 10.04 X86 installeduname -2.6. +--generic #4: i686 GNU /Linux[email protected]:~# lsb_release-aNo LSB modules is available. Distributor id:ubuntudescription: 10.04. 4 ltsrelease: 10.04 codename: LucidInstallation process:Install pyth
Tags: issues other window ACE co-operation AMD more convenientProblem:Recently, with a Samsung i5 processor, the Windows tablet, and the ipad, as well as other mobile phones using arm processors, compared to a lot more heat, and even need to use a fan to cool, a lot of power consumption.Then it is very strange, in the case that the frequency difference is not big, and the actual implementation of the same situation, the x86 architecture of the process
1. Download arm-linux-gcc-3.4.1.tar.bz2 to any directory and download it to my personal folder/home/WRQThe arm-linux-gcc-3.4.1.tar.bz2 is as follows: http://www.handhelds.org/download/projects/toolchain/arm-linux-gcc-3.4.1.tar.bz2
2. Extract arm-linux-gcc-3.4.1.tar.bz2# Tar-jxvf ar
Address: http://hi.baidu.com/xiaoyue1800/item/a11a2c4a26da4b04c11613d9
The functions of the arm-Linux tool are as follows:
Arm-linux-addr2line handleProgramThe address is converted to the file name and row number. In the command line, give it an address and an executable file name, and it will use the debugging information of this executable file to indicate which file is on the given address and
support for the crossover environment, providing additional functionality to facilitate the development of embedded applications.
Click Next to the "Select Configurations" page, and we take the default, direct next step, to the "Cross GCC Command" setting. Here we can fill in the Cross compilation tool chain of the prefix and path, such as:
Cross compiler prefix:arm-arago-linux-gnueabi-
Cross compiler path:/data/linux/ti-sdk5/linux-devkit/bin
The example above is the cross compilation package
some variable storage space. However, because many controllers, such as DSP, arm, and other high-end single-chip microcomputer, do not have a location-addressable area, they need to implement a data structure similar to a location operation, you need to perform operations such as bit or shift on the byte where the current BIT is located. In this case, whether the code is beautiful or not, the amount of generated code is too large, and the CPU cycle
Eabi (Embedded Application binary Interface), binary interface of embedded applications.
AbiDefinition
Abi describes the underlying interfaces between applications and the operating system, between applications and libraries, and between application components. Abi allows compiled target code to run in a system compatible with Abi without any changes.
EabiSpecific Definition
There is a QA like this on codesourcery:
Https://support.codesourcery.com/GNUToolchain/kbentry32
Question
WhatIs the abi
When I wrote "getting started with the neon iPhone", I thought that the reader had a better understanding of the processor knowledge of iOS devices. However, after reading some discussions on the internet, I found that the original knowledge is not popular, and it is my fault. In addition, I think understanding these things is helpful for iPhone programming (not just for those who like neon). Even if you are using objective-C, even if you are not familiar with it, it will not affect your work, b
I. ARM instructions in the hopperARM processors do not say much, the ARM processor because of low power, and so on, so most of the mobile device is basically the arm architecture of the processor. Of course, as a mobile device for Android phones, the iphone is also used with the arm architecture of the processor. If yo
Part of oscilloscope Development
The dynamic link library of zlg is used for dynamic loading.
Arm is Context-M3-1343.
PC communication software developed in C ++ Builder 6.
The USB communication code is as follows:
// -----------------------------------------------------------------------------
For details, see www.jxust3jia1.com, which describes the oscilloscope project.
In order to optimize the ARM CPU to do deinterlace, learning Arm assembly, for ARM Assembly of the parameters of the rules do not understand, hereby record.
Original link:
Http://lli_njupt.0fees.net/ar01s05.html
5. Atpcs and inline assembly
Atpcs (arm-thumb produce call Standard) is the basic rule of subroutine invoca
/http://releases.linaro.org/components/toolchain/binaries/
https://www.mentor.com/https://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/
http://www.veryarm.com/arm-none-linux-gnueabi-gcc
Installation of uncompressed version (Installation environment Ubuntu)
3.1 Download decompression version
Download site: HTTP://WWW.VERYARM.COM/ARM-NONE-LINUX-GNUEABI-GCC
3.2 Ente
The first part of Linux under the ARM assembly syntaxAlthough it is convenient to write programs in C or C + + under Linux, the Assembly source program is used for the most basic initialization of the system, such as initializing the stack pointer, setting the page table, and manipulating arm's coprocessor. After initialization is completed, you can jump to C code execution. It should be noted that the GNU assembler follows the ATT assembly syntax and
Start with bootloader, because for now these will be bare-metal program related!This is the Red Hat Linux virtual machine installed on VMwarm10.0. As can be seen from the followingBare Metal Development process:Here is the third step (the second step in the first step has been provided), the experience summarizes the arm bare metal development needs which tools, when used in detail.To do the third step, first install the cross-compiler!Locate the inst
-Vic in armA:If the code is run in the On-chip RAM and the application needs to call the interrupt, the interrupt vector must be re-mapped to the flash Address 0x0. This is done because all the abnormal vectors are located at the address.0x0 and above. This is achieved by configuring the register memmap (in the system control module) to the user Ram mode. User code is connected to enable the interrupted vector table to be loaded0X4000 0000.
4. Arm sta
Learn embedded well, you have to do more hands-on, more practice. To get started, configure your own development environment and migrate the kernel. The development environment does not say that the porting kernel will have to compile the kernel first. You have to have a compiler. Because the architecture of arm CPUs is not the same as x86. The usual practice is to use the arm cross compiler in the x86 deve
Installing the cross-compilation tool arm-linux-gcc-4.3.22011-07-08 00:55:28| Category: Embedded | Report | Font size Subscription Environment: Fedora 9STEP 1: Download arm-linux-gcc-4.3.2.tgz.Put arm-linux-gcc-4.3.2.tgz in a directory, I put it in/opt。download Site 1: http://www.arm123.com.cn/linux/arm-linux-gcc
Article 1Article, Explains the basics of SOC design!
Address: http://blog.163.com/gene_lu/blog/static/64025421201111872144184/
We skip all the descriptions of arm and directly go to the questions most concerned by engineers.To design an ARM-based SOC, we must first understand an ARM-based SoC structure. Figure 1 shows a typical SOC structure:Figure 1Fro
1. Some common abbreviations and explanations of ARM
MSB: the highest valid bit;
LSB: minimum valid bit;
AHB: advanced high-performance bus;
VPB: a large-scale peripheral bus connecting the peripheral functions of the chip;
EMC: external memory controller;
Mam: Memory acceleration module;
VIC: vector interrupt controller;
SPI: full-duplex serial interface;
Can: controller LAN, a serial communication protocol;
PWM: pulse width modulation;
TM: Embedded
, why became 1.0, I do not know, how to compile is not difficult, difficult in how to configure, related documents please read my other document "Arm-linux Tslib", of course, which document may not help you to fix, you need to use your intelligence, You may need to read the kernel-screen-driven source code. My Development suite Touch-screen controller is the CPU itself with the ad converter, kernel driver is compatible with H3600, so I ts.conf file Mo
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.