[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New frame buffer detection algorithm and loadrom command for
From: |
Bean |
Subject: |
Re: [PATCH] New frame buffer detection algorithm and loadrom command for efi platform |
Date: |
Thu, 26 Mar 2009 14:56:03 +0800 |
Hi,
This is another update, it contains the following changes with regards
to the previous one:
1, Move loadbios command to commands/efi directory.
2, loadbios support an optional second parameter which is the int10
vector dump file.
3, The linux command enables frame buffer by default, so you don't
need video= option anymore.
4. New command fix_video to fix video register issue with efi. With
this, you can boot to console mode with agp enabled.
5, New shell script grub-dumpbios which can be used to generate the
bios dump from pc mode.
As the commands usage have changed in the previous patches, here is a
summary of what you should do with this latest patch:
1, Boot without bios dump.
This is the commands to use:
search --set /vmlinuz
fix_video
fakebios
linux /vmlinuz root=/dev/sdb1
initrd /initrd.img
2, Boot with bios dump.
First, boot to pc mode, then use script grub-dumpbios to generate the
dump files:
sudo grub-dumpbios -o /boot/
video bios dump is in vbios.bin, int10 vector is in int10.bin. /boot/
is the output directory.
Then, use the following commands in grub2:
search --set /vmlinuz
fix_video
loadbios /boot/vbios.bin /boot/int10.bin
linux /vmlinuz root=/dev/sdb1
initrd /initrd.img
Moreover, if you're booting 2.6.27-28, amd64 kernel, you need to add
noefi option.
--
Bean
loadbios_3.diff
Description: Text Data