Questions tagged [arm]

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

Filter by
Sorted by
Tagged with
29
votes
2answers
31k views

What BIOS does Raspberry 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?
23
votes
6answers
10k 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 ...
19
votes
5answers
19k 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 ...
19
votes
2answers
2k views

Is mame ARM compatible?

I'm still waiting on my Raspberry Pi, but when I get it, will it be 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 ...
15
votes
4answers
13k 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 ...
15
votes
3answers
15k 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 ...
12
votes
4answers
19k views

Enabling ARMv8 on Raspberry Pi 3 B

According to this article I should be able to switch to ARMv8 on my Raspberry Pi Model 3B, but I'm getting "rainbow screen" after adding to config.txt the line: arm_control=0x200 Why is it not ...
12
votes
2answers
17k 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 arm-...
12
votes
1answer
659 views

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

When I took 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 ...
10
votes
2answers
37k views

How do I see which ARM CPU version I have?

When compiling a package for the Pi I came across a message like this: CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 and CFLAGS += -mtune=arm1176jzf-s -...
9
votes
2answers
10k views

What is /dev/vchiq in Raspberry Pi?

I am using Raspberry Pi 3 and raspbian jessie and i came across /dev/vchiq by trying to call program (omxplayer) with perg-cgi which would play some music on my RiPi. And i coudn't get it to work. ...
8
votes
2answers
1k views

Which images can be used universally across all Raspberry Pi versions?

My search failed this time so I'm asking here. Are there images that universally can be used across all Raspberry Pi versions? Original, 2, B+ 3, etc. For Armv6 and Armv7 architecture If they do ...
8
votes
3answers
2k 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 ...
6
votes
4answers
7k 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 ...
6
votes
3answers
17k views

Installing Raspberry Pi Cross-Compiler

I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine. During my initial attempts I was using the arm-linux-gnueabi compiler, which is available in the Ubuntu repo. I ...
6
votes
1answer
3k 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 ...
6
votes
1answer
1k 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 ...
6
votes
2answers
7k 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 ...
5
votes
2answers
4k 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 ...
5
votes
1answer
886 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 ...
5
votes
0answers
5k views

Running Selenium & Firefox & geckodriver on Raspberry Pi 2 Model B

I'm trying to run Selenium on my Raspberry Pi 2 Model B but I'm having trouble finding a compatible combination of versions of Selenium, Firefox, and geckodriver. (I've already run sudo apt-get ...
5
votes
0answers
539 views

Debugging a RPi using SWD

Has anybody been able to figure out how to debug a Raspberry Pi 3 model B using SWD? To be clear, I'm looking to debug the Pi itself using SWD. We've tried setting up the GPIO pins to use JTAG-SWD, ...
5
votes
1answer
999 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....
4
votes
2answers
3k views

Miniconda for ARMv6 (Zero W)

I want to install miniconda on my Zero W, but it has ARMv6 architecture and that does not seem to be supported by Continuum Analytics. See https://repo.continuum.io/miniconda/ (just one outdated ARMv6 ...
4
votes
2answers
5k 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. ...
4
votes
1answer
92 views

Crosscompiling: exact archictecture for all models

I would like to crosscompile some piece of C++ software in a way that I can run on every Raspberry Pi. I am confused about the parameter -march. I've found a great deal of resources recommending to ...
4
votes
1answer
2k views

Cross compile error from Ubuntu 14.04 to raspberry zero (using arm-linux-gnueabihf-g++)

I'm trying to cross-compile from my Ubuntu 14.04 (host) to the pi zero. Here is what I've done on host to cross compile a very basic example : > apt-get install g++-arm-linux-gnueabihf from here ...
4
votes
1answer
511 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?
4
votes
0answers
863 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 ...
3
votes
1answer
707 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 ...
3
votes
1answer
733 views

Docker 'core-dump' error when starting service

I'm using a Raspberry Pi 1 Model B. I've just installed using the easy script: curl -sSL https://get.docker.com | sh install results: # Executing docker install script, commit: 4957679 + sudo -E ...
3
votes
1answer
7k 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 ...
3
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 -...
3
votes
1answer
108 views

apt-get not working on raspberry pi zero w [Internal error: Oops: 17 [#1] ARM]

I bought a new raspberry pi zero w. I flashed the raspbian lite image on a sd-card, the pi booted normally. But when I try to update it with sudo apt-get update sudo apt-get upgrade I get the ...
3
votes
1answer
134 views

Why does adding a nop or constant break my code?

I am learning the ARM architecture via bare metal programming on the Raspberry Pi 3. I have a booting "kernel" that prints out some info. I have reached a point that I don't understand what is ...
3
votes
2answers
4k views

Docker run “someImage” returns: standard_init_linux.go190: exec user process caused “no such file or directory”

As the title said, I cannot reproduce this kind of error in any Dockerfiles of mine, after trying to run the Docker Container with docker run registryName:tag I'm trying to cross compile from amd64 ...
3
votes
1answer
254 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? ...
3
votes
0answers
1k 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'm ...
2
votes
1answer
185 views

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 (...
2
votes
2answers
1k 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 ...
2
votes
1answer
670 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
1answer
960 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 doing ...
2
votes
2answers
2k views

Error while loading shared libraries: foo.so: cannot open shared object file: No such file or directory

I have cross compiled c++ code for raspberry pi. Below is process I followed: 1) Cloned the official toolchain from raspberry pi github. Set the environment variable of arm-linux-gnueabihf-c++ (in ....
2
votes
2answers
3k views

Raspberry Pi 3 Model B Timers

Since BCM2837 is a cortex-A53, it should have architected timers accessible through CNT* registers. Does Pi 3 have one for each core? Are they free running or derived from the GPU timers as before? If ...
2
votes
2answers
3k 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 ...
2
votes
1answer
5k 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:...
2
votes
3answers
4k 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 ...
2
votes
2answers
1k 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

Does the Pi 3 support Vulkan?

I have tried running Fuchsia OS on my Raspberry Pi 3 but it is not able to run because there is no support for Vulkan APIs on it. Please explain why Vulkan Support is not there on the Raspberry Pi 3 ...
2
votes
1answer
564 views

Screen recording on Pi running Kali-Linux

is there any way to screen record what I am doing on my RaspberryPi3 running Kali linux? , I have used RecordMyDesktop, Kazam, Vokoscreen none of them work properly.. Maybe it has something to do with ...