没有合适的资源?快使用搜索试试~ 我知道了~
NVMe Boot原理和技术说明详细内容
需积分: 0 2 下载量 103 浏览量
2023-10-16
17:04:03
上传
评论
收藏 2.33MB PDF 举报
温馨提示
试读
54页
The NVM Express Boot specification was developed as part of the NVM Express 2.0 family of specifications. It outlines a standard process for booting over the NVMe interface, and defines the mechanism of a pre-OS environment (e.g., BIOS) to share administrative configuration specific to NVM Express interfaces (e.g., NVMe-oF/TCP Transport) to an operating system. This well-established exchange of information permits operating systems to boot from NVM interfaces in a consistent manner.
资源推荐
资源详情
资源评论
i
NVM Express
®
Boot Specification
Revision 1.0
November 15th, 2022
Please send comments to info@nvmexpress.org
NVM Express
®
Boot Specification, Revision 1.0
ii
NVM Express
®
Boot Specification, Revision 1.0 is available for download at https://nvmexpress.org. The
NVM Express Boot Specification, Revision 1.0 incorporates TP8012.
SPECIFICATION DISCLAIMER
LEGAL NOTICE:
© Copyright 2008 to 2022 NVM Express, Inc. ALL RIGHTS RESERVED.
This NVM Express Boot Specification, revision 1.0 is proprietary to the NVM Express, Inc. (also referred to
as “Company”) and/or its successors and assigns.
NOTICE TO USERS WHO ARE NVM EXPRESS, INC. MEMBERS: Members of NVM Express, Inc. have
the right to use and implement this NVM Express Boot Specification subject, however, to the Member’s
continued compliance with the Company’s Intellectual Property Policy and Bylaws and the Member’s
Participation Agreement.
NOTICE TO NON-MEMBERS OF NVM EXPRESS, INC.: If you are not a Member of NVM Express, Inc.
and you have obtained a copy of this document, you only have a right to review this document or make
reference to or cite this document. Any such references or citations to this document must acknowledge
NVM Express, Inc. copyright ownership of this document. The proper copyright citation or reference is as
follows: “© 2008 to 2022 NVM Express, Inc. ALL RIGHTS RESERVED.” When making any such citations
or references to this document you are not permitted to revise, alter, modify, make any derivatives of, or
otherwise amend the referenced portion of this document in any way without the prior express written
permission of NVM Express, Inc. Nothing contained in this document shall be deemed as granting you any
kind of license to implement or use this document or the specification described therein, or any of its
contents, either expressly or impliedly, or to any intellectual property owned or controlled by NVM Express,
Inc., including, without limitation, any trademarks of NVM Express, Inc.
LEGAL DISCLAIMER:
THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS PROVIDED ON AN “AS IS”
BASIS. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, NVM EXPRESS, INC. (ALONG
WITH THE CONTRIBUTORS TO THIS DOCUMENT) HEREBY DISCLAIM ALL REPRESENTATIONS,
WARRANTIES AND/OR COVENANTS, EITHER EXPRESS OR IMPLIED, STATUTORY OR AT
COMMON LAW, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, VALIDITY, AND/OR
NONINFRINGEMENT.
All product names, trademarks, registered trademarks, and/or servicemarks may be claimed as the property
of their respective owners.
The NVM Express
®
design mark is a registered trademark of NVM Express, Inc.
NVM Express Workgroup
c/o VTM, Inc.
3855 SW 153
rd
Drive
Beaverton, OR 97003 USA
info@nvmexpress.org
NVM Express
®
Boot Specification, Revision 1.0
iii
Table of Contents
1 INTRODUCTION........................................................................................................... 1
1.1 Overview ............................................................................................................................................ 1
1.2 Scope ................................................................................................................................................. 1
1.3 Definitions .......................................................................................................................................... 2
1.3.1 Boot Device .................................................................................................................................................2
1.3.2 Discovery Controller (DC) ...........................................................................................................................2
1.3.3 Diffie-Hellman (DH) .....................................................................................................................................2
1.3.4 Discovery Log Page (DLP) ..........................................................................................................................2
1.3.5 EFI System Partition (ESP) .........................................................................................................................2
1.3.6 Heap Space ................................................................................................................................................2
1.3.7 Host Fabric Interface (HFI) ..........................................................................................................................2
1.3.8 iSCSI Boot Firmware Table (iBFT) ..............................................................................................................3
1.3.9 Namespace (NS) .........................................................................................................................................3
1.3.10 Namespace ID (NSID) .................................................................................................................................3
1.3.11 Namespace Identifier (NID) .........................................................................................................................3
1.3.12 NVM Subsystem .........................................................................................................................................3
1.3.13 NVM Subsystem Port ..................................................................................................................................3
1.3.14 NVMe Boot Firmware Table (NBFT) ...........................................................................................................3
1.3.15 NVMe over Fabrics (NVMe-oF) ...................................................................................................................3
1.3.16 NVMe Qualified Name (NQN) .....................................................................................................................3
1.3.17 Platform .......................................................................................................................................................3
1.3.18 Pre-OS Driver ..............................................................................................................................................4
1.3.19 Storage Subsystem .....................................................................................................................................4
1.3.20 Subsystem and Namespace Descriptor (SSNS) .........................................................................................4
1.3.21 Unified Extensible Firmware Interface (UEFI) .............................................................................................4
1.3.22 UEFI Human Interface Infrastructure (UEFI HII) .........................................................................................4
1.3.23 Extended System Description Table (XSDT) ..............................................................................................4
1.4 References ........................................................................................................................................ 4
1.5 Conventions ....................................................................................................................................... 6
1.5.1 Keywords ....................................................................................................................................................6
1.5.2 Numerical Descriptions ...............................................................................................................................6
1.5.3 Byte, Word, and Dword Relationships .........................................................................................................8
1.5.4 Data Endian-ness ........................................................................................................................................8
1.5.5 IP Addresses and Formatting ......................................................................................................................9
1.5.6 Host Name String Format ............................................................................................................................9
1.5.7 NVMe-oF URI Format .................................................................................................................................9
1.5.8 Optional and Mandatory Fields in Tables .................................................................................................. 10
1.5.9 Namespace Identifier String Formats ........................................................................................................ 10
2 BACKGROUND AND GENERAL METHODOLOGY ............................................................... 12
2.1 Booting from NVMe ......................................................................................................................... 12
2.1.1 Boot from NVMe: PCIe Transport ............................................................................................................. 12
2.1.2 Boot from NVMe-oF: FC Transport ........................................................................................................... 12
2.1.3 Boot from NVMe-oF: TCP Transport ......................................................................................................... 13
3 BOOT MECHANISMS .................................................................................................. 14
3.1 ACPI NVMe Boot Firmware Table (NBFT) ...................................................................................... 14
3.1.1 NBFT Table Overview ............................................................................................................................... 14
3.1.2 NBFT Structure ......................................................................................................................................... 16
ANNEX A. BOOTING (INFORMATIVE) ......................................................................... 35
A.1 Domain Specific Terms.................................................................................................................... 35
A.1.1 SCSI Logical Unit Number (LUN) .............................................................................................................. 35
NVM Express
®
Boot Specification, Revision 1.0
iv
A.1.2 UEFI Boot Device ...................................................................................................................................... 35
A.1.3 UEFI Boot Services ................................................................................................................................... 35
A.1.4 UEFI Device Handle .................................................................................................................................. 35
A.1.5 UEFI Device Path ...................................................................................................................................... 35
A.1.6 UEFI Device Path Protocol ........................................................................................................................ 35
A.1.7 UEFI Protocol ............................................................................................................................................ 35
A.2 Boot from SAN Ontology and Concepts .......................................................................................... 36
A.2.1 Boot from Block Storage Device ............................................................................................................... 36
A.2.2 Boot from SCSI-based Block Storage ....................................................................................................... 37
A.2.3 Boot from SAN: Fibre Channel Storage .................................................................................................... 37
A.2.4 Boot from SAN: iSCSI Storage .................................................................................................................. 37
A.2.5 Boot from NVMe-oF .................................................................................................................................. 38
A.2.6 Configure Boot from NVMe-oF .................................................................................................................. 39
A.2.7 Boot Process ............................................................................................................................................. 39
A.3 Transport Specific and interface specific semantics ....................................................................... 41
A.3.1 ACPI NBFT Discussion and Background .................................................................................................. 41
A.3.2 Implementation considerations .................................................................................................................. 44
A.4 OS Specific Details and Application Considerations ....................................................................... 45
A.4.1 Generic OS Usage of the NBFT ................................................................................................................ 46
A.4.2 Linux .......................................................................................................................................................... 46
NVM Express
®
Boot Specification, Revision 1.0
v
Table of Figures
Figure 1: NVMe Family of Specifications ....................................................................................................................... 1
Figure 2: Decimal and Binary Units ................................................................................................................................ 7
Figure 3: Byte, Word, and Dword Relationships ............................................................................................................ 8
Figure 4: IPv4 in IPv6 Format......................................................................................................................................... 9
Figure 5: NBFT Elements ............................................................................................................................................. 14
Figure 6: NBFT Layout ................................................................................................................................................. 15
Figure 7: NBFT Interface Transport Types ................................................................................................................... 16
Figure 8: NBFT Table ................................................................................................................................................... 16
Figure 9: Host Descriptor ............................................................................................................................................. 20
Figure 10: Host Fabric Interface (HFI) Descriptor List .................................................................................................. 21
Figure 11: Host Fabric Interface (HFI) Descriptor ........................................................................................................ 21
Figure 12: HFI Transport Info Descriptor Header Template ......................................................................................... 22
Figure 13: HFI Transport Info Descriptor – NVMe/TCP ................................................................................................ 22
Figure 14: Subsystem Namespace Descriptor List ...................................................................................................... 24
Figure 15: Subsystem Namespace (SSNS) Descriptor ................................................................................................ 24
Figure 16: Subsystem and Namespace Specific Flags Field ....................................................................................... 26
Figure 17: SSNS Transport Specific Flags Field .......................................................................................................... 27
Figure 18: DHCP Root-Path Elements ......................................................................................................................... 28
Figure 19: Subsystem and Namespace Extended Information Descriptor ................................................................... 29
Figure 20: Security Profile Descriptor List .................................................................................................................... 30
Figure 21: Security Profile Descriptor ........................................................................................................................... 30
Figure 22: Security Profile Descriptor Flags ................................................................................................................. 32
Figure 23: Discovery Descriptor List ............................................................................................................................ 33
Figure 24: Discovery Descriptor ................................................................................................................................... 34
Figure 25: UEFI Network stack differences between booting from iSCSI and booting from NVMe/TCP ...................... 39
Figure 26: Modern EDK2 UEFI Boot Flow ................................................................................................................... 41
Figure 27: Required NVMe/TCP host NBFT information with example data ................................................................ 42
Figure 28: Example Subsystem and Namespace descriptor ........................................................................................ 44
Figure 29: Common Linux boot namespaces and expectations on NBFT content ....................................................... 47
剩余53页未读,继续阅读
资源评论
不会写代码的小可爱&&
- 粉丝: 1256
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功