Hi, kumar:
Seems, CDROM is your first boot option and your boot failure, but *not* the shell.efi in usb disk.
You could follow following clues to find your issue:
1) Due to window xp do some cache, so you need use two steps to create a usb disk:
a) Step 1: CreateBootDisk usb e: FAT32 (assume your usb disk is e: )
b) Plug off usb from your windows and plug-in again. <== very important
c) Step 2: CreateBootDisk usb e: FAT32 step2 <== this step is to copy shell.efi to your boot disk as startup boot loader.
After above steps, you could make sure shell.efi is under <bootdisk>\efi\boot\bootia32.efi
2) If you problem still exists with above steps, that mean USB stack related modules does not work in your duet. The reason could:
a) Please make sure following modules are included in your DuetPkg\Duet.fdf file
# Usb Support
INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
b) When you see the ¡°Tiano Logo¡± and progress bar, you could press any key to interrupt it. And you will get into boot ¡°front page¡± as following choise:
i. ¡°Continue¡±
ii. ¡°Language¡±
iii. ¡°Boot manager¡±
iv. ¡°Device manager¡±
v. ¡°Boot maintain manager¡±
You could enter ¡°Boot maintain manager¡± menu and find submenu ¡°Load from file¡±, and enter.
When you enter this menu, BIOS will enumerate all discovered disk for you including your usb disk, you can select the boot loader file from file explorer.
If you can not see your usb disk listed in file explorer, the reason maybe Duet do not recognize your usb disk, it maybe the issue of incompatible usb device.
So you can try floppy boot or change a usb disk and try again.
Thanks.
Best Regard
K
---------------------------
hear and you forget; see and you remember; do and you understand
________________________________
From: praveen kumar [mailto:***@gmail.com]
Sent: 2010Äê3ÔÂ2ÈÕ 0:01
To: Tian, Hot
Cc: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] custom USB Host controller driver using EDK-II emulator
Thanks for the help.
I was able to create a bootable image on USB drive and able to boot the system using this image.
I found the following script in the bottom of ¡°DuetPkg.dsc¡±, which is in ¡°\DuetPkg¡± folder.
#
# Sample Application
#
MdeModulePkg/Application/HelloWorld/HelloWorld.inf
With this I understand that ¡°Hello World¡± app should run with this image. But no sign of ¡°Hello World¡± output on the display.
Also I found the following script in ¡°CreateBootDisk.bat¡± batch file.
:CreateBootFileForIA32
copy %WORKSPACE%\EdkShellBinPkg\MinimumShell\IA32\Shell.efi %EFI_BOOT_DISK%\efi\boot\bootia32.efi /y
With this script, I expected the shell prompt should appear on my system. Unfortunately, I didn¡¯t found any such thing.
The only screens I am getting over my display are,
1st Screen "ABCE
WELCOME TO EFI WORLD"
2nd Screen " TianoCore Logo
Start Boot Options
Progress bar "
3rd Screen "Boot Failed. EFI DVD/CDROM"
I followed the procedure that mentioned in the Readme.txt, which is in ¡°DuetPkg¡± folder to generate the bootable image using Windows XP system.
Please let me know, if I am missing anything or if my understanding about the scripts were wrong ?
Thanks and Regards,
Praveen.
On Sat, Feb 27, 2010 at 6:03 AM, Tian, Hot <***@intel.com<mailto:***@intel.com>> wrote:
More options:
You may possible to boot DUET from USB without EDKII native USB controller drivers (as the boot is using legacy USB support). You can add your USB controller driver or load your USB controller driver from HD.