BIOS\ACPI\UEFI\EC
obins_Iee
未来很贵的,请承诺这一秒
展开
-
Ubuntu使用问题记录
Ubuntu原创 2022-12-18 22:25:18 · 426 阅读 · 1 评论 -
SATA controller command
SATA Controller Command sample原创 2022-09-23 15:06:37 · 456 阅读 · 0 评论 -
windows msinfo32 display platform role Config
platform role原创 2022-07-11 15:04:30 · 249 阅读 · 0 评论 -
x86 ME PSP检测工具
chipsec原创 2022-06-20 10:51:59 · 463 阅读 · 0 评论 -
UEFI Shell下引导liunx iso光盘安装文件,不写入u盘全部数据
原理 使用grubx64.efi引导iso文件进入UEFI Shell 命令行之后,索引到 grubx64.efi 文件所在目录执行grubx64.efi 进入grub命令行界面输入 `ls –a -h`查看分区信息# install Ubuntu from .iso filemenuentry "install ubuntu ISO" --class ubuntu --class os { # insmod ntfs insmod loopbac原创 2021-09-27 19:33:59 · 1895 阅读 · 0 评论 -
UEFI Windows restart OS in Setup UI
#define EFI_GLOBAL_VARIABLE "{8BE4DF61-93CA-11D2-AA0D-00E098032B8C}"#define EFI_OSIndications_NAME "OsIndications"#define EFI_OS_INDICATIONS_BOOT_TO_FW_UI 0x0000000000000001#define .原创 2021-09-07 17:56:30 · 403 阅读 · 0 评论 -
Virtual Box 创建U盘启动硬盘
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe internalcommands createrawvmdk -filename E:\UEFIUSB.vmdk -rawdisk \\.\PhysicalDrive2RAW host disk access VMDK file E:\UEFIUSB.vmdk created successfully.以管理员身份创建原创 2021-07-16 18:02:41 · 302 阅读 · 0 评论 -
Window regedit read Write
// ConsoleApplication.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <Windows.h>int ReadReg(char* path, char* key, char* value){ HKEY hKey; int ret = RegOpenKeyEx(HKEY_CURRENT_USER, path, 0, KEY_EXECUTE, &hKey); if (ret != ERROR_SUC.原创 2021-04-17 15:19:37 · 92 阅读 · 0 评论 -
GetSystemPowerStatus backup
// GetSystemPowerStatus.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <Windows.h>int main(){ SYSTEM_POWER_STATUS sysPowerStatus; GetSystemPowerStatus(&sysPowerStatus); printf("sysPowerStatus.ACLineStatus: %d\n", (int)sysPowerStat.原创 2021-04-08 09:00:07 · 149 阅读 · 0 评论 -
qemu虚拟机运行UEFI
qemu虚拟机运行UEFI软件版本edk2-edk2-stable202011编译 Ovfmbuild -p OvmfPkg/OvmfPkgX64.dsc //生成ovfm固件qemu启动并使用该固件:qemu-system-x86_64 -bios Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fdqemu 创建硬盘qemu-img.exe create myimage.img 67108864//如何格式化硬盘FAT32格...原创 2021-03-14 22:57:15 · 3117 阅读 · 0 评论 -
X86平台内存SPD部分理解备忘
在配置内存时候需要配置内存SPD数据DDR3 内存LPDDR3x 一般参考DDR3 SPD specDDR4内存LPDD4x内存根据平台的PDG,为细则详细理解还需要深入原创 2021-01-30 10:33:55 · 542 阅读 · 0 评论 -
DDR 技术总览
在开始介绍 DDR 之前,首先要了解内存的功用为何。大多数的 3C 产品在运作时,会将正在使用的程式存放到一个短期数据储存区,该空间即为内存,所以有了内存的运用能使 3C 产品更快速的切换程序以方便使用。内存的历史图一为内存的种类及发展史:图一:内存的种类及发展史内存(Memory)又可分为 DRAM(Dynamic Random Access Memory)动态随机存取内存和 SRAM (Static Random Access Memory)静态随机存取内存两种。两种都是挥发性.原创 2021-01-30 10:34:34 · 496 阅读 · 0 评论 -
Forcing a System Crash from the Keyboard
https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/forcing-a-system-crash-from-the-keyboard原创 2021-01-04 22:37:21 · 91 阅读 · 0 评论 -
SPI flash烧录器EZP2019试用记录
昨天一个HW同事购买了一个EZP2019,使用不了安装不了驱动,请我看下,首先询问tb卖家索要驱动,卖家给的是EZP2010的(看来卖家也不懂)一开始我也还以为是EZP2010,所以开始安装驱动,发现无法安装驱动,然后在设备管理器查看VID/PID,果然和EZP2010不一样然后使用EZP2019光盘读取,发现确实驱动不一样,遂从光盘取下驱动安装,使用了一下速度达不到EZP2010更别说其他正品了,但是增加了16M 32M flash ROM烧录的,便宜的东西,毕竟能用就好,原创 2020-10-22 09:19:58 · 4507 阅读 · 0 评论 -
EDK2 stable 202008 basetool 编译不过
最新下载最新EDK2 202008进行编译,遇到下面这个问题BrotliCompress 模块编译不过,记录下,后续解决subprocess not exit successfullyError while execute command 'nmake all' in direcotry D:\edk2-edk2-stable202008\BaseTools\Source\C\BrotliCompressMicrosoft (R) Program Maintenance Utility Ver.原创 2020-10-13 17:24:19 · 2499 阅读 · 4 评论 -
Python 使用学习的记录
1、python安装包下载在官网下载会特别慢,需要连接镜像https://mirrors.huaweicloud.com/python/2、python pip需要配置国内源清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:http://pypi.hust原创 2020-09-11 22:46:24 · 118 阅读 · 0 评论 -
UEFI PI部分study
//转入BIOS已近一年多,跟了2个案子 打杂&自学。没人带进步有些慢。一定要把这部分细节理解清晰。。。。。。//先框架后细节//ppi结构定义EFI_PEI_PPI_DESCRIPTOR mPpiListCodePpi = { (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), &gMyPEIGUID, &mPpi};PeiServicesInstallPp...原创 2020-08-08 10:44:24 · 610 阅读 · 0 评论 -
How to Disable Screen Rotation in Windows 10
How to Disable Screen Rotation in Windows 10Modern tablets and convertibles support screen rotation thanks to built-in hardware sensors. When you turn your device, its desktop may change the display...转载 2019-10-14 09:03:31 · 420 阅读 · 0 评论 -
Intel's Haswell Architecture Analyzed: Building a New PC and a New Intel
The New Sleep States: S0ixA bunch of PC makers got together and defined the various operating modes that ACPI PCs can be in. If everyone plays by the same rules there are no surprises, which is good f...转载 2017-12-10 14:08:29 · 314 阅读 · 0 评论 -
win10 touchpad figure control function
Swipe left to the right to open the task viewSwipe left from right to open the operation centerSwipe down from the top to open the hidden title bar for the Modern app in tablet modeWhen a full-screen ...原创 2017-12-12 23:53:10 · 245 阅读 · 0 评论 -
AndeStar™ ISA内核chip
AndeStar 是一个16-位/32-位混合长度的指令集架构。使用AndeStar 指令集可以达到最佳的系统效能,最小的程序代码,和最小的能量消耗。AndeStar 指令集的关键技术正在申请专利当中。AndeStar 指令集有以下的特色: 不需要使用状态转换就可以混合使用16-位和32-位的指令。 16-位的指令是在程序中经常用到的指令。 指令集是遵循精简指令集的精神来设计的。 包含16个或是3...转载 2018-01-18 09:32:13 · 337 阅读 · 0 评论 -
UDK2017 fopen使用问题
本人在调试fopen时候发现如下问题:20180316 updataStdLib\ReadMe.txtINF Files=========The INF files for most modules will not require special directives in order tosupport the Standard Libraries. The two sections whi...原创 2018-02-06 21:37:23 · 550 阅读 · 0 评论 -
Embedded Controller
1、http://www.ene.com.tw ENE embeded controller2、http://www.ite.com.tw ITE embeded controller3、http://www.nuvoton.com.cn nuvoton embeded controller原创 2018-02-24 17:01:51 · 2618 阅读 · 0 评论 -
UEFI 下查找USB设备
/** The user Entry Point for Application. The user code starts with this function as the real entry point for the application. @param[in] ImageHandle The firmware allocated handle for the EF...原创 2018-04-08 15:06:13 · 2645 阅读 · 0 评论 -
PCI 原理及操作配置方式自己的理解记录
PCI 有三个空间 配置空间 (config space )、 I/O空间、内存空间计算机的几种重要资源 其中软件资源主要有:1、Memory7 M+ \* T7 z. D6 q1 p. c4 o2、IO* B" R; M- A1 j3、IRQ+ J* [6 Z1 i2 J0 I9 O* z4、DMA- H7 y- Y" p- F/ T9 \7 T0 {PCI 配置空间 有固定的格式结构 是指PC...原创 2018-04-08 22:59:45 · 565 阅读 · 0 评论 -
Windows hardware lab Kit learn
windows hardware lab kit docs:https://blogs.msdn.microsoft.com/windows_hardware_certification_ch/in audio mouse keyboard and other hardware quire,原创 2017-12-04 18:40:41 · 798 阅读 · 0 评论 -
Computer Fn KEY is function key
Fn key is function key:press Fn key and press other key other functionFn sticky function is :StickyKeys is an accessibility feature to help computer users who have physical disabilities, The Sticky Ke...原创 2017-12-03 18:35:01 · 621 阅读 · 0 评论 -
EFI Shell 命令参考
对于使用使用DOS的人来说,会使用DOS命令是最基本的,而在当今即将盛行的EFI BIOS来说,就有了新的变化,如何操作EFI Shell 呢?至此我贴出了EFI Shell 的命令供大家学习。 EFI是Extensible Firmware Interface的缩写,是介于平台固件和操作系统之间的一层软件接口(及其详细规格说明文档)。EFI是Intel在1998年开始的一个项目演变而...转载 2017-10-28 14:41:53 · 25274 阅读 · 0 评论 -
PECI接口
PECI是用于监测CPU及芯片组温度的一线总线(one-wirebus),全称是Platform Environment Control Interface。它最主要的应用是监测CPU温度,最新版本的PECI接口还包括一些其他的功能。1 Intel Processor的温控机制在CPU中,通常每个CPU核心都有一个数字温度传感器。在PC平台下,处理器可以通过MSR(Mode specific re...转载 2016-12-15 17:08:46 · 13733 阅读 · 1 评论 -
touchpad hid report descrpt windows sample descript
05 01 // USAGE_PAGE (Generic Desktop) 09 02 a1 01 // Collection (Application) 85 01 09 01 a1 00 // COLLECTION (Physical) 05 09 19 01 29 02 15 00 25原创 2017-12-10 13:58:12 · 840 阅读 · 0 评论 -
NMAKE : U1073 stop 故障解决记录
使用NMAKE 编译时候出现莫名的 U1073错误,对比代码,及编译配置文件 语法及配置都没有问题最终找到问题的故障点在那里了:仔细对比终于到到问题点 ...原创 2018-05-25 11:05:42 · 6888 阅读 · 3 评论 -
UDK2017 编译环境搭建python报错
在Win10上搭建UDK2017编译环境,可以build但是 edk2setup.bat --rebuild 一直提示python报错 如下图:UEFI BIOS //20181114 更新问题已经完美解决需要使用 Visual Studio X86 本机工具命令提示进行(2010)编译 Basetool 即可成功Build...原创 2018-11-07 22:23:07 · 435 阅读 · 0 评论 -
inpoutx64.sys 常驻系统无法删除
使用inpoutx64.sys之后会常驻系统,并且每次开机这个驱动会被不知道什么进程打开且无法删除,看样子果然没得免费的午餐。有同样问题的留个言,一起探讨一下,改天有时间用IDA追踪下看下做了那些动作...原创 2018-12-05 01:17:13 · 5995 阅读 · 4 评论 -
Windows 如何调用ACPI Method---驱动开发
使用RW查看ACPI部分,有XSDT, DSDT......等tab表,在ACPI中,凡是以下划线开头的Method(如_STA)都系统预定义的Method如何访问这些表了,参考微软网站:https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/acpiioct/ns-acpiioct-_acpi_e...原创 2019-06-28 14:18:25 · 2066 阅读 · 0 评论 -
Syntax Highlighting for ASL (ACPI)
Syntax Highlighting for ASL (ACPI)I’ve been writing some ACPI Source Language (ASL) code for a project recently, and so I went through the exercise of configuring syntax highlighting for my text edito...转载 2018-04-12 08:56:30 · 288 阅读 · 0 评论