Olivier,

Thanks for your contribution.

I will review it and if no problem I will help check it in.

Thanks
Feng

From: Olivier Martin [mailto:[email protected]]
Sent: Tuesday, October 21, 2014 01:09
To: Tian, Feng
Cc: [email protected]
Subject: [PATCH] MdeModulePkg/PartitionDxe: Fixed El Torito support when the 
medium is not a CDROM

Dear MdeModulePkg maintainer,

Please find the attached patch that fixes El Torito format on media that do not 
have a 2KB block size.

El Torito format can be used on different media (eg: USB).
A ISO image can be dumped onto a USB mass-storage.

These media might not have the same block size as the CDROM media (ie: 2KB).
The El Torito code and the the El Torito catalogue assume a 2KB-LBA.

In addition, the UEFI specification says in "12.3.4.4 CD-ROM and DVD-ROM":
UEFI code does not assume a fixed block size.

I was able to duplicate the issue by copying a debian ISO on a USB driver and 
try to open the device with UEFI.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin 
<[email protected]<mailto:[email protected]>>

Regards,
Olivier
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to