arm

compile AMR-nb codec with RVCT for WinCE/Window Mobile

Hello everybody, I'm working on amr speech codec (porting/optimization) I have an arm (for WinCE) optimized version from voiceage and I use it as a reference in performance testing. So far, binary produced with my lib beats the other one by around 20-30%! I use Vs2008 and I have limited access to ARM instruction set I can generate with M...

inline assembly error

I am using inline assembly for iphone, I working for device debug mode. The instruction is as follows: __asm__("smlatb %0, %1, %2 ,%3 \n\t": "=r"(Temp): "r"(treg5) : "r"(fac5) : "r"(Temp) ); And I am getting an errors: error : expected ')' before tokedn '(' error: unknown register name 'r' in 'asm' I am using X-code 3.0 and...

C++ namespace problem with ARM RealViewICE

I'm using ARM RealView debug 3.1 and I'm unable to watch variables inside functions defined in a C++ namespace, the code works well and is compiled with armcc. Do any of you know a solution for this? ...

Writing PSRAM in EZ Flash 3 in 1

I am trying to figure out how to program the PSRAM in the GBA sized EZ Flash 3 in 1 card. Basically repeat what GBA Exploader and other programs do. If I select a block and program it then read it back the first halfword is always 0x1500 or something like that, but the rest of the data is fine. If on the write I select the previous ...

Need some advise to begin programming on ARM (with linux) platform

Hi everybody, I will have (maybe) to work soon on ARM platform hosting a linux distribution (I don't know which distribution ..). I know the project concerns video streaming, but I can't tell you more. Actually I only received the announe, and meet nobody yet. I've never worked on such platform. So the idea for me is to test before the...

Can i configure a ARM processor for Ascending Stack growth direction?

Hello, There has been one question here which talked about stack growth direction. To which Micahel Burr had replied saying in ARM processors stack growth direction can be configured - i.e. either descending(normal behaviour) stack grows towards zero address(lower address) in memory or descending,i.e. stack grows towards higher address ...

Migrating from Winarm to Yagarto

Hi This question must apply to so few people... I am busy mrigrating my ARM C project from Winarm GCC 4.1.2 to Yagarto GCC 4.3.3. I did not expect any differences and both compile my project happily using the same makefile and .ld files. However while the Winarm version runs the Yagarto version doesn't. The processor is an Atmel AT9...

How can one use the ARMv6 Optimized OpenMAX DL Libraries with the iPhone

There are assembly language libraries for the ARM for doing signal processing and other good stuff called "OpenMAX DL for ARM11 processor family". When you download the library from the ARM site, it contains .s assembly files. How can these be compiled with Xcode and called from Objective-C for the iPhone? There are examples of inline a...

ARM processors implementing ARMv5TE and VFPv1?

Do there exist any ARM processors that implement the architecture version ARMv5TE (or ARMv5TEJ) yet also implement VFPv1 (as opposed to VFPv2)? I am writing some assembly code for ARMv5TE and I would like to assume that if a VFP is present, it is VFPv2. Were there ever any processors shipped with this combination? ...

Trouble linking BREW objects under WinARM4.1x

Hi, I'm trying to use WinARM 4.1.1 to compile and link object files for a BREW project. I got started using this page: http://brew.wardco.com/. First thing to note is that I have this successfully working under the GNUDE tool chain. When I switched over to WinARM, I initially got it to work till I noticed that I had -Lc:/gnude/arm-elf/...

MySQL C API libraries for iPhone

Hi! Does anybody know where to get a MySQL libraries compiled for the arm iPhone architecture? Or how to cross-compile MySQL for arm? Thanx ...

What's the difference between the OMF and COFF format?

Recently I've been maintaining a legacy project written in VC++ 6.0. The code uses so many unique characteristics of this compiler that porting it to a more recent standard compiler has proved to be an herculean task. Among the thousands lines of code in the project, there are four assembler files. For some reason I don't understand, no...

How to find the location of a string in memory (have the physical offset)

Hello, i need to find a str[possibly n]cmp out of a hostile binary file. problem is there are a billion in the disassembly. I know it is there becuase of the help from strings. I am disassembling a binary that does not have 'otx' (the dissassembler that puts in the strings for you :) ) I need to know how to find the memory offset of th...

Edit (patch) a binary file in IDA Pro

Hi, i would like to know how to edit a binary file in ida pro (i just need to change one instruction!) (its ARM binary) thanks ...

Weird striping in tile graphics on Nintendo DS

I'm working on a pong game for the Nintendo DS. I'm using libnds to set things up and I've come across a very strange behaviour. So far I've only tried it out in emulators, but I use three different ones and they all exhibit this behaviour so I suspect I'm doing something bad. The actual problem is that when I use background layer 1 or ...

objdump for old ARM7TDMI (ARMv4T) showing instructions for newer architectures?!

Hello! I care about the success of GNU very much and wanted some feedback on what to do about a potential bug in objdump for ARM.... I'm examining the output of "objdump -D --target=binary -m arm7tdmi" and seeing instructions that do not exist on the ancient ARM7TDMI cores. (I'm looking at a file of random bits and treating it as a ra...

Qt Build Error

After configuring with $./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource I get this output when Making and can't figure out why: ../../src/corelib/arch/qatomic_arm.h: In function char q_atomic_swp(volatile char*, char)': ../../src/corelib/arch/qatomic_arm.h:125: warning: address requested for ret', which is ...

Console_init Causes Kernel paniC

System Details: OS: Debian/5.0 kernel 2.6.26-2 i686 SMP Hardware: IBM Thinkpad T40 Type 2373 Pentium M 1.5GHz, 512MB RAM Sources: sudo apt-get install linux-source-2.6.18 linux-patch-debian-2.6.18 linux-support-2.6.18-5 Toolchain: arm-linux-gcc3.4.cs-uclibc0.9.27 as installed by scratchbox arm-linuc-uclibc-gcc/-g++ -v: Reading ...

Installing a prebuilt binary on Android: "not found"

I'm trying to install a prebuilt binary in a custom Android image. For that I have copied it to a new directory in prebuilt/android-arm/ with an Android.mk file similar to this one: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := binary_name LOCAL_MODULE := binary_name LOCAL_MODULE_CLASS := EXECUTABLES include $(B...

Setting GCC 4.2.1 options in Xcode

Howdy, I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't seem as if Xcode Target Properties inspector exposes all possible GCC options. Is this correct? More specifically, I'm interested in setting the "mfpu" option, as mentioned in the arm_neon.h intrinsics header. Is this possible or supported? Or perhaps...