[U-Boot] disk: part_dos.c: Add a PBR check when MBR checking fails
Tom Rini
trini at ti.com
Thu Jun 12 00:18:57 CEST 2014
On Fri, Jun 06, 2014 at 03:48:26PM +1200, Darwin Dingel wrote:
> Bug: SDCard with a messed up partition but still has a FAT signature
> intact is readable in Linux but unreadable in uboot with 'fatls'.
>
> Fix: When partition info checking fails, there is no checking for a
> FAT signature (DOS_PBR) which will fail 'fatls'. FAT signature checking
> is done when no valid partition is found in partition table. If FAT
> signature is found, the disk will be read as PBR and continue
> processing.
>
> Signed-off-by: Darwin Dingel <darwin.dingel at alliedtelesis.co.nz>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/f232b97f/attachment.pgp>
More information about the U-Boot
mailing list