1 Star 0 Fork 0

开源代码存储/clover

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Readme.rtf 3.05 KB
一键复制 编辑 原始数据 按行查看 历史
slice2009 提交于 2012-01-26 18:12 . synchro
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 Menlo-Bold;\f1\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;\red255\green9\blue6;}
\paperw11900\paperh16840\margl1440\margr1440\vieww16100\viewh12960\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
\f0\b\fs24 \cf0 Slice
\f1\b0 \
\
The Clover EFI boot project is just Duet but with follow corrections:\
Note! Efildr20 is restricted in size to 483kb (or 452kb?) so I have to erase unnecessary codes from the project to be able to add new features, new drivers and just update existing drivers.\
I am not a member of EDK2 team and can't influence on the sources so I copy some sources into my project and correct them. Hope some day Tiano will look into my corrections and apply them.\
\
1. My computer has no Serial Port so I need no DEBUG to Serial. To reduce a space I delete all DEBUG codes from BdsDxe, BdsLib, BdsPlatform, DxeIpl, DxeCore, EfiLdr.\
2. To start from ReadOnly volume I have to exclude any FS writing operations, mostly related to Efivar.bin.\
3. Some quirky BIOSes needs to be patched in Smbios and Acpi tables that performed by SmbiosGenDxe and AcpiPlatformDxe. But also I need to correct SmbiosProtocol and AcpiProtocol because EDK2 prevented these tables to be patched.\
4. Modules PciBusNoEnumerationDxe, RuntimeDxe, SataControllerDxe, VideoBios, VgaClass are corrected because of non-compilability of originals.\
5. Oracle's project VirtualBox contains some necessary patches to IdeController, IdeBus, PeCoffLib, ConsoleControlProtocol, UefiCpuDxe and PartitionDxe. It also contains more FileSystem's drivers, not only FAT32. It's a pity VBoxHFS is not perfect and NTFS driver is absent.\
6. I also added features that will be accounted as improvement so they are not interesting for EDK2. For example more resolutions in BiosVideo. And more.\
7. Some not used modules in the project will remain here as a code examples.\
\
Second step I can launch rEFIt.efi and boot into real OS that impossible with original Duet. But I still have problems:\
1. Notebook Dell Inspiron 1525. Intel Core2Duo T8300 2400MHz, Intel X3100 video.\
\f0\b \cf2 \strike \strikec2 ANY Efildr20 just reboot immediately
\f1\b0 \cf0 \strikec0 .\strike0\striked0 \
Resolved. Explanation here\
\ul http://www.projectosx.com/forum/index.php?showtopic=2008&view=findpost&p=16107\ulnone \
2. I can boot into OS but with 1024Mb RAM installed the OS crashes with DMA operations. \
Looks like the EFI EDK2 has wrong MemoryMap.\
\strike \strikec0 WIKI said that it might be 24bytes while start32 uses only 20bytes. \
Resolved by patching OS kernel.\strike0\striked0 \
Fully resolved by correcting memory map.\
\
3. I can go to S3 state (sleep) but never return back to system. The module S3Resume supposes to return to Pei. NO, NO, NO!!! I want to return to system!\
Resolved! S3Save and S3Resume assume UEFI method and I just set BIOS method for resume. S3Save and S3Resume no more used.\
\
All major problems are resolved and now the project will be polished.\
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/open-source-code-storage/clover.git
git@gitee.com:open-source-code-storage/clover.git
open-source-code-storage
clover
clover
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385