Questions tagged [arm]

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

The SoC Broadcom BCM2835 contains an ARM1176JZFS with floating point running at 700Mhz. This is known as the ARMv6 architecture.

The Pi2's SoC is a Broadcom BCM2836 with ARMv7 architecture.

139 questions
37
votes
10 answers

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 processor. The reason I need this, is to run an…
jnesselr
  • 473
  • 1
  • 4
  • 5
33
votes
3 answers

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 -mfpu=vfp -mfloat-abi=hard I know the difference…
kun
  • 441
  • 1
  • 4
  • 5
33
votes
2 answers

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?
Devyn Collier Johnson
  • 853
  • 2
  • 10
  • 19
22
votes
2 answers

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 it will work in the first place.
Kyle Macey
  • 2,103
  • 2
  • 18
  • 30
21
votes
4 answers

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 hardware component on it has to be open source in…
smeeb
  • 625
  • 3
  • 9
  • 22
20
votes
5 answers

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 don't know what it is (gcc maybe?). Any help is…
ohblahitsme
  • 741
  • 1
  • 7
  • 18
17
votes
2 answers

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. When I opened it with my browser (e.g.…
Skodra
  • 173
  • 1
  • 1
  • 6
16
votes
4 answers

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 environment for control & automation of R-Pi…
15
votes
4 answers

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 working? Is it even worth switching from ARMv7 to…
madneon
  • 509
  • 2
  • 5
  • 15
15
votes
1 answer

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 the LEDs' and the buttons. So, here's my…
keyser
  • 255
  • 2
  • 11
14
votes
2 answers

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…
Shantanu Banerjee
  • 435
  • 2
  • 5
  • 17
10
votes
3 answers

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 to create an operating system for the Raspberry Pi…
ArmenB
  • 235
  • 2
  • 12
9
votes
4 answers

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 got this working. I was able to build all my…
Liam
  • 673
  • 2
  • 9
  • 20
8
votes
1 answer

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 use armv6zk to be compatible with all versions of…
Pietro Saccardi
  • 296
  • 1
  • 7
8
votes
2 answers

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 exist can you point me in the right direction? The…
Alex Leo
  • 91
  • 4
1
2 3
9 10