[PATCH 0/3] PReP FAT support

Leonardo Rangel lrangel at linux.vnet.ibm.com
Fri Nov 9 04:43:29 EST 2007


Hi guys,

Here are the patches that make it possible to use FAT partitions
through Open Firmware, discussed here  
(http://ozlabs.org/pipermail/yaboot-devel/2007-October/000172.html).

This way, we don't need a partition just to put yaboot in, we can
put yaboot, its config file, kernel and initrd (or many versions of
them) into a single fat partition and make open firmware boot off it.

The first part of this patch, adds the FAT partition detection - Thanks
Przemek Iskra (sparky at pld-linux.org), that created this patch for Macs
and then send us his code. I believe this works for both now, but further
test on Mac is needed.

The second part of this patch adds a list of possible config file names
(we need it because old fat partitions have 8.3 filename restriction,  
so we can't use the default yaboot.conf there) and a function that  
iterates
through trying to find a loadable config file with one of those  
filenames/paths.

The third part simply removes the code blocks that are no longer necessary.
They're mostly config filename manipulation.

Thanks everyone who helped us on doing that, specially Doug Maxey and Ben
Herrenschmidt for the clarifications and Paul Nasrat, for the good ideas and
hardworking. Thanks Paulo for the Coffee!

regards,

Leo




More information about the Yaboot-devel mailing list