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

learn more… | top users | synonyms

1
vote
1answer
63 views

Does a Raspberry Pi 2 Model B (quad-core ARM Cortex-A7) have 4 program counters?

I want to do baremetal programming on a Raspberry Pi 2 Model B (quad-core ARM Cortex-A7). I don't have much experience on multi core programming. I have a question regarding bare metal multi core ...
2
votes
1answer
42 views

Which hardware platform to use for measuring hypervisor performance on ARM?

As a part of my course project, I am required to measure network bandwidth and other aspects of Xen, KVM, and Xvisor hypervisors. Most research literature uses cubieboard for such experiments. What ...
0
votes
1answer
118 views

Installing node.js on v1 Model B - segmentation fault

newbie here. Raspberry Pi 1 Model B. Raspbian. Had Adafruit WebIDE before. pi@raspberrypi ~ $ node -v Segmentation fault tried to uninstall: apt-get remove nodejs and reinstall, without any ...
0
votes
1answer
50 views

ARM ELF file in IDA Pro [closed]

I'm a student. And I'm going to study reverse engineering on Raspberry Pi 2 in IDA Pro. I have try disassembling ARM ELF file("start.elf"). But, Result was not accurated. I think I selected wrong ...
0
votes
0answers
123 views

Install PostGis on Raspberry Pi from a compiled PostgreSql 9.3 installation

It took me more than one hour to compile and install PostgreSql 9.3 on Raspberry Pi as as explained here in the comments. But I need to enable Geo-spatial extensions from PostGis. While installing ...
0
votes
0answers
15 views

Are images built on a B2 the same as images on the B+?

I have a stock Raspbian image I built on my B+ a few months ago. I now have a B2. Does downloading the latest Raspbian image result in the same system as running sudo apt-get update && ...
3
votes
4answers
550 views

What instruction set is used on the Pi's ARM/Broadcom chip?

I am trying to figure out what instruction set (x86_64, IA-32, etc.) is used by the RPi's Broadcom chip (really an ARM 1176JZF-S), because I'd like to understand how linux can run on it. My ...
0
votes
0answers
9 views

GY-521_MPU6050 i am interfacing with LPC1768 the device is not recognized [duplicate]

I am not getting the raw values from gy-521_mpu6050 values .i connected scl,sda,ad0(gnd), vcc(5v),gnd. but i didn't connect the INT pin.i check the no_pull_up and operating frequency .if i want ...
1
vote
1answer
866 views

QEMU for Raspbian Wheezy on Ubuntu - host is 'none', no job control, invisible text?

I'm having some issues getting Wheezy to work in QEMU. I've tried a lot of different combinations of arguments, all with the same results; this is the most recent I've tried. > qemu-system-arm ...
1
vote
2answers
635 views

Pi 2 CPU Documentation

I'm interested in processor architecture, and assembly programming, but I can't seem to find any documentation, or even the datasheet on the CPU of the Pi 2 (BCM2836). The document I'm looking for ...
2
votes
0answers
253 views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the ...
1
vote
1answer
1k views

Can MINIX 3 work on the Raspberry Pi 2?

The MINIX 3 OS has been ported to ARM based CPUs with development focusing on the Beagleboard. The original Raspberry Pi could not run MINIX however the newly released Raspberry Pi 2 uses an ARMv7 ...
0
votes
0answers
94 views

High Resolution cycle counter for Raspberry Pi

I recently got a Raspberry pi Model B+. I intend on benchmarking the board, and hence was trying to find a solution which is similar to "rtdsc". According to the following article, i can access the ...
5
votes
2answers
998 views

How is Raspberry Pi “open source” if it uses ARM?

All I've ever heard about Raspberry Pi is that its an "open source" SoC. But I see that the CPU inside the BroadCom SoC is an ARM chip. My understanding of open source hardware is that every single ...
0
votes
0answers
46 views

Install packages from a previous version of Arch Arm?

The raspberry pi uses Arch Linux Arm version 6. Is there any way to install packages from Arch Linux Arm version 5 or 7?
0
votes
1answer
138 views

Is it possible to use Haskell on Arch Linux ARM?

There isn't a ghc package for armv6, which is what the pi uses. It does not need to be able to compile on the pi, just run on it.
1
vote
1answer
391 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
472 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
124 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
285 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
186 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 ...
1
vote
0answers
282 views

Cannot find -lgcc -lc

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: *** [kernel.elf] Error 1 ...
-1
votes
1answer
75 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 ...
1
vote
0answers
33 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
152 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 ...
1
vote
2answers
135 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
111 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
155 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 ?
2
votes
2answers
208 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
3answers
853 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
118 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
375 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
1k 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
474 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
331 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 don't ...
12
votes
2answers
9k 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
293 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
254 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: ...
2
votes
2answers
323 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
4k 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
377 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 ...
7
votes
2answers
1k 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
392 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
5k 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 ...
10
votes
2answers
8k views

building kernel image (.img) including ramdisk

I have built my Linux kernel (3.0.1) for my Raspberry Pi with these following steps: 1. Downloading kernel source 2. tar xvf source.tar.bz2 3. downloading arm cross compilation tool. 4. tar xvf ...
7
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 ...
17
votes
3answers
7k 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 ...
17
votes
2answers
1k 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 ...
10
votes
1answer
495 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 ...