mirror of https://github.com/acidanthera/audk.git
ArmPkg/BdsLib/AArch64: Added more useful error messages when loading Linux
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <Brendan.JackMan@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15528 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1aaa6f61a5
commit
271ce4bd70
|
@ -1,6 +1,6 @@
|
|||
/** @file
|
||||
*
|
||||
* Copyright (c) 2011-2013, ARM Limited. All rights reserved.
|
||||
* Copyright (c) 2011-2014, ARM Limited. All rights reserved.
|
||||
*
|
||||
* This program and the accompanying materials
|
||||
* are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -227,7 +227,7 @@ BdsBootLinuxFdt (
|
|||
LinuxImage = LINUX_KERNEL_MAX_OFFSET;
|
||||
Status = BdsLoadImage (LinuxKernelDevicePath, AllocateMaxAddress, &LinuxImage, &LinuxImageSize);
|
||||
if (EFI_ERROR(Status)) {
|
||||
Print (L"ERROR: Did not find Linux kernel.\n");
|
||||
Print (L"ERROR: Did not find Linux kernel (%r).\n", Status);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
@ -244,7 +244,7 @@ BdsBootLinuxFdt (
|
|||
Status = BdsLoadImage (InitrdDevicePath, AllocateAnyPages, &InitrdImageBase, &InitrdImageBaseSize);
|
||||
}
|
||||
if (EFI_ERROR (Status)) {
|
||||
Print (L"ERROR: Did not find initrd image.\n");
|
||||
Print (L"ERROR: Did not find initrd image (%r).\n", Status);
|
||||
goto EXIT_FREE_LINUX;
|
||||
}
|
||||
|
||||
|
@ -264,7 +264,7 @@ BdsBootLinuxFdt (
|
|||
FdtBlobBase = LINUX_KERNEL_MAX_OFFSET;
|
||||
Status = BdsLoadImage (FdtDevicePath, AllocateMaxAddress, &FdtBlobBase, &FdtBlobSize);
|
||||
if (EFI_ERROR(Status)) {
|
||||
Print (L"ERROR: Did not find Device Tree blob.\n");
|
||||
Print (L"ERROR: Did not find Device Tree blob (%r).\n", Status);
|
||||
goto EXIT_FREE_INITRD;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue