Benutzerbeiträge von „Satyria“

Aus C und Assembler mit Raspberry
Ein Benutzer mit 1.341 Bearbeitungen. Das Konto wurde am 2. Juli 2024 erstellt.
Suche nach BenutzerbeiträgenAusklappenEinklappen
⧼contribs-top⧽
⧼contribs-date⧽
(neueste | älteste) Zeige ( | ) (20 | 50 | 100 | 250 | 500)

12. Juli 2024

6. Juli 2024

  • 19:5919:59, 6. Jul. 2024 Unterschied Versionen +13.888 Bytes N Making the LED Blink (PI5)Die Seite wurde neu angelegt: „With the previously created Makefile and linker script, we have established a foundation to develop a meaningful program. Our goal is to make the built-in LED of the Raspberry Pi blink. I will explain each step and why it is implemented in this project. === Directory Preparation === First, create a new directory, for example, LED, and place the Makefile and the linker.ld file in it. Also, create the "include" directory within LED to organize our header…“
  • 19:3219:32, 6. Jul. 2024 Unterschied Versionen +3.419 Bytes N Working with Make and Linker ScriptDie Seite wurde neu angelegt: „In this section, we will learn how to develop an operating system on the Raspberry Pi 5 by creating multiple source files and linking them with a linker. We will also use a Makefile to automate the build process. Additionally, we will cover C and C++. === Creating a Makefile === A Makefile helps us automate the build process and keep track of our files. Here is an example Makefile: <syntaxhighlight lang="shell"> CSRCS := $(wildcard *.c) CPPSRCS := $(wildc…“
  • 19:2519:25, 6. Jul. 2024 Unterschied Versionen +915 Bytes N Running the Program on the Raspberry Pi 5Die Seite wurde neu angelegt: „== Preparing the SD Card == To create a bootable SD card for the Raspberry Pi 5, we first need an SD card formatted in FAT32. === Downloading the File === Download the following file from this GitHub repository https://github.com/raspberrypi/firmware/tree/master/boot: *bcm2712-rpi-5-b.dtb === Copying the File to the SD Card === Copy the downloaded file to the SD card. === Creating config.txt === Create a file named config.txt on the SD card and add th…“
  • 19:2319:23, 6. Jul. 2024 Unterschied Versionen +2 Bytes Our First Program (PI5)Keine Bearbeitungszusammenfassung
  • 19:2319:23, 6. Jul. 2024 Unterschied Versionen +2 Bytes Unser erstes Programm (PI5)Keine Bearbeitungszusammenfassung
  • 19:2219:22, 6. Jul. 2024 Unterschied Versionen +2.314 Bytes N Our First Program (PI5)Die Seite wurde neu angelegt: „Our first program will initially do nothing. It will simply run an infinite loop. This serves as a basic building block for all further experiments. I will explain how to create, compile, and run such a program. First, let's check if everything works. === Creating the Source Code === Open a text editor to write our first Assembly program: <syntaxhighlight lang="GAS"> // // The first program // 01.07.2024 www.satyria.de // .section .init // Ensure the link…“
  • 19:1919:19, 6. Jul. 2024 Unterschied Versionen +755 Bytes N Introduction to C and Assembly Programming with the Raspberry Pi 5Die Seite wurde neu angelegt: „In this tutorial, we will cover some topics not described in the previous script for the Raspberry Pi 4. Creating an operating system requires various functions. For example, we need to set up memory management and handle interrupts. Interaction via a USB interface can also be complicated. Later on, we will introduce disk operations, launching additional programs written for this operating system, and more. === Why C and Assembly? === Although the focus o…“
  • 19:1719:17, 6. Jul. 2024 Unterschied Versionen +1.145 Bytes N Setting up the Programming Environment (64-Bit)Die Seite wurde neu angelegt: „== Installing the GNU Toolchain == The GNU Toolchain can be downloaded directly from ARM: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads There is only a 32-bit version available, but this does not affect us. Download the ZIP file. none|400px === Downloading and Extracting the Toolchain === Go to your download directory, select the ZIP file, and right-click on it. Choose "Extract All…". === Selecting th…“

5. Juli 2024

4. Juli 2024

3. Juli 2024

2. Juli 2024

  • 19:2919:29, 2. Jul. 2024 Unterschied Versionen +3.700 Bytes N Arbeiten mit Make und Linker-ScriptDie Seite wurde neu angelegt: „In diesem Abschnitt werden wir lernen, wie man ein Betriebssystem auf dem Raspberry Pi 5 entwickelt, indem wir mehrere Source-Dateien erstellen und mit dem Linker verknüpfen. Wir werden auch ein Makefile verwenden, um den Build-Prozess zu automatisieren. Zusätzlich werden wir auf C und C++ eingehen. === Ein Makefile erstellen === Ein Makefile hilft uns, den Build-Prozess zu automatisieren und den Überblick über unsere Dateien zu behalten. Hier ist ein…“
  • 19:0519:05, 2. Jul. 2024 Unterschied Versionen +1.122 Bytes N Programm auf dem Raspberry Pi 5 ausführenDie Seite wurde neu angelegt: „== SD-Karte vorbereiten == Um eine bootfähige SD-Karte für den Raspberry Pi 5 zu erstellen, benötigen wir zunächst eine SD-Karte, die im FAT32-Format formatiert ist. === Dateien herunterladen === Laden Sie die folgenden Dateien von diesem GitHub-Repository https://github.com/raspberrypi/firmware/tree/master/boot herunter: *bcm2712-rpi-5-b.dtb *bootcode.bin *fixup.dat *start.elf === Dateien auf die SD-Karte kopieren === Kopieren Sie die heruntergela…“
  • 15:3715:37, 2. Jul. 2024 Unterschied Versionen +2.580 Bytes N Unser erstes Programm (PI5)Die Seite wurde neu angelegt: „Unser erstes Programm wird zunächst nichts tun. Es wird einfach eine Dauerschleife durchlaufen. Dies dient als Grundbaustein für alle weiteren Versuche. Ich werde erklären, wie ein solches Programm erstellt, kompiliert und ausgeführt wird. Zunächst schauen wir, ob alles funktioniert. === Sourcecode erstellen === Öffnen Sie ein Textprogramm, um unser erstes Assemblerprogramm zu schreiben: <syntaxhighlight lang="asm"> // // The first program // 01.07.…“
  • 15:3115:31, 2. Jul. 2024 Unterschied Versionen +92 Bytes Hauptseite→‎Raspberry Pi 5
(neueste | älteste) Zeige ( | ) (20 | 50 | 100 | 250 | 500)