Skip to content

Commit

Permalink
Remove edk2-uefi-dtb.patch from edk2 derivation
Browse files Browse the repository at this point in the history
TODO: Is this patch still needed?

Signed-off-by: Tanel Dettenborn <[email protected]>
  • Loading branch information
Tanel Dettenborn committed Oct 30, 2024
1 parent 59080ec commit 0207766
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions pkgs/uefi-firmware/edk2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,36 @@ let

(lib.optionalString (trustedPublicCertPemFile != null) ./capsule-authentication.patch)

# TODO: Does not boot with edk2-uefi-dtb.patch
# TODO: Investigate if it is even needed?
# TODO: Error message
#
# EFI stub: Booting Linux Kernel...
# EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
# EFI stub: Using DTB from configuration table
# EFI stub: Exiting boot services...
# ERROR: **************************************
# ERROR: RAS Uncorrectable Error in CCPMU, base=0xe001000:
# ERROR: Status = 0xe4000504
# ERROR: SERR = Assertion failure: 0x4
# ERROR: IERR = uCode Error: 0x5
# ERROR: MISC0 = 0x0
# ERROR: MISC1 = 0x0
# ERROR: MISC2 = 0x0
# ERROR: MISC3 = 0x0
# ERROR: ADDR = 0x60a5a5a5a5a5a5a5
# ERROR: **************************************
# ERROO: sei__dsspacc_eveet rttunnd -1
# RROR: Powering off core
# ERROR: ARI request timed out: req 34
# ASSERT: plat/nvidia/tegra/soc/t234/drivers/mce/ari.c:154
#
#
# Have UEFI use the device tree compiled into the firmware, instead of
# using one from the kernel-dtb partition.
# See: https://github.com/anduril/jetpack-nixos/pull/18
# Note: Patch ported to 36.3
./edk2-uefi-dtb.patch
# Note: Attempted to port 36.3
#./edk2-uefi-dtb.patch
];
postPatch = lib.optionalString errorLevelInfo ''
sed -i 's#PcdDebugPrintErrorLevel|.*#PcdDebugPrintErrorLevel|0x8000004F#' Platform/NVIDIA/NVIDIA.common.dsc.inc
Expand Down

0 comments on commit 0207766

Please sign in to comment.