grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Some minor powerpc fixes, addons


From: Marcin Kurek
Subject: [PATCH] Some minor powerpc fixes, addons
Date: Mon, 15 Oct 2007 22:54:49 +0200

Hell[o]

Attached rest of my grub changes.

affs: As mentioned on grub_ofdisk_open() the total_sectors value is
hosed on ieee1275 then we can not use it here. Anyway the code is
still a bit broken :( I will try to fix it in a free time in future.

Read: Fixed grub_ofdisk_read() for old versions of OF and fixed a read
error check. Not tested, but should be fine I hope.

ofboot: Added ofboot commands to boot using interface from firmware.
This allows us to boot MorphOS for example. As a addon I introduced a
command to execute a forth script before real boot which can be used
for example on efika to execute a device-tree fixup before boot linux.

A small example:

menuentry "MorphOS (Normal)" {
        ofboot    $mos_img $mos_3d ramdebug logserver
}

menuentry "Gentoo (2.6.22-gentoo-r8)" {
        set       root=(ide0,11)
        ofrun    efika.forth
        linux     /vmlinuz-2.6.22-gentoo-r8 video=radeonfb root=/dev/sda7
        initrd    /initrd-2.6.22-gentoo-r8.img
}

-- 
--- Marcin 'Morgoth' Kurek ---

Attachment: grub2-affs.patch
Description: Text Data

Attachment: grub2-ieee1275-fix-read.patch
Description: Text Data

Attachment: grub2-ofboot.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]