文档:在 QEMU 中安装 7000 系列 ARMv7 Windows RT 版本:修订间差异

第 20 行: 第 20 行:
* 此指南不适用于 Build 7915,因为它被设计为在德州仪器(TI)OMAP4 上运行,且不会在 Tegra 2 QEMU 上运行。需要改用 QEMU-woa。
* 此指南不适用于 Build 7915,因为它被设计为在德州仪器(TI)OMAP4 上运行,且不会在 Tegra 2 QEMU 上运行。需要改用 QEMU-woa。


===Instructions===
=== 说明 ===
These instructions assume that the user has an elevated command prompt window open.
这些说明基于假定用户打开了提升为管理员权限的命令提示符窗口。


Create the needed virtual disk images through the <code>diskpart</code> utility by running the below script; they will be created under a directory in the C: drive named <code>ARM8</code>. The <code>INSTALL</code>, <code>MainOS</code> and EFI system partitions will be respectively mounted under drive letters F and P.
通过运行以下脚本,通过 <code>diskpart</code> 实用程序创建所需的虚拟磁盘映像;它们将在 C: 驱动器中名为 <code>ARM8</code> 的目录下创建。<code>INSTALL</code><code>MainOS</code> EFI 系统分区将分别挂载在驱动器号 F P 下。
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
create vdisk file="C:\ARM8\Setup.vhd" maximum=4096 type=expandable
create vdisk file="C:\ARM8\Setup.vhd" maximum=4096 type=expandable
第 44 行: 第 44 行:
</syntaxhighlight>
</syntaxhighlight>


Depending on the users' desired build flavor (free or checked), copy the contents of the installation media over to the <code>INSTALL</code> partition. Extract the needed EFI boot manager (<code>\Windows\Boot\EFI\bootmgfw.efi</code>) from the [[Windows PE]] or [[Windows Setup]] boot image to <code>INSTALL</code>, as <code>EFI\Boot\bootarm.efi</code>.
根据用户所需的版本分支(free 或 checked),将安装介质的内容复制到 <code>INSTALL</code> 分区。从 [[Windows 预安装环境|Windows PE]] 或 [[Windows 安装程序]]启动映像中提取所需的 EFI 启动管理器(<code>\Windows\Boot\EFI\bootmgfw.efi</code>)以 <code>EFI\Boot\bootarm.efi</code> 形式进行安装。


Eject all currently attached virtual disks from the machine, and paste and run the contents of the below script onto a batch file within the QEMU installation directory, replacing <code>FWType</code> with either the <code>78xx</code> variant firmware (for early builds up to [[Windows 8 build 7898|7898]]) or the <code>multi</code> variant (for builds 7898 through [[Windows 8 build 7996 (fbl_multimedia_media_sndproc)|build 7996]]):{{efn|name="quad2g"|If utilizing the quad-core variant of the Tegra 2 WoA fork, the machine configuration in the batch script must be modified to address 2 GB of RAM, and the patched <code>2g</code> EFI firmware capsules must also be used to start up the virtual machine. The <code>multi2g</code> combination can be used to immediately boot into builds 8020 through late 81xx; if this combination is not being used, then necessary registry modifications against the <code>SYSTEM</code> hive to load Tegra 2 HAL extension IDs <code>VEN_ra2.&DEV_0002</code> (<code>HalExtTegra2.dll</code>) and <code>VEN_ra2.&DEV_0003</code> (<code>HalExtTegra2Dma.dll</code>; in later builds, <code>HalExtTegraDma.dll</code>) are required.}}
从计算机中弹出所有当前连接的虚拟磁盘,然后将以下脚本的内容粘贴到 QEMU 安装目录中的批处理文件上并运行,将 <code>FWType</code> 替换为 <code>78xx</code> 变体固件(适用于最高 [[Windows RT Build 7898.0.fbl_core1_kernel_npc_ext.101209-1746|Build 7898]] 的早期版本)或 <code>multi</code> 变体(适用于 Build 7898 [[Windows RT Build 7996.0.fbl_multimedia_media_sndproc.110504-1700|Build 7996]]):{{efn|name="quad2g"|如果使用 Tegra 2 WoA 分支的四核变体,必须修改批处理脚本中的机器配置处理 2 GB 的 RAM,且还必须使用经过修补后的 <code>2g</code> EFI 固件封装来启动虚拟机。<code>multi2g</code> 组合可用于立即启动到 Build 8020 81xx 后期的版本;如果未使用此组合,则需要对 <code>SYSTEM</code> 配置单元进行必要的注册表修改,以加载 Tegra 2 HAL 扩展 ID <code>VEN_ra2.&DEV_0002</code><code>HalExtTegra2.dll</code>)和 <code>VEN_ra2.&DEV_0003</code><code>HalExtTegra2Dma.dll</code>;在更高版本中为 <code>HalExtTegraDma.dll</code>)。}}
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
set BL=".\fw\HARMONY.fd.FWType"
set BL=".\fw\HARMONY.fd.FWType"
第 62 行: 第 62 行:
</syntaxhighlight>
</syntaxhighlight>


Start installing the operating system. Setup must be directly invoked from the original installation media as the version in the OS boot image does not function.<!-- staging doesn't work in build 7792 through ~mid-/late 78xx, and MS recommends starting setup from the install media per official documentation --> The following command may be used to start the installation process:<syntaxhighlight lang="batch">
开始安装操作系统。必须直接从原始安装媒体调用安装程序,因为操作系统启动映像中的版本不起作用。<!-- 暂存在 Build 7792 ~mid-/late 78xx 中不起作用,MS 建议根据官方文档从安装介质开始安装程序 -->以下命令可用于启动安装过程:
<syntaxhighlight lang="batch">
start D:\sources\setup.exe
start D:\sources\setup.exe
</syntaxhighlight>
</syntaxhighlight>


Immediately after completing the first phase of setup, remove the SD slot for the installation media and boot into the operating system by using the below batch script configuration:{{efn|name="quad2g"}}
完成安装程序的第一阶段后,立即删除安装介质的 SD 插槽,并使用以下批处理脚本配置启动到操作系统:{{efn|name="quad2g"}}
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
set BL=".\fw\HARMONY.fd.FWTYPE"
set BL=".\fw\HARMONY.fd.FWTYPE"
第 80 行: 第 81 行:
</syntaxhighlight>
</syntaxhighlight>


Continue installing the operating system through normal means.
继续通过正常方式安装操作系统。
{{reflist}}
{{notelist}}