On 30.08.2009, at 12:13, Laurent Vivier wrote:
Le dimanche 30 août 2009 à 11:49 +0200, Alexander Graf a écrit :
On 29.08.2009, at 17:43, svn@openbios.org wrote:
Author: laurent Date: 2009-08-29 17:43:00 +0200 (Sat, 29 Aug 2009) New Revision: 571
Modified: trunk/openbios-devel/arch/ppc/qemu/main.c trunk/openbios-devel/forth/admin/nvram.fs Log: Replace yaboot_startup() by newworld_boot() which implements generic CHRP boot method. It finds the CHRP bootscript using the file attribute 'tbxi' and the blessed directory.
This method allows to boot easily Fedora (the bitness detection is done by the script and yaboot is called with the according yaboot.conf) but openSUSE is broken (you have to use "boot cd:,\suseboot\yaboot")
For the lazy readers, what's the reason it worked before but breaks now?
Because, originally the executed script was "ppc/bootinfo.txt":
<chrp-boot> <description>openSuSE 11.1</description> <os-name>openSuSE 11.1</os-name> <boot-script>boot &device;:1,\suseboot\yaboot.ibm</boot-script> </chrp-boot>
And now, using the "tbxi" attributes the executed script is "suseboot/os-chooser":
<CHRP-BOOT> <COMPATIBLE> MacRISC MacRISC3 MacRISC4 </COMPATIBLE> <DESCRIPTION> SuSE Linux for PowerMac </DESCRIPTION> <BOOT-SCRIPT> load &device;:&partition;,\suseboot\yaboot go </BOOT-SCRIPT> <OS-BADGE-ICONS> 1010 000000000000F8FEACF6000000000000 ...
I'm planning to implement "load" and "go" to correct this issue...
Hm, makes sense :-). It's good to see someone working on this!
Thanks a lot,
Alex