Mplayer 1.0 already comes with most of the decoding libraries, such as FFMPEG, but the built-in audio library works very poorly in s32440. use libmad instead. therefore, to port mplayer in arm-Linux, you only need to port the two. after transplantation, the character interface is played. the arm version was first run successfully by my student Cheng lei.However, the complete version requires the following l
Article Title: Create an arm-linux cross-compiling environment step by step. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The following files are used as examples to create an arm-linux cross-compiling environment:
Compiling environment redhat 7.2 or 8.0
Binutils-2
The use record of serial Bluetooth in ap6212 under LinuxFirst, the Linux Bluetooth tool portingThe main tools used and related libraries are as follows:bluez-libs-3.36libxml2-2.7.4dbus-1.0.2glib-2.24.2bluez-utils-3.36openobex-1.5Download the appropriate source code to extract, according to the above sequence to compile.Add mk.sh content in bluez-libs-3.36 as follows#!/bin/sh./configure--prefix=/usr/bluez--host=arm-linux--target=
Sort the information according to arm official and online documents.
Let's take a picture of the Architecture first.
ARM microprocessor Series
ARM microprocessor currently includes the following series, as well as other manufacturers based on the ARM architecture of the processor, in addition
In addition to the common
I. Preface
Anyone who has learned about ARM embedded knows that in order to make the PC program run on the ARM board, a cross-compilation environment must be established to compile the source code. I will not talk about the basic concepts of the Cross-compilation environment. Here, I mainly write the steps and ideas for creating a cross-compilation environment.
My setup process went through four crazy days.
Arm-linux compiler cross tool detailed description arm-linux tool functions are as follows: arm-linux-addr2line program address to convert the file name and line number. In the command line, give it an address and an executable file name, it will use the debugging information of this executable file to point out that the given address is the
The main difference between this article and the previous one is that there is no use of system GMP, MPFR, MPC, Cloog, etc., but using source code to compile.
1. Compile binutils:
Unzip the BINUTLS code into the SRC directory and create the Binutil directory in the build directory.
Execute in the Build/binutils directory:
.. /.. /src/binutils-2.25/configure--prefix=/home/charles/code/build_toolchain/toolchain--with-sysroot=/home/charles/ Code/build_toolchain/toolchain/
/********************************************************************************* * ARM Linux Qt 5. x.x No title bar * Description: * Previous QT 4.x.x version is directly with the title bar, but now the QT 5.x.x without the title bar, from the reference article * can be seen, it is necessary to transplant the window manager. * 2017-1-6 Shenzhen Nanshan Ping Shan village Zengjianfeng ********************************************************** ********
12. After the template file is ready, we use PowerShell to create an auto-expanding collection of VMSS for Linux and first login to the ARM account in Azure China:Login-azurermaccount-environmentname Azurechinacloud13. If you have multiple subscriptions, select the correct subscription you want to create VMSS:Select-azurermsubscription-subscriptionid xxxxxxxxxx14. If you have not created a resource group before, create one, and the resources for all a
Linus Torvalds announced the release of Linux 3.7, which means that the Linux 3.8 Merge window will be closed on Christmas Eve.
The new features include: Support for 64-bit ARM architecture, support for ARM multi-platform-that is, using a single kernel to launch into different arm systems.
Support Encryption signature kernel module, allow completely stop impr
difference will become a checkmark, and then click Apply OK!Third, install the embedded QT compiler program1, first install Tslib unzip the file to the corresponding folder, into the pressurized directory;2, #./autogen.sh prompt error:./autogen.sh:4: Autoreconf:not found FIX: No Automake tool installed Apt-get install Automake Libtool3./configure--prefix=/home/mytslib/--host=arm-linux ac_cv_func_malloc_0_ nonnull =yes;4. # make encountered an error[C
This article introduces the second part of the ARM Linux boot, written in C, mainly on the creation of Start_kernel to 1th process. Mainly about the process, and then the sub-function to explain.First, Start_kernelStart_kernel is located in Init/main.c, which mainly completes initialization of some Linux subsystems.1) smp_setup_processor_id () Single CPU bit is empty.2) Lock_kernel () lock Cpu,linux is a preemption-enabled, multi-CPU Call this functio
Recently encountered problems in the project, in the x86 platform debugging good procedures, porting to arm, the program behavior completely changed.Examples are as follows:
#include
The x86 platform outputs smaller than 128.Output bigger than 128 on ARM platform.
It turns out that the C standard indicates that the char type can be signed or unsigned, and that a specific compiler, processor, or both of
These days the outbreak of avian flu in the Yangtze River delta, even the market are afraid to approach, quite a bit of SARS posture, I really doubt God is not a program ape, making people do so many bugs,
H7N9 driver has not written well, the harm we can not stop playing patch, from time to time to a oops. Today, I read an expert's commentary: "The H7N9 gene has eight, the H7 part of which is the wild birds from Zhejiang,
N9 is a part of the wild birds from South Korea, then the remaining six i
VS2010 to debug Linux program method based on arm
To build such a debugging environment, is inadvertently mentioned visulgdb this plug-in, and then search to its official website, found that there is a raspberry based on the document. So, just want to use the Development Board also run Linux system, can also learn from such debugging means. Although the two systems are still different, but think of such debugging means, after all, than the command li
. This requires "relocation." In ads or Keil, the relocation code is the company that made the tools to help you write it.
Have you ever read.
4. Memory is so large, how do I know to "originally exist Flash content" read to the memory "which address."
A: This address is decided by "link script", there are scatter files in ads, and similar files in Keil. But have you ever studied it.
5. You say reposition is to copy the program from Flash to memory, then this program can read Flash AH.
A: Yes, to
@ Change this value to 0x00000020, @ allows LED1 to go off STRR1,[R0] NBSP;NBSP;NBSP;NBSP;@NBSP;GPB5 output 0,led1 lit main_loop: BMAIN_LOOP
Makefile File:[Plain] View plain copy led_on.bin:led_on. s arm-linux-gcc-g-c-oled_on.oled_on. s arm-linux-ld-ttext0x0000000-gled_on.o-o led_on_elf arm-linux-objcopy-obinary-sled_on_ elfled_on.bin clean: rm-fled_ on.
Introduction
This article briefly describes how a function is passed into a parameter, and we all know that when a function call uses a small number of parameters (less than or equal to 4 on arm), the parameter is passed through the register (arm is through R0,R1,R2,R3), and when there are more than 4 parameters, The extra parameters will be pushed into the stack to pass (in fact, in the function call pro
1. Basic Concepts
atpcs (arm-thumb Procedure call standard)
A set of basic rules for calling between subroutines, including rules for using registers during subroutine calls, rules for using data stacks, and rules for passing parameters. With these rules, a separately compiled C language program can be called with the assembler program.C-language subroutines compiled with the C language compiler of ads satisfy user-specified atpcs types. For assembly
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.