low-level programming of a computer without any operating system or the development of own custom operating systems
Questions tagged [bare-metal]
67 questions
10
votes
1 answer
How to start core 1,2,3 in Raspberry Pi 2
I have written a bare metal multi core example.
Code, circuit diagram is here - https://github.com/jeffreyantony/multipi/tree/master/Example_01
In my example, there are 3 LED's connected to the GPIO pins of the raspberry Pi. There are totally 4…
robomon
- 393
- 3
- 11
4
votes
1 answer
How to do QEMU emulation for bare metal Raspberry Pi images
I would like to emulate using QEMU the bare metal Raspberry Pi examples provided in this link https://github.com/dwelch67/raspberrypi.
Could someone let me know which commandline arguments should I use to get QEMU running. I checked in the internet…
robomon
- 393
- 3
- 11
3
votes
1 answer
Possible to do bare metal programming on Pi?
I seek to use the Pi as an educational tool to learn about programming a machine from the ground-up. In a perfect scenario, the first instruction executed after the firmware on ROM, and everything thereafter, should be something I…
zach
- 89
- 3
2
votes
0 answers
Kernel.img displays a blank screen instead of the intended text to be printed | Bare Metal | Pi Zero
Please note that I am building this Os through a different sd card with raspbian, but on the same machine(Pi Zero W) as the one I'm testing my Os on.
I am trying to learn how to create my own raspberry pi operating system and I'm following the…
Programing
- 21
- 2
1
vote
1 answer
How to install aarch64-none-elf on the raspberry pi
I have tried installing aarch64-none-elf on my raspberry pi 3B+ from the arm website when I extract it, I can't run the executable files in it.
Here's the error:
bash: ./aarch64-none-elf-gcc: cannot execute binary file: Exec format error
Is there…
Ben
- 13
- 4
0
votes
0 answers
Anyone have luck doing bare metal development for the Pi 2 using the tools from Xcode?
I have my eyes in doing bare metal development on the Pi 2. However I have nowhere to install a Linux to as my Mac's hard drive (retrofitted 480GB SSD) is almost full. So anyone have luck in writing bare metal code using the set of tools that came…
Maxthon Chan
- 1,051
- 7
- 14
0
votes
0 answers
Core 0 runs 465 times as fast as cores 1, 2 and 3
I have a baremetal os which I run on Raspberry Pi 2 and 3 in AARCH32. It has had daily and heavy use for years. Mostly it runs on core 0, but I have a small bit running on core 1. I am trying to add another routine to run on core 1 and I have found…
Kelvin
- 1
- 1