-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fdt x86 arm64 #6458
Draft
AjanZhong
wants to merge
12
commits into
tianocore:master
Choose a base branch
from
AjanZhong:fdt-x86-arm64
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Fdt x86 arm64 #6458
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add fundamental AARCH64 architecture FIT image support, introduce new dsc and fdf files for AARCH64 architecture, and introduce new PCD: PcdUseUniversalPayloadSerialPort to indicate which serial port component is used due to some serial port parameters are fixed for ARM SoC and Platform. Use following command to build AARCH64 UPL FIT image: " export GCC5_AARCH64_PREFIX=aarch64-linux-gnu- python UefiPayloadPkg/UniversalPayloadBuild.py -a AARCH64 -t GCC5 -b DEBUG -c UefiPayloadPkg/UefiPayloadPkg_aarch64.dsc --Fit " Signed-off-by: Amos Bu <amos.bu@newfw.com> Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
Serial port and Graphic device nodes will be parsed only when 'pci-rb' node is compatible to 'pci-rb' type in current logic, this logic limits bootloader to provide informations of all Host PCI Root Bridges. However, PciHostBridgeLib library in UefiPayloadPkg provides support to scan Host PCI Root Bridges dynamically. Bootloader can utilizes Root Bridges scanning feature, and provides Serial Port and Graphic device information in a 'pci-rb' node without providing informations about all Host PCI Root Bridges. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com> refine gaphic and serial
Add Red/Green/Blue mask and pixelsperscanline properties parse when constructing GraphicInfo HoB, these properties are required during flash Framebuffer data to Graphic device. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
Add ARM64 support on FdtParserLib when FDT is enabled. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
DO NOT MERGE!!
If unaligned check has been enabled in ARM64 platform, FDT parser might dereference unaligned address to get 64-bit data. Use unaligned data read to avoid triggering unaligned data access Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
According to ACPI Specification, 64 bit physical address of the XSDT provides indentical functionality to the RSDT but accommodates phiscal address of description headers that are larger than 32 bits. In this case physical address of XSDT table is 64 bit aligned, however size of ACPI description tabled header is not 64 bit alinged. It leads to the entry of other description headers are not 64 bit aligned. In ARM64 architecture, deference not 64 bit aligned address to get 64 bit data will trigger unaligned data access fault. Use ReadUnaligned64 method to fix this unaligned data access issue. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
ARM64 CpuDxe takes charge of constructing Translation tables with memory map information provided by bootloader, and enabling MMU, set correct EOIMode to adapt ARM GiC V3 implementation. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
SR-IOV is enabled for NVME device, it is impossible to disable controller for the first node, so we need to wait till timeout. During this timeout period, prompt message to indicate status. Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
<Include a description of the change and why this change was made.>
<For each item, place an "x" in between
[
and]
if true. Example:[x]
(you can also check items in GitHub UI)><Create the PR as a Draft PR if it is only created to run CI checks.>
<Delete lines in <> tags before creating the PR.>
How This Was Tested
<Describe the test(s) that were run to verify the changes.>
Integration Instructions
<Describe how these changes should be integrated. Use N/A if nothing is required.>