[超干] e04

楼主: revanchist (revanchist)   2021-11-15 11:45:40
os driver protocol
1.Visual Studio Community 2017 (version 15.9)
2.edk2-vUDK2018, UDK2018
edk2-BaseTools-win32
git github
3.C:\ASL iasl-win-20210105
C:\nasm nasm-2.14.02-win64 nasm source file, nasm executable file
C:\Python27 python-2.7.18
cx_Freeze-4.3.3.win32-py2.7.msi
c:\openssl openssl-OpenSSL_1_1_0g
nasm_prefix c:\nasm
Path C:\asl;c:\nasm;c:\openssl
PYTHON_FREEZER_PATH C:\Python27\Scripts
python_home c:\python27
CYGWIN_HOME C:\cygwin
build basetools
1. edksetup.bat
build -a IA32,X64 -p OvmfPkg\OvmfPkgX64.dsc -D DEBUG_ON_SERIAL_PORT
2. target.txt VS2017 3. edksetup rebuild
tools_def.txt
*_*_*_NASM_PATH = ENV(NASM_PREFIX)\nasm
?路?BaseTools\Bin\Win32下GenFds.exe更名?GenFds.LABZ,
并?BaseTools\BinWrappers\WindowsLike;添加到Path路?中。
path BaseTools\BinWrappers\WindowsLike;
set PYTHON_HOME=c:\python27;
build
build run
edksetup
build cleanall
build
build run
NT32模拟器
Nt32 只是在 Windows 下模拟一个 32-bit 的硬件来跑 UEFI
QEMU(quick emulator)
Ovmf Package (OvmfPkg) 是 UEFI 计画中 Open Virtual Machine Firmware Project
target.txt
ACTIVE_PLATFORM = OvmfPkg/OvmfPkgia32.dsc
1.QEMU 2.ovmf.fd 3.C:\Program Files\qemu>qemu-system-x86_64.exe -bios "OVMF.fd"
4.C:\Program Files\qemu>qemu-system-x86_64.exe -bios "OVMF.fd" -hda fat:rw:h:\temp -net none
5.FS0: ls
build -p MyPkg/MyPkg.dsc -t VS2005 -a X64
而起始Loading部分的Logo图档更换方式有两种:
一、直接到Sample\Platform\Generic\Logo底下将logo.bmp换掉,再重新编译一次。
二、开启Sample\Platform\Nt32\Build\Nt32.dsc到Sample\Platform\Generic\Logo\Logo.inf这一行,修改为Sample\Platform\Generic\Logo\Logo.inf SOURCE_OVERRIDE_PATH=您自己的logo.bmp目录(不含档名)。
作者: likeair (我有健康的膝盖)   2021-11-15 12:19:00
这三小黑特点?
作者: bailan (Bailan)   2021-11-15 12:32:00
他好几篇都这种不知道哪贴上的东西,好像是在洗...
作者: iLeyaSin365 (伊雷雅鑫)   2021-11-15 15:18:00
啊 这我知道 有时候用来当记事本或者临时信箱(比如手机找到资料 但不想寄,先贴到b上,然后再回办公室用电脑开

Links booklink

Contact Us: admin [ a t ] ucptt.com