• Darwin Dingel's avatar
    disk: part_dos.c: Add a PBR check when MBR checking fails · 4a36be9b
    Darwin Dingel authored
    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
    Signed-off-by: default avatarDarwin Dingel <darwin.dingel@alliedtelesis.co.nz>
part_dos.c 7.51 KB