diff options
Diffstat (limited to 'platforms/rpi-aarch64/boot')
-rwxr-xr-x | platforms/rpi-aarch64/boot/EFI/BOOT/bootaa64.efi | bin | 0 -> 1382256 bytes | |||
-rwxr-xr-x | platforms/rpi-aarch64/boot/EFI/BOOT/grub.cfg | 4 | ||||
-rwxr-xr-x | platforms/rpi-aarch64/boot/config.txt | 71 | ||||
-rwxr-xr-x | platforms/rpi-aarch64/boot/startup.nsh | 1 | ||||
-rwxr-xr-x | platforms/rpi-aarch64/boot/ubootconfig.txt | 2 |
5 files changed, 78 insertions, 0 deletions
diff --git a/platforms/rpi-aarch64/boot/EFI/BOOT/bootaa64.efi b/platforms/rpi-aarch64/boot/EFI/BOOT/bootaa64.efi Binary files differnew file mode 100755 index 0000000..b04f373 --- /dev/null +++ b/platforms/rpi-aarch64/boot/EFI/BOOT/bootaa64.efi diff --git a/platforms/rpi-aarch64/boot/EFI/BOOT/grub.cfg b/platforms/rpi-aarch64/boot/EFI/BOOT/grub.cfg new file mode 100755 index 0000000..a72d635 --- /dev/null +++ b/platforms/rpi-aarch64/boot/EFI/BOOT/grub.cfg @@ -0,0 +1,4 @@ +set btrfs_relative_path="yes" +search --file --set=root /boot/grub2/grub.cfg +set prefix=($root)/boot/grub2 +configfile ($root)/boot/grub2/grub.cfg diff --git a/platforms/rpi-aarch64/boot/config.txt b/platforms/rpi-aarch64/boot/config.txt new file mode 100755 index 0000000..9ba1d14 --- /dev/null +++ b/platforms/rpi-aarch64/boot/config.txt @@ -0,0 +1,71 @@ +# Get more options/information on http://elinux.org/RPiconfig +# or on https://www.raspberrypi.org/documentation/configuration/config-txt.md +# +# !!!!! This file will get overwritten by updates. Please use !!!!! +# !!!!! extraconfig.txt if you want to set additional !!!!! +# !!!!! configuration options or add dt overlays. !!!!! + +# Our kernels are located on a Linux partition. Chainload U-Boot to load them. +kernel=u-boot.bin + +# Use 32 MB for GPU for all RPis (Min 16 - Max 192 MB) +# We don't need that much memory reserved for it, because we drive most hardware +# from Linux, not the VPU OS +gpu_mem=32 + +# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max +force_turbo=0 +# Start in turbo mode for 30 seconds or until cpufreq sets a frequency +initial_turbo=30 + +# DO NOT overvoltage manually to not void warranty! +over_voltage=0 + +# Fix mini UART input frequency, and setup/enable up the UART. +enable_uart=1 + +# Disable warning overlays as they don't work well together with linux's graphical output +avoid_warnings=1 + +# This overlay fixes divergences between the RPi device tree and what +# upstream provides +dtoverlay=upstream + +# overscan is only needed on old TV sets and if analog gear is in the chain (e.g. DPI) +disable_overscan=1 + +# u-boot expects RPi's UART to have a compatible string not supported anymore in +# linux upstream, while this is fixed, make sure the name shows up in the +# device-tree. This is only needed for RPi, RPi2 and RPi0, but applied +# generally so as to avoid complexity. +dtoverlay=uboot-bcm2835-pl011 + +[pi1] + +# Max ARM freq (default 700 MHz) +arm_freq=840 + +# Max core (GPU) freq (default 250 MHz) +core_freq=375 + +# SDRAM freq (default 400) +sdram_freq=400 + +[pi3] + +# These are not applied automatically? Needed to use respective upstream drivers. +dtoverlay=vc4-kms-v3d,cma-default +dtoverlay=dwc2 + +[pi4] + +dtoverlay=disable-vc4 + +[all] + +# Allow u-boot to set arm_control +include ubootconfig.txt + +# Allow user overrides of config options +include extraconfig.txt + diff --git a/platforms/rpi-aarch64/boot/startup.nsh b/platforms/rpi-aarch64/boot/startup.nsh new file mode 100755 index 0000000..f4db51f --- /dev/null +++ b/platforms/rpi-aarch64/boot/startup.nsh @@ -0,0 +1 @@ +bootaa64 diff --git a/platforms/rpi-aarch64/boot/ubootconfig.txt b/platforms/rpi-aarch64/boot/ubootconfig.txt new file mode 100755 index 0000000..9770251 --- /dev/null +++ b/platforms/rpi-aarch64/boot/ubootconfig.txt @@ -0,0 +1,2 @@ +# Boot in AArch64 mode +arm_64bit=1 |