Running the Program on the Raspberry Pi 5

Aus C und Assembler mit Raspberry
Version vom 6. Juli 2024, 19:25 Uhr von Satyria (Diskussion | Beiträge) (Die 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…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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 the following content:

arm_64bit=1
kernel_address=0x80000
enable_jtag_gpio=1
kernel=kernel_2712.img
framebuffer_depth=32

Copying the Kernel File

Copy your kernel file kernel_2712.img to the SD card.

Inserting and Booting the SD Card

Insert the SD card into the Raspberry Pi 5 and turn it on.

On the first run of our program, not much may happen, but the fundamental steps are now complete.