From: David Miller <da...@davemloft.net> Date: Sun, 19 Apr 2009 17:42:18 -0700 (PDT)
Ho hum, the grub-devel "posting size monster" is likely going to eat this one. If you want to review this patch, I've put a copy up at: http://vger.kernel.org/~davem/0004-grub-Add-sparc64-support-code.patch > Ok, this gets sparc64 building again and adds the necessary seperation > of the mkdevicemap implementation so we can use escaped openfirmware > path names instead of "(hdX)" and "(fdX)" as is customary on i386. > a > Code is added to convert OS path names into openfirmware device > paths. With some very simple changes, this code can be adapted > to powerpc. This is not done yet, but when it is then grub will > no longer depend upon the 'ofpathname' program on powerpc. > > We're pretty close to working on sparc64 with this patch. What > remains is: > > 1) Fleshing out and implementing the OF path name escaping for > device map entries. > > 2) Fixing how FS UUID code can open the same device multiple times > at once, which doesn't work on OpenBoot. > > I have patches for #2 and will begin working on #1 now. > > 2009-04-19 David S. Miller <da...@davemloft.net> > > * util/sparc64/ieee1275/misc.c: New file. > * util/sparc64/ieee1275/grub-setup.c: New file. > * util/sparc64/ieee1275/grub-ofpathname.c: New file. > * util/sparc64/ieee1275/grub-mkimage.c: New file. > * util/sparc64/ieee1275/grub-install.in: New file. > * util/ieee1275/ofpath.c: New file. > * util/ieee1275/devicemap.c: New file. > * util/devicemap.c: New file. > * util/deviceiter.c: New file. > * kern/sparc64/ieee1275/init.c: New file. > * include/grub/util/ofpath.h: New file. > * include/grub/util/deviceiter.h: New file. > * util/grub-mkdevicemap.c: Include deviceiter.h. > Implement using grub_util_emit_devicemap_entry and > grub_util_iterate_devices. > * conf/i386-corebook.rmk: Build util/deviceiter.c and > util/devicemap.c into grub-mkdevicemap > * conf/i386-efi.rmk: Likewise. > * conf/i386-ieee1275.rmk: Likewise. > * conf/i386-pc.rmk: Likewise. > * conf/powerpc-ieee1275.rmk: Likewise. > * conf/sparc64-ieee1275.rmk: Add rules to build boot block > images and installation utilities. Build kernel as image > instead of as elf binary. Use common rules as much as possible. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel