yaboot 1.3.14 release candidate 1
It's been some time in the making but I'd like to put out what is on HEAD for people to test. Key features are improved netbooting on IBM pSeries machines (Nathan Lynch), Amiga partition support (Sven Luther), Software RAID support on IBM pSeries machines (Dustin Kirkland), plus many small fixups. Thanks to all the contributors involved. It should be listed in the snapshot section at http://yaboot.ozlabs.org/
c955afa8188dcb927db09cb30e82cef0c00dbedb yaboot-1.3.14rc1.tar.gz
Most of the stuff is already in a variety of distributions, but I'd invite wider testing.
Thanks to ozlabs for putting up the hosting at short notice when penguinppc.org had hardware issues.
Paul
Quoted 6 lines · Paul Nasrat
It's been some time in the making but I'd like to put out what is on HEAD for people to test. Key features are improved netbooting on IBM pSeries machines (Nathan Lynch), Amiga partition support (Sven Luther), Software RAID support on IBM pSeries machines (Dustin Kirkland), plus many small fixups. Thanks to all the contributors involved. It should be listed in the snapshot section at http://yaboot.ozlabs.org/
Not sure if you have anything like this in your tree at the moment, but here's a patch we use for Ubuntu. It's based in part on code in silo (I maintain silo upstream). Since the two are very close in code, this made sense :). Silo allows you to add an arch in the image stanza like:
image[sun4,sun4m,sun4c]=/boot/foo
image[sun4u]=/boot/foo-64
This basically allows you to do things like this for ppc:
image=/boot/vmlinux-ppc32
name=Linux
...
image[macrisc4]=/boot/vmlinux-ppc64
name=Linux
...
One a powerpc64 (G5 for instance), this will override the default target of "Linux" with the 64-bit image. The name is checked against the root /compatible node in the device tree. (e.g. on my powerbook it has "PowerBook5,9", "MacRISC3", and "Power Macintosh" as possible values).
This seemed a lot better than just doing "32-bit" and "64-bit", since it also allows for things like:
image[powerbook5,8|powerbook5,9]=/boot/...
and
image[macrisc|macrisc3]=/boot/...
(note, | is the entry separator, so you can have more than one match).
We only use this for 32/64 kernels, but it's really useful for more than that.
lib/ctype.c +8 -0
@@ -44,3 +44,11 @@ } } +int strncasecmp (const char *cs,const char *ct,size_t n) +{ +signed char __res =0 ; +while (n--) +if ((__res =tolower (*cs) -tolower (*ct++)) !=0 || !*cs++) +break ; +return __res; +}
second/cfg.c +109 -4
195 lines not on this page · raw message
Signature · 2 lines
Ben Collins Kernel Developer - Ubuntu Linux
Quoted 4 lines · Ben Collins
Not sure if you have anything like this in your tree at the moment, but here's a patch we use for Ubuntu. It's based in part on code in silo (I maintain silo upstream). Since the two are very close in code, this made sense :). Silo allows you to add an arch in the image stanza like:
No, thanks for passing this on to me it looks sane, I'll test a little then probably commit. Currently I've been doing this on macs with an ofboot script checking 64-bit, but this is probably better.
Paul
Quoted 3 lines · Paul Nasrat
No, thanks for passing this on to me it looks sane, I'll test a little then probably commit. Currently I've been doing this on macs with an ofboot script checking 64-bit, but this is probably better.
... and will work on CHRP for 32 vs. 64, which we can't do in bootinfo.txt because of problems with the IBM firmware.
Signature · 1 line
dwmw2
Quoted 1 line · Paul Nasrat
Amiga partition support (Sven Luther),
Does this still have an off-by-one bug in the partition numbering which coincidentally matches a similar bug in the Pegasos OpenFirmware? If so, we should fix it before any proper release.
Signature · 1 line
dwmw2