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

learn more… | top users | synonyms

2
votes
1answer
53 views
+50

RealBoy emulator a real dud

There is an open source game boy emulator called realboy that I was hoping to use on pi, and modify slightly. I can get it to build on Ubuntu just fine. When I build it in raspbian, it does build (...
1
vote
2answers
32 views

Issues in cross compiling buildroot for Raspberry Pi 2

Facing the issue below while building a custom OS for the Pi 2 using buildroot, all the configs and everything are going fine . Whenever I try to compile the image, I'm facing this issue. make ARCH=...
0
votes
1answer
63 views

Is it possible to fix the “cannot find -lgcc” and “cannot find -lgcc_s” error messages when using arm-linux-gnueabihf-g++ as a linker?

I get the following error messages: ./Downloads/tmp/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux‌​-gnueabihf/bin/ld: cannot find -lgcc_s and Downloads/tmp/usr/bin/../lib/gcc/arm-...
1
vote
1answer
50 views

PI 2 + .net - missing coreclr.dll

My first time trying to get a PI working... Neat idea, pulling out my hair though. No matter what project I build [simple or not], when deploying I get the missing coreclr.dll. What SDK am I missing? ...
1
vote
1answer
83 views

How to simulate Ubuntu ARM image on Raspberry Pi with Virtualbox?

How do you run the Ubuntu ARM image in Virtualbox (ultimately managed through Vagrant) for testing a Raspberry Pi configuration? I can find a ton of guides for running various pre-built Raspberry Pi ...
0
votes
0answers
38 views

Single Board Computer Development Suggestions [closed]

I have been given a project for development of an system that needs to interface with couple of sensors to get data and drive a touchscreen lcd to display data and then send this data out through ...
3
votes
2answers
943 views

Virtualization on Pi 3 Raspbian

The new Pi 3 was announced this morning. It's the first Pi to ship with a 64-bit processor, the ARM Cortex A53. The product page for that chip suggests that it's capable of hardware virtualization. ...
1
vote
1answer
490 views

Realtek 8192eu driver on Raspberry Pi (Xbian)

I had the misfortune to buy two of these devices off ebay on the basis they were "compatible with linux, raspberry pi, and access point mode". I'm running Xbian on my Raspberry Pi using a wired ...
4
votes
2answers
2k views

Visual Studio Code & .Net Core ARM support

I am new to the Raspberry Pi platform and I have been collecting resources and trying to determine what the little computer is (not) suited for. I understand that Python is the go-to programming ...
2
votes
1answer
103 views

Verify working of I2C bus though command

I am trying to verify I2C bus through command (i2c tools) only. For this purpose I detect my I2C buses as follows ls -l /sys/bus/i2c/devices/i2c* lrwxrwxrwx 1 root root 0 Jan 27 12:...
3
votes
1answer
308 views

Run armv6 software on raspberry pi 2

Is it possible to install and run software that was designed for the raspberry pi 1 on my raspberry pi 2? I plan to install this software along with arch Linux soon and I would just like to know if it ...
2
votes
1answer
159 views

ARMv6 optimized x.264 compile fails; any ideas?

I'm using Mencoder on a Raspberry Pi B (1st gen) with modernized raspbian (i.e. the new builds that work on RP2) to make timelapse films. In general it works well, but i wanted to add x264 codec ...
5
votes
0answers
132 views

Dial up HSF usb Conexant modem linux driver for ARM architecture

Hello I've being trying to install my usb HSF Conexant dial up modem to my Raspberry PI 2 B which is running Raspbian OS. I checked a company named Linuxant that makes these kind of drivers but ...
0
votes
0answers
15 views

Arm ESC through code [duplicate]

How can I arm an ESC through code. I have tried pulsing high and low and using arduino, however none of them seem to work. I am trying to do it in python with RPi.GPIO.
1
vote
1answer
127 views

Advanced servo control

I just bought a small robot arm (The MeArm). I can control my servos, but not as I want. Later I want to control the MeArm with my Wii remote. About the script I thought about a counter or ...
4
votes
1answer
485 views

Cross-compile x86-64 code on Raspberry Pi 2

I'm doing experiments regarding compilation of the Linux kernel on various platforms, but mainly on the RPi and on x86-64 machines. There's no shortage to the links on Google describing how to compile ...
2
votes
1answer
1k views

Emulating Raspberry Pi 2 (ARMv7) on OS X

I am developing a commercial product and using the Raspberry Pi 2 as a test platform. The final product will use an ARMv7 CPU as well. As of right now, using the RPi2 via a VNC is killing me. Super ...
1
vote
2answers
390 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
86 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 ...
1
vote
1answer
2k 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 luck....
0
votes
1answer
198 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
487 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 ...
3
votes
4answers
1k 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 ...
2
votes
1answer
2k 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
1k 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 ...
3
votes
0answers
433 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 cpu....
2
votes
1answer
3k 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 ...
1
vote
0answers
205 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 ...
9
votes
2answers
4k 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
1answer
264 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
797 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
1k 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
208 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 ...
2
votes
0answers
722 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
399 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
505 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 I'...
-1
votes
1answer
106 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
46 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 ...
1
vote
2answers
311 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
138 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
219 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
270 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 ...
1
vote
3answers
1k 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
133 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: http://...
5
votes
1answer
470 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
3k 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
546 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
449 views

How to profile code on raspberry pi? [closed]

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 ...
18
votes
2answers
14k 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?