Monday, October 24, 2011

Build EFI shell to USB boot disk

1. 環境建立:

1). 下載 EDK 1.06(http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK), 下載後解壓縮在 c:\
2). 下載 MASM611(MASM615), 安裝在 c:\
3). 安裝 WINDDK 在 C:\ (我的是7600.16385.1)
4). 安裝 VS2005 or VS2008

2. 開始Build

a. 打開 Visual Studio 2005 Command Prompt (2005為範例)
b. 打入指令 cd C:\Program Files\Microsoft Visual Studio 8\VC\bin (進入bin資料夾), 執行vcvars32.bat
c. 進入 EDK build project, cd c:\edk\Sample\Platform\DUET
d. 在 build EDK之前,請先進入 c:\Edk\Sample\Platform\DUET\Build\Config.env, 並修改 USE_VC8 =NO 改成 USE_VC8=YES

e. 回到 Visual Studio 2005 Command Prompt
f. 在 command prompt 下key入:
set EDK_SOURCE=c:\edk
set WIN_DDK_PATH=C:\WinDDK\7600.16385.1
set MASMPATH=C:\MASM611
g. 在 command prompt 下key入:
nmake build_tools
set EFI_BOOT_DISK=E:(你的USB Disk root)
h. 開始製作 USB boot disk, 在 command prompt 下key入:
nmake createusb
nmake usb

3. USB boot disk完成.

12 comments:

Anonymous said...

Thanks for some other magnificent post. The place else may
just anybody get that kind of info in such an ideal manner of writing?
I've a presentation subsequent week, and I am at the search for such information.

Review my page :: galoshes

Anonymous said...

Hi there, i read your blog from time to time and i own a similar one and i was just curious if you get a
lot of spam comments? If so how do you protect against it, any plugin
or anything you can suggest? I get so much lately it's driving me crazy so any support is very much appreciated.

Feel free to visit my web blog ... simplify

Anonymous said...

I needed to thank you for this great read!! I definitely enjoyed every little bit
of it. I have you saved as a favorite to look at new stuff you post…

Also visit my web-site :: consequently

Anonymous said...

This design is steller! You certainly know how to keep a reader amused.
Between your wit and your videos, I was almost moved to start my
own blog (well, almost...HaHa!) Wonderful job. I really loved
what you had to say, and more than that, how you presented it.

Too cool!

Look into my webpage ... http://profile.Linuxchat.Ir/

Anonymous said...

Great info. Lucky me I came across your site by chance (stumbleupon).
I've saved as a favorite for later!

Also visit my website: disqualification

Anonymous said...

Incredible story there. What happened after? Take care!


Feel free to surf to my website: tanned
Also see my web site: grimy

Anonymous said...

Excellent post. I used to be checking continuously this
weblog and I am inspired! Very helpful information specially the remaining
phase :) I deal with such info a lot. I was looking for this certain info for a very long time.
Thanks and best of luck.

Feel free to surf to my web site - tattoo

Anonymous said...

I used to be suggested this web site by means of my cousin.
I'm no longer positive whether or not this submit is written by means of him as no one else recognize such unique approximately my trouble. You are incredible! Thanks!

Here is my website - arrogantly

Anonymous said...

whoah this blog is magnificent i love studying your posts.

Stay up the great work! You understand, a lot of individuals are hunting round
for this information, you can aid them greatly.


Also visit my web site: www.fonax.com

Anonymous said...

I feel this is one of the such a lot important info for me.
And i am glad reading your article. But want to remark on some basic issues,
The web site style is wonderful, the articles is truly great
: D. Just right activity, cheers

Also visit my page; flupcommunity.de

Anonymous said...

This is a very good tip especially to those fresh to
the blogosphere. Short but very precise info… Appreciate your sharing this one.
A must read post!

My weblog - oily
my page > metamorphosis

Anonymous said...

Sweet blog! I found it while searching on Yahoo
News. Do you have any suggestions on how to get listed in Yahoo News?
I've been trying for a while but I never seem to get there! Thanks

Feel free to visit my blog post; ybatv.org