[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] ARM UEFI boot
From: |
Nerijus Baliunas |
Subject: |
[Qemu-discuss] ARM UEFI boot |
Date: |
Sat, 20 Oct 2018 22:20:22 +0300 |
Hello,
Up until Fedora 28 I could boot my UEFI ARM VM (machine type virt-3.0) with
these packages:
# rpm -qa|grep grub
grubby-8.40-90.kraxel.fc25.armv7hl
grub2-tools-2.02-0.rc1.kraxel.1.fc25.armv7hl
grub2-efi-2.02-0.rc1.kraxel.1.fc25.armv7hl
Fedora 29 upgraded them, and now I have:
grub2-common-2.02-62.fc29.noarch
grub2-tools-extra-2.02-62.fc29.armv7hl
grubby-8.40-90.kraxel.fc25.armv7hl
grub2-tools-minimal-2.02-62.fc29.armv7hl
grub2-efi-arm-2.02-62.fc29.armv7hl
grub2-tools-2.02-62.fc29.armv7hl
VM uses /usr/share/edk2.git/arm/QEMU_EFI-pflash.raw from
edk2.git-arm-0-20180807.281.gc526dcd40f.noarch
Now VM boots to UEFI shell. If I restore /boot/efi/EFI/BOOT/BOOTARM.EFI from
grub2-efi-2.02-0.rc1.kraxel.1.fc25.armv7hl.rpm, VM boots OK.
If I copy /boot/efi/EFI/fedora/grubarm.efi to /boot/efi/EFI/BOOT/BOOTARM.EFI,
VM does not get to UEFI shell, starts to boot, but stops here:
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
MemoryAttributesTable:
Version - 0x00000001
NumberOfEntries - 0x00000010
DescriptorSize - 0x00000030
Entry (0xBEB08AA0)
Type - 0x5
PhysicalStart - 0x00000000BF8D6000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000063
Attribute - 0x8000000000004000
Entry (0xBEB08AD0)
Type - 0x5
PhysicalStart - 0x00000000BF939000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000020000
Entry (0xBEB08B00)
Type - 0x5
PhysicalStart - 0x00000000BF93C000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08B30)
Type - 0x5
PhysicalStart - 0x00000000BF93F000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000020000
Entry (0xBEB08B60)
Type - 0x5
PhysicalStart - 0x00000000BF942000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08B90)
Type - 0x5
PhysicalStart - 0x00000000BF945000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000009
Attribute - 0x8000000000020000
Entry (0xBEB08BC0)
Type - 0x5
PhysicalStart - 0x00000000BF94E000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08BF0)
Type - 0x5
PhysicalStart - 0x00000000BF951000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000006
Attribute - 0x8000000000020000
Entry (0xBEB08C20)
Type - 0x5
PhysicalStart - 0x00000000BF957000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08C50)
Type - 0x5
PhysicalStart - 0x00000000BF95A000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000004
Attribute - 0x8000000000020000
Entry (0xBEB08C80)
Type - 0x5
PhysicalStart - 0x00000000BF95E000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08CB0)
Type - 0x5
PhysicalStart - 0x00000000BF961000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000020000
Entry (0xBEB08CE0)
Type - 0x5
PhysicalStart - 0x00000000BF964000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000004000
Entry (0xBEB08D10)
Type - 0x5
PhysicalStart - 0x00000000BF967000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000003
Attribute - 0x8000000000020000
Entry (0xBEB08D40)
Type - 0x5
PhysicalStart - 0x00000000BF96A000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x0000000000000002
Attribute - 0x8000000000004000
Entry (0xBEB08D70)
Type - 0x6
PhysicalStart - 0x00000000BF96C000
VirtualStart - 0x0000000000000000
NumberOfPages - 0x000000000000012C
Attribute - 0x8000000000004000
EFI stub: Exiting boot services and installing virtual address map...
VirtioBlkExitBoot: Context=0xBF0A4610
VirtioRngExitBoot: Context=0xBF0AEA10
SetUefiImageMemoryAttributes - 0x00000000BF966000 - 0x0000000000006000
(0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000BF960000 - 0x0000000000006000
(0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000BF959000 - 0x0000000000007000
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF950000 - 0x0000000000009000
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF944000 - 0x000000000000C000
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF93E000 - 0x0000000000006000
(0x0000000000000008)
SetUefiImageMemoryAttributes - 0x00000000BF938000 - 0x0000000000006000
(0x0000000000000008)
Should I report it to Fedora?
Regards,
Nerijus
- [Qemu-discuss] ARM UEFI boot,
Nerijus Baliunas <=