Questions related to the CPU and instruction set of the Raspberry Pi. See also: cross-compiling

learn more… | top users | synonyms

1
vote
1answer
51 views

programming raspberry pi with C/C++ simd instructions [closed]

Is it possible to use C/C++ SIMD instructions in a program and run it on a raspberry pi model b+ ? The raspberry pi has an arm processor, and there's a C/C++ SIMD instructions set for the ARM ...
2
votes
1answer
40 views

ARMv6 Instruction set for getting timestamp counter (TSC)?

I'm trying to get timestamp counter (TSC) of CPU. I've succeeded on my PC with Intel i7 CPU. Assembly code in this links helped me. Now, I want to do it on my Raspberry Pi model B. The problem is ...
0
votes
2answers
47 views

Hardening Raspberry Pi performance for reliable 24x7x365 use [duplicate]

I am working on a project, which currently is a pet project and am using Raspberry Pi model B+ for it. But, while working this prototype a few questions have started coming up, so my question is in ...
1
vote
0answers
56 views

Assembly - set gpio as input

I have 2 leds and one button. both green and yellow led off when booting from card. When the button is pressed, i want to turn green led off and yellow led on. However, I have to write assembly. I ...
0
votes
1answer
47 views

Viewing battery status Archlinux arm

I have a portable USB charger/external battery pack. The exact model is this one http://goo.gl/d9CgCa. My raspberry pi is running ArchLinux Arm. I am trying to view the battery status and other ...
0
votes
0answers
70 views

Cannot find -lgcc -lc

Raspberry Pi newbie here. :) I'm trying to compile the FreeRTOS port to Raspberry Pi, but when I compile, I get the error: arm-none-eabi-ld: cannot find -lgcc arm-none-eabi-ld: cannot find -lc make: ...
-2
votes
1answer
29 views

What values in the DMA TI.PERMAP field map to each field?

In the BCM2835 datasheet, on page 51, it says that bits 20:16 in a DMA control block's Transfer Information word defines its PERMAP - "Indicates the peripheral number (1-31) whose ready signal shall ...
0
votes
0answers
80 views

Is there a version of the ARM GCC toolchain (arm-none-eabi-gcc) built for the raspberry pi available?

I am trying to develop for nRF51822 mbed boards on a raspberry pi running raspbian. However, I can't use the mbed online IDE, as it does not support Nordic's S130 SoftDevice (which is required to get ...
1
vote
0answers
26 views

Memory addresses

I am writing an assembly program, assembling it and replacing the kernel.img file on a SD card with raspbian installed on it. Will the memory address of the first instruction be zero? Either because ...
0
votes
0answers
119 views

Raspberry Pi Camera… What's the big deal?

I remember when raspberry camera was announced everyone was very excited about this. The question is why? Couldn't you hook up regular cameras to pi? Or maybe use a cell phone camera? What interface ...
0
votes
0answers
16 views

Setting breakpoints in Thumb code

It seems that when debugging using gdb, one might run into trouble when setting a breakpoint in Thumb code as an instruction might be replaced by something longer than it(the debug instruction). How ...
0
votes
0answers
134 views

Compiling C code to Thumb

I have a hello world program that I'm trying to compile into thumb mode. However, I seem to be having trouble with the -mthumb flag. test.c:2:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI I ...
0
votes
0answers
33 views

What represent the devices that vcgencmd measure_clock can display the frequencies of?

With vcgencmd measure_clock <clock> where <clock> can be one of arm, core, h264, isp, v3d, uart, pwm, emmc, pixel, vec, hdmi, dpi one can display the frequencies of these devices. What ...
0
votes
0answers
66 views

How to stream video and audio from a Raspberry Pi?

A Skype video call would be a perfect solution, but I know Skype isn't designed for ARM processors. I just need something that can stream video and audio between the Pi and another computer running ...
1
vote
1answer
89 views

Transition to Embedded Linux like Pi from Microcontrollers [closed]

I am currently familiar with design/programming custom embedded systems using PIC Micro-controllers with various peripherals like I2C, SPI Flash, UART,ADC,etc with some additional analog processing ...
1
vote
1answer
121 views

why Broadcom BCM2835 SoC for pi?

Why did the Raspberry Pi foundation select "BCM 2835" and not any other SOC for Raspberry Pi? Is any other SOC possible ? If yes , which ?
0
votes
0answers
88 views

libncursesw not found

I'm trying to cross-compile htop on an x86 Ubuntu 13.10 machine for Raspberry Pi ARM architecture. I've a crosstool-ng toolchain correctly configured, but when I use the command: ./configure ...
1
vote
2answers
133 views

How to use ARM software in Raspberry?

I would like to run Maestro Control Center software (for Mini Maestro 24-Channel USB Servo Controller) in Raspberry. But it is not ARM software. It is availabe for Linux and Windows. I'm total newbie ...
0
votes
2answers
415 views

Raspberry Pi kernel configuration for USB mouse and keyboard

I've been trying cross compile kernel using this guide. http://elinux.org/Rpi_kernel_compilation#2._Cross_compiling_from_Linux. However, all my kernel doesn't support USB mouse and keyboard. In the ...
1
vote
0answers
95 views

Anyone who encountered this error while building the SensorKinect from source?

Anyone who encountered this error while building the SensorKinect from source? The source was downloaded from https://github.com/avin2/SensorKinect. The guide that I'm following was this: ...
5
votes
1answer
277 views

Can I just copy the libraries built in ARM to Windows (x86) in order to cross compile a source code to ARM?

Regarding cross compiling an external library to ARM. Can I just copy the built libraries in ARM (e.g. raspberry pi) to Windows and link them in CMake in order to compile a source code to be deployed ...
0
votes
2answers
464 views

How do I tell which version arm cpu on my Pi?

When compiling a package for Pi. I come across with something like this CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 and CFLAGS += -mtune=arm1176jzf-s ...
2
votes
1answer
393 views

Run program on Baking Pi ARM ASM OS

I am following the Baking Pi Raspberry Pi ASM OS tutorial here, and I thought that it would be cool if I could create a compiler/runner for like, BASIC or a language I create. I don't have the skill ...
2
votes
0answers
222 views

How to profile code on raspberry pi?

Are there any open source or examples for using raspberry pi's ARM cpu's PMU, performance counter ? it can be a bare metal example or user-space application. I have seen this and that (which I ...
8
votes
2answers
5k views

What BIOS does Rapsberry Pi use?

I am wanting to learn about the BIOS on a Raspberry Pi motherboard. What is the BIOS called? Does it have a specific name or is it just called a BIOS on a Raspberry Pi?
0
votes
1answer
266 views

QEMU on Raspberry Pi

I'm trying to eventually run a Debian image within Raspian, but for now I'm just trying to run Slitaz. I'm able to get the boot process going, but it hangs while loading 'rootfs(N).gz, where (N) is ...
1
vote
1answer
212 views

Assembling Thumb on Rasparian

Has anyone been successful in assembling, compiling and running thumb or thumb-2 on Rasparian. Here is an example of my assembly code: .text .global main .code 16 main: MOV r3,#1 finish: ...
1
vote
1answer
199 views

How to add unlimited Crypto-Strength to Java jdk8 for ARM?

I'm running into SSL issues which indicate that jdk-8-ea-b36e-linux-arm-hflt-29_nov_2012.tar.gz needs to be configured for unlimited crypto-strength. Where can I get the jar files to drop-in and ...
2
votes
2answers
2k views

Big Endian distribution for the Raspberry Pi

I have an application that I'm writing on a little endian x86 system, but I would like to test it on a big endian processor to ensure compatibility. I understand that the ARM processor can go big ...
2
votes
1answer
247 views

ARM dissasembler

I'm attempting to do an object dump of an assembled program for the pi. I have main.o main.s main.elf and main.bin otool -tV main.o This results in main.o: is not an object file What am I ...
5
votes
1answer
603 views

Detect that a python program is running on the pi

I've got a python script that uses sys.platform.startswith('linux') to test if it is on linux or not, but then I can't tell the difference between the x86/64 processor, and the raspberry pi's ARM ...
4
votes
1answer
364 views

TeamSpeak in VOX mode on the Raspberry Pi

I would really like to run a TeamSpeak client in VOX mode on my Pi. My goal is to hook the Pi to a USB sound card and wire that to my two way portable radio that is VOX. Has anyone done this?
0
votes
2answers
3k views

How to add ARM properly to the build target (Code::blocks)

I want to develop C++ applications for my PI on my PC, I made a develop environment in Ubuntu with the Code::blocks IDE. The problem is that my PC is X86, and the PI is ARM. So how can I add ARM to ...
9
votes
2answers
6k views

building kernel image (.img) including ramdisk

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps. 1. Downloading kernel source 2. tar xvf source.tar.bz2 3. downloading arm cross compilation tool. 4. tar xvf ...
6
votes
3answers
1k views

Cambridge University Raspberry Pi Operating system development Guide Questions

I'm a high level app developer (C#, python) and I'd like to get my hands dirty with low level embedded application development. Cambridge University has posted a series of tutorials teaching you how ...
16
votes
3answers
5k views

Writing ARM Assembly code

After getting my Raspberry Pi, I decided that I wanted to learn how to write ARM assembly code. My question is, what do I need to get started? I assume that there is already a compiler installed but I ...
16
votes
2answers
985 views

Is mame ARM compatible?

I'm still waiting on my Raspberry Pi, but when I get it is it possible to run Mame on it? I'm not concerned about how it will perform, but I've got my mind set on a project and want to know if it ...
9
votes
1answer
454 views

Is the Raspberry Pi a good teaching tool for students learning assembler?

When I had an assembler course we used a NIOS II Altera board which had a display, some LED lights and programmable buttons. One of the more useful exercises was to write a binary calculator using the ...