On 08/08/2012 12:30 PM, Rob Herring wrote: ... > Making u-boot more intelligent discovering things also helps here. For > example, > booting from the disk partition with the bootable flag set. I've submitted > patches for this a while back.
That sounds like these: http://www.mail-archive.com/[email protected]/msg79100.html Is it likely these will make it into U-Boot? Nobody seems to have replied to your patches. I just recently proposed a "partuuid" command to extract a partition's UUID, but I've since re-written it to be a "part" command with a "uuid" sub-command. Adding a "get-bootable" sub-command to retrieve the flag your patch sets would be a good idea. Should I pull your patches into my series to do this? Your series only implements bootable flag retrieval for MSDOS/MBR partitions. I wonder what flag one should key off for EFI/GPT partition tables? Looking at parted/gparted, the following options exist: A parted flag called "boot", which sets the partition's type UUID. This appears to have been supported since before parted was in git (i.e. 2006 some time). A parted flag called "legacy_boot", which actually sets a single bit in the partition attributes. This feature is available in parted v2.4 and later, which isn't even in Ubuntu Quantal yet, although it was released a while ago. This seems to be the more correct option, although not very available to users. Perhaps either case should trigger U-Boot to consider the partition bootable? _______________________________________________ cross-distro mailing list [email protected] http://lists.linaro.org/mailman/listinfo/cross-distro
