From 54c93cf21697c249eb8cfa4c6e00dea57cf71368 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Fri, 6 Mar 2020 17:17:09 +0000 Subject: [PATCH] Update device tree parameters in config.txt * Default base address has changed from 0x20000 to 0x1f0000. * Also remove '-D ACPI_BASIC_MODE_ENABLE=1' build option, which is no longer needed. --- build_firmware.sh | 4 ++-- config.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build_firmware.sh b/build_firmware.sh index e5201b16..6ff85972 100755 --- a/build_firmware.sh +++ b/build_firmware.sh @@ -4,5 +4,5 @@ export GCC5_AARCH64_PREFIX=aarch64-linux-gnu- export WORKSPACE=$PWD export PACKAGES_PATH=$WORKSPACE/edk2:$WORKSPACE/edk2-platforms:$WORKSPACE/edk2-non-osi source edk2/edksetup.sh || exit 1 -build -a AARCH64 -t GCC5 -p edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc -b DEBUG -D ACPI_BASIC_MODE_ENABLE=1 --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor=L"https://github.com/pftf/RPi4" --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=L"UEFI Firmware $APPVEYOR_REPO_TAG_NAME (DEBUG)" || exit 1 -build -a AARCH64 -t GCC5 -p edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc -b RELEASE -D ACPI_BASIC_MODE_ENABLE=1 --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor=L"https://github.com/pftf/RPi4" --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=L"UEFI Firmware $APPVEYOR_REPO_TAG_NAME" -D SECURE_BOOT_ENABLE=TRUE -D INCLUDE_TFTP_COMMAND=TRUE || exit 1 +build -a AARCH64 -t GCC5 -p edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc -b DEBUG --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor=L"https://github.com/pftf/RPi4" --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=L"UEFI Firmware $APPVEYOR_REPO_TAG_NAME (DEBUG)" || exit 1 +build -a AARCH64 -t GCC5 -p edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc -b RELEASE --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor=L"https://github.com/pftf/RPi4" --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=L"UEFI Firmware $APPVEYOR_REPO_TAG_NAME" -D SECURE_BOOT_ENABLE=TRUE -D INCLUDE_TFTP_COMMAND=TRUE || exit 1 diff --git a/config.txt b/config.txt index a998b610..460b6606 100644 --- a/config.txt +++ b/config.txt @@ -3,7 +3,7 @@ enable_uart=1 enable_gic=1 armstub=RPI_EFI.fd disable_commandline_tags=1 -device_tree_address=0x20000 -device_tree_end=0x30000 +device_tree_address=0x1f0000 +device_tree_end=0x200000 device_tree=bcm2711-rpi-4-b.dtb dtoverlay=miniuart-bt