keyCvdestroywindow ("image"); // destroy the windowCvreleaseimage ( IMG );
Printf ("OK! \ N ");
Return 0;}
If a large number of undefined reference errors occur, check whether the compiler format is correct: GCC test. c-o Test-I/usr/include/opencv-L/usr/lib-lml-lcvaux-lhighgui-LCV-lcxcore. Test it on a PC first, note that the include directory and lib directory are the opencv installed on my Linux 386 system, not the transplanted arm version. If you
Create an arm cross-compiling environment in ubuntu10.04
In Linux, the overall process of creating the entire arm cross-compiling environment is as follows:
1. Download the source file
2. Create a compiling directory in Linux and set Environment Variables
3. Create a kernel header file
4. binutils)
5. Create an initial Compiler (bootstrap GCC)
6. Create a glibc Library
7. Create a full set of compilers (fu
In the embedded development, sometimes need to do the source level debugging, can set breakpoints, step execution, compared to each step printing printf or printk, more friendly. This debugging method is described below. GDB cross-debugging is similar to a Web browser, the local PC for the client, the remote Development Board for the server side, both sides to compile the tool chain uniformly, the version is best consistent. --TARGET Specifies the target cross compiler prefix, such as--target=
Download the source code of GDB 7.3.1 from http://www.gnu.org/software/gdb.
Copy to Linux virtual machine, decompress to gdb-7.3.1 directory, enter this directory
[Root @ localhost gdb-7.3.1] #./configure -- Host = arm-Linux -- target = arm-Linux
Bytes -------------------------------------------------------------------------------------
Make has the following error prompt:
Checking for library containing wa
; Font-family:arial,console,verdana, ' Courier New ' "GT;UBUNTU12.04ARM-LINUX-GCCInstallation EnvironmentLinux version: Ubuntu 12.04 kernel version: Linux 3.5.0 cross compiler version: arm-linux-gcc-4.4.3 This version of the cross-compiler I have uploaded to the resources, can download freely, click here to downloadPre-Installation rambleFirst, a simple introduction, the so-called cross-compilation environment, that is, the installation, configuration
Written in front: 2.6.14 version of the kernel with arm-linux-gcc4.4.3 is not compiled successfully, download 2.6.37 version of the kernel is compiled by arm-linux-gcc4.4.3.First, download the Linux kernel:linux-2.6.14.tar.bz2:http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2Second, decompression linux-2.6.14.tar.bz2:TAR-JXVF linux-2.6.14.tar.bz2Third, configuration makefile file:1, open sour
ARM assembly instructions are many, but the real use is not a lot, but also need to seriously think about less. More useful is MOV B BL LDR STR or through the specific assembly code to learn it.
@ Disable Watch dog timer
mov r1, #0x53000000//
immediate number addressing mode
mov r2, #0x0
str R2, [R1]MOV There is nothing to say, as long as the master a few ways to address, and ARM to address the way i
. This is actually tslib.14. I don't know why it became 1.0. It's not very difficult to compile and how to configure it, please read another document, "tslib of arm-Linux". Of course, this document may not help you. You need to use your talents, you may need to read the source code of the touch screen driver in the kernel. In my Development Kit, the touch-screen controller uses the active converter of the CPU itself, and the driver in the kernel is co
Installing the cross-compiler (ARM-LINUX-GCC) and the Integrated development environment (eclipse)
1. Install ARM-LINUX-GCC, whether you are downloading from the Internet, or the development of the CD inside, can be, the version is not limited, my is arm-linux-gcc-4.3.2.
Enter ARM-LINUX-GCC installation package direc
1. Software InstallationStep 1: Open the virtual machine, create the/usr/local/arm folder under/usr/local/(General user customization program put here)Step 2: First get the installation package from Windows to Linux. You can use a shared folder, or you can use Samba, or you can cuteftp.Step 3: Unzip. TAR-JXVF arm-2009q3.tar.bz2To the installation directory of the real application (aka/usr/local/
Ubuntu has been installed in the previous step, and the language pack is updated so that you can start next.
1. Install ARM-LINUX-GCC, whether you are downloading from the Internet, or the development of the CD inside, can be, the version is not limited, my is arm-linux-gcc-4.3.2.
Enter ARM-LINUX-GCC installation package directory, my location is in/home/cfan/t
1. Introduction
This document describes how to build ARM Trusted Firmware and run it with a tested set of other software components using Defined configurations on the Juno arm development platform and ARM Fixed Virtual Platform (FVP) models. It is possible-to-use other software components, configurations and platforms but that's outside the scope of this Docume
This is the graduation brother's Virgo blog, I hope you do not spray!!!Due to the needs of the laboratory project, graduating brother began to study Python at 9 o ' Night (2014/11/05). Oneself a bit obsessive-compulsive disorder, install what software all request new, so give oneself windows to install a Python3.3 (also bury a thunder for oneself). Before I installed Python-2.7.3 on a Linux machine, I didn't think much of it, thinking that the Python Premium version was backwards compatible. So
Step by step, create a crosstoolchain based on ARM + Linux-Linux general technology-Linux programming and kernel information. The following is a detailed description. Disclaimer: This article is based on the reference of online materials, and is based on Liang yuanen's "How to Build a cross-compiling environment for Embedded Development. I have explained in detail the problems I encountered during the establishment process. This article will be update
First, download the arm-linux-gcc-4.4.3.tar.gz installation package, the installation package address:Http://www.cr173.com/soft/42654.htmlSecond, unpack the installation package:sudo tar-zxvf arm-linux-gcc-4.4.3.tar.gz-c/Note that there is a space behind C so that the extracted files are in:/opt/friendlyarm/toolschain/4.4.3 pathIII. Create a new arm directory und
Configure arm-Linux-GCC on the basis of the installation on the Linux platform to make it work normally.
I. Preparations before installation
1. Download and install arm-Linux-gcc
The version of the arm-linux-gcc-4.2.1 IN THE RELEASE.
The following is the download link officially provided by arm: http://www.codesourcery
ARM is a well-known enterprise in the microprocessor industry. It has designed a large number of high-performance, low-cost, and low-energy-consuming Proteus processors, related technologies and software. The technology features high performance, low cost, and low energy consumption. It is applicable to multiple fields, such as embedded control, consumption/education multimedia, DSP, and mobile applications.
ARM
analysis of embedded Linux interview (I.)--ARM Part II 1. describe how the embedded ROM-based operation is based on RAM What is the difference between the operating mode. RAM-based operation: the hard disk and other media need to be loaded into the RAM, loading process generally has relocation operations;Rom based: no above operation.ROM-based: Slower than ram-based, because there will be a variable, part of the code, such as moving from memory (hard
carefully coded to be position independent.TextaddrThe kernel-initiated virtual address, which corresponds to the zreladdr. A generic kernel-initiated virtual address is the first bank address of RAM plus 0x8000.TEXTADDR = Page_offset + textoffstVirtual start address of kernel, normally Page_offset + 0x8000. This is where the kernel image ends up. With the latest kernels, it must is located at 32768 bytes to a 128MB region. Previous Kernels placed a restriction of 256MB here.TextoffsetThe kerne
The functions of the Arm-linux tool are as follows:
Arm-linux-addr2lineConverts the program address to the file name and line number. Give it an address and an executable file name on the command line, and it uses the debug information of the executable file to indicate which file and line number is on the given address. Arm-linux-arCreate, modify and extract arc
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.