- 积分
- 59
- 最后登录
- 2019-7-10
- 精华
- 0
- 阅读权限
- 20
- 主题
- 3
- UID
- 195299
- 帖子
- 73
- PB币
- 1620
- 威望
- 5
- 贡献
- 0
- 技术
- 2
- 活跃
- 32
- UID
- 195299
- 帖子
- 73
- PB币
- 1620
- 贡献
- 0
- 技术
- 2
- 活跃
- 32
|
发表于 2012-3-16 14:38:20
IP属地山东
|显示全部楼层
这里建议用fat32模式的u盘作为存贮介质,
并且可以将refit先安装到u盘,待调试好后再转到硬盘
结合efi shell 的常用命令对分析方法和流程进行介绍(一)
0、help 帮助,如
1、map 列出分区列表
2、-b 分屏输出,如
3、mode 可以调整efi显示行数和宽度,便于查找和观察
4、pci 对pci设置进行查询
5、> 将输出存储到文件,便于记录和详细分析,如假定u盘为 fs0:
(切换到U盘)
(输出到u盘文件)
在pci输出中查找和显卡有关的硬件信息
例如hd2000的是 00 00 02 00,对应:PCI Segment 00 ,Bus 00, Device 02 ,Func 00
6、查询上述硬件的详细设置 输入后三个地址即可
hd.txt 中有类似信息
Vendor ID(0): 8086 Device ID(2): 0102
Command(4): 0006
(00)I/O space access enabled: 0 (01)Memory space access enabled: 1
(02)Behave as bus master: 1 (03)Monitor special cycle enabled: 0
(04)Mem Write & Invalidate enabled: 0 (05)Palette snooping is enabled: 0
(06)Assert PERR# when parity error: 0 (07)Do address/data stepping: 0
(08)SERR# driver enabled: 0 (09)Fast back-to-back transact...: 0
Status(6): 0090
(04)New Capabilities linked list: 1 (05)66MHz Capable: 0
(07)Fast Back-to-Back Capable: 1 (08)Master Data Parity Error: 0
(09)DEVSEL timing: Fast (11)Signaled Target Abort: 0
(12)Received Target Abort: 0 (13)Received Master Abort: 0
(14)Signaled System Error: 0 (15)Detected Parity Error: 0
Revision ID(8): 09 BIST(0F): Incapable
Cache Line Size(C): 00 Latency Timer(D): 00
Header Type(0E): 00, Single function, PCI device
Class: Display Controller - Other display controller -
Base Address Registers(10):
其硬件ID和win8中驱动管理中查询的信息是一致的
Vendor ID(0): 8086 Device ID(2): 0102
Command(4): 0006表示 0004位置处的值是 0006 (十六进制),是后面按位输出值的和
7、到虚拟机中(无须安装操作系统)查询win8可以接受的信息
- pci 00 02 00 -i > hd2.txt
复制代码
hd2.txt 中有类似信息 (需要重点对比的值用红色标出)
Vendor ID(0): 8086 Device ID(2): 7191
Command(4): 0010
(00)I/O space access enabled: 0 (01)Memory space access enabled: 0
(02)Behave as bus master: 0 (03)Monitor special cycle enabled: 0
(04)Mem Write & Invalidate enabled: 1 (05)Palette snooping is enabled: 0
(06)Assert PERR# when parity error: 0 (07)Do address/data stepping: 0
(08)SERR# driver enabled: 0 (09)Fast back-to-back transact...: 0
Status(6): 0220
(04)New Capabilities linked list: 0 (05)66MHz Capable: 1
(07)Fast Back-to-Back Capable: 0 (08)Master Data Parity Error: 0
(09)DEVSEL timing: Medium (11)Signaled Target Abort: 0
(12)Received Target Abort: 0 (13)Received Master Abort: 0
(14)Signaled System Error: 0 (15)Detected Parity Error: 0
Revision ID(8): 01 BIST(0F): Incapable
Cache Line Size(C): 00 Latency Timer(D): 00
Header Type(0E): 01, Single function, P2P bridge
Class: Bridge Device - PCI/PCI bridge -
Base Address Registers(10): (None)
No Expansion ROM(38)
(Bus Numbers) Primary(18) Secondary(19) Subordinate(1A)
------------------------------------------------------
00 01 01
8、尝试修改 mm
例如
(1)修改 command(4)中的 01~05值
其中00020004 = 000200 + 04,
000200 为hd2000的硬件pci地址,
04 为Command(4)中的4
10 为Command(4)的值(十六进制)
(2)看修改后信息
(待续)
|
|