winec7 启动架构

CE Boot Architecture
The CE Boot framework consists of the components shown below in Figure 1. The core code calls the code in the boot scenario, which calls the boot driver factory to instantiate boot drivers. The boot drivers communicate with the hardware to do the work (such as downloading the OS over Ethernet or reading it from persistent storage).

               Figure 1: CE Boot Framework Architecture


The CE Boot components shown in Figure 1 are: 

Core:The core code controls the flow of execution, memory mapping between physical and virtual addresses, and memory allocation. For more information, see Core Code. Boot Scenario:The boot scenario consists of code called by the core code to perform individual tasks, such as loading the OS into memory. For more information, see Boot Scenario Code.

Boot Driver Factory:The boot driver factory is a function that creates and initializes a boot driver and returns a handle to it. For more information on the boot driver factory, see Boot Driver Factory Code.

Boot Drivers:The boot driver code standardizes access to hardware devices by using only IOCTLs and a deinitialization function to communicate with them. For more information on boot drivers, see Boot Driver Code. (Note that the core CE Boot library can be used without any boot drivers.)

Notification and Logging:Notification functions interact with the user by providing information about events and by accepting feedback. Logging functions are typically used for debugging. For more information on notification and logging, see Notification and Logging Code.

 

Download the OS image into persistent storage and then into RAM
1. When the device is started, the boot loader is in BOOT_STATE_POWERON.
2. In BOOT_STATE_CONFIG, the boot loader loads the saved or default configuration boot settings, and the user can select choices from a boot menu.
3. In BOOT_STATE_DOWNLOAD, the boot loader downloads the image into persistent storage, such as flash memory.
CE Boot Framework
4. In BOOT_STATE_PRELOAD, the boot loader determines if it will start the Update Loader (ULDR). In this scenario, it doesn’t start it.
5. In BOOT_STATE_LOAD_OS, the boot loader loads the image from persistent storage into RAM.
6. Finally, BOOT_STATE_RUN signals the successful end to the boot process.
Download the OS image directly into RAM
1. When the device is started, the boot loader is in BOOT_STATE_POWERON.
2. In BOOT_STATE_CONFIG, the boot loader loads the saved or default configuration boot settings, and the user can select choices from a menu.
3. In BOOT_STATE_DOWNLOAD, the boot loader loads the image into RAM.
4. Finally, BOOT_STATE_RUN signals the successful end to the boot process.
Load the OS image that is already in persistent storage into RAM
1. When the device is started, the boot loader is in BOOT_STATE_POWERON.
2. In BOOT_STATE_CONFIG, the boot loader loads the saved or default configuration boot settings, and the user can select choices from a menu.
3. In BOOT_STATE_PRELOAD, the boot loader determines if it will start the ULDR. In this scenario, it doesn’t start it.
4. In BOOT_STATE_LOAD_OS, the boot loader loads the image from persistent storage into RAM.
5. Finally, BOOT_STATE_RUN signals the successful end to the boot process.
Load a ULDR image from persistent storage into RAM
1. When the device is started, the boot loader is in BOOT_STATE_POWERON.
2. In BOOT_STATE_CONFIG, the boot loader loads the saved or default configuration boot settings, and the user can select choices from a menu.
3. In BOOT_STATE_ULDR, the boot loader loads the ULDR image from persistent storage into RAM.
4. Finally, BOOT_STATE_RUN signals the successful end to the boot process. In this case, the ULDR image is booted instead of the OS image.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在ARM架构上安装Wine需要先确保系统满足安装要求。首先,需要使用一个支持ARM架构的Linux发行版,例如Ubuntu、Debian或Fedora。其次,确保系统已经更新到最新版本,以获取最新的软件包和更新。 在安装Wine之前,需要安装一些基本的依赖项。可以使用包管理器来安装这些依赖项。例如,在Ubuntu上,可以运行以下命令进行安装: sudo apt-get update sudo apt-get install build-essential 然后,下载Wine的源代码。可以在Wine官方网站上找到源代码的下载链接。下载后,解压缩源代码文件。然后,进入解压缩后的目录。 在ARM架构上安装Wine时,需要使用交叉编译的方法进行编译。这是因为Wine的默认编译工具不支持ARM架构。可以使用交叉编译工具来编译Wine。 首先,安装交叉编译工具链。可以使用包管理器来安装,例如在Ubuntu上可以运行以下命令: sudo apt-get install g++-arm-linux-gnueabihf 然后,设置环境变量,以便在编译过程中使用交叉编译工具链。可以在终端中运行以下命令: export CC=arm-linux-gnueabihf-gcc export CXX=arm-linux-gnueabihf-g++ 接下来,运行配置脚本以准备编译过程: ./configure --host=arm-linux-gnueabihf 配置脚本运行后,可以运行make命令开始编译过程: make 编译过程可能需要一些时间。完成后,可以运行以下命令进行安装: sudo make install 安装完成后,就可以在ARM架构上使用Wine了。可以在终端中运行wine命令来启动Wine环境,并运行Windows应用程序。 综上所述,安装Wine在ARM架构上需要下载源代码,设置交叉编译环境,并使用交叉编译工具链进行编译和安装。安装完成后,即可在ARM架构上使用Wine
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值