Magenta is a 64-bit kernel that is capable of running on the Raspberry Pi 3.
Presently it supports a number of the Raspberry Pi 3's peripherals including the following:
The following peripherals are not yet supported:
The following hardware is required:
To build magenta, invoke the following command from the top level Magenta directory (ensure that you have checked out the ARM64 toolchains). For more information, see docs/getting_started.md
:
make magenta-rpi3-arm64
To install Magenta, ensure that your SD is formatted as follows:
Invoking make magenta-rpi3-arm64
should have created files magenta.bin
and bootdata.bin
the following path ./build-magenta-rpi3-arm64/
Copy the magenta.bin
file to the SD card's boot partition as kernel8.img
as follows:
cp ./build-magenta-rpi3-arm64/magenta.bin <path/to/sdcard/mount>/kernel8.img
Copy the bootdata.bin
file to the SD card's boot partition as follows:
cp ./build-magenta-rpi3-arm64/bootdata.bin <path/to/sdcard/mount>/bootdata.bin
You must also copy bootcode.bin
and start.elf
to the boot partition. They can be obtained from here and here respectively.
Copy config.txt
cmdline.txt
and bcm2710-rpi-3-b.dtb
from ./kernel/target/rpi3/
to the boot partition:
cp ./kernel/target/rpi3/config.txt <path/to/sdcard/mount>/config.txt cp ./kernel/target/rpi3/cmdline.txt <path/to/sdcard/mount>/cmdline.txt cp ./kernel/target/rpi3/bcm2710-rpi-3-b.dtb <path/to/sdcard/mount>/bcm2710-rpi-3-b.dtb
It is imperative that these files are named exactly as listed when copied to the SD card.
At this point your SD Card should be formatted with an MBR partition table and FAT32 boot partition that contains the following 7 files:
If you're using the Serial Console, connect your serial dongle to the RPi3 header as follows:
Insert the SD Card and connect power to boot the Pi
Add netsvc.netboot=true
to cmdline.txt
to enable netbooting from the SD Card.