整理自 Building and Running Singularity RDK 1.1.pdf。
版本:2008-10-08 [001]: 初稿。
1. 系统需求
1.8GB 磁盘空间,其中 250MB 磁盘空间用于存放 Singularity 源代码。1.5GB 用于生成 Singularity 以及相关的应用程序。 512MB 内存。 Debugging Tools for Windows,用于调试 Singularity。http://www.microsoft.com/whdc/devtools/debugging/default.mspx CLR 1.1,详细的版本号码:"v1.1.4322"。http://www.microsoft.com/downloads/details.aspx?familyid=262d25e3-f589-4842-8157-034d1e7cf3a3 Microsoft Virtual PC 2007,用于执行 Singularity。http://www.microsoft.com/windows/downloads/virtualpc MSBuild,生成工具。http://msdn.microsoft.com/msdnmag/issues/06/06/InsideMSBuild/default.aspx
2. 准备工作
2.1. 创建桌面快捷方式和 Singularity 生成环境
执行 RDK 的根目录下的 configure.cmd 文件可以在桌面上创建一个快捷方式。这个快捷方式将进入用于生成 Singularity 的命令提示行。它包含所有的环境变量等配置。
2.2. 配置
配置 Loopback 连接主要用于网络引导 Singularity。
使用添加新硬件安装 Microsoft Loopback Network Adapter (Microsoft 环回适配器)。 配置环回连接的 IPv4 地址:10.99.99.1。子网掩码:255.255.255.0。默认网关、DNS 服务器保持空白。
3. 生成 Singularity
使用 MSBuild 生成 Singularity:
msb Distro\Tiny.proj
Tiny – Kernel, volume manager, shell. Small – “Tiny” plus network stack, disk drivers BVT – verification suite SPECweb99 – SPECweb99 suite and benchmarks World – Everything
清理生成:
msb /t:Clean Distro\Tiny.proj
生成 World 大约需要数小时。生成的结果位于 \base.obj。生成日志:\base.obj\MSBuildLogs。
4. 执行 Singularity
4.1. 在 Virtual PC 中执行 Singularity
1: copy boot\pxe.vmc mypc.vmc
2: boottest.cmd [/net] mypc.vmc // /net 开启 Virtual PC 网络启动
如果你看到这样的画面(图 4.1-1),那么恭喜你,一个最前卫的操作系统出现在你的面前。
图 4.1-1
4.2. 在另一台 PC 上执行 Singularity
4.2.1. 系统需求
Pentium II 或更先进的处理器 512MB 或更多的内存
4.2.2. 从网络启动
待补充...
4.2.3. 从 CD-Rom 启动
待补充...
转载于:https://www.cnblogs.com/eclairs/archive/2008/10/08/1313123.html