Re: pci-e config register modification in grub

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Nando wrote:
> Hi everyone,
>
> Wondering if grub2 can have an additional module added to do various
> pci-e Configuration Register fixups/modifications before launching
> into XP/Win7/Linux. 
Are PCI configuration registers enough? If not can you research the
specifications?
> Specifically I require:
>
> 1/ ability to modify PCI Bridge Configuration Registers for DIY ViDock
> project  to
> allow the video card to work [ current workaround is boot DOS, use
> pcitool to do the mod, then use grub4dos to chainload the OS ]
>
> 2/ ability to restore a mini pci-e port's Extended PCI Configuration
> registers config to reverse HP bios whitelisting of wifi cards (See
> bottom of HP Mini pci-e wifi bios thread
> . No current tool
> can do this that I've found, with the DOS pcitool extending only to
> the 00-FF pci-e configuration registers, not the extended registers.
>
> I'm running Ubuntu 9.04 with grub as the bootloader. Can these
> features be added to grub via say the menu.lst file as well as some
> config file that can store the dump for (2) above??
>
> Nando
> 
>
> ___
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: pci-e config register modification in grub

2009-09-26 Thread Vladimir 'phcoder' Serbinenko
Nando wrote:
> Hi everyone,
>
> Wondering if grub2 can have an additional module added to do various
> pci-e Configuration Register fixups/modifications before launching
> into XP/Win7/Linux. Specifically I require:
>
> 1/ ability to modify PCI Bridge Configuration Registers for DIY ViDock
> project  to
> allow the video card to work [ current workaround is boot DOS, use
> pcitool to do the mod, then use grub4dos to chainload the OS ]
>
> 2/ ability to restore a mini pci-e port's Extended PCI Configuration
> registers config to reverse HP bios whitelisting of wifi cards (See
> bottom of HP Mini pci-e wifi bios thread
> . No current tool
> can do this that I've found, with the DOS pcitool extending only to
> the 00-FF pci-e configuration registers, not the extended registers.
I'm not familiar with pci-e and don't know how much additional code
would be required considering already existing pci code. Considering
windows share "chainloader" command with other OSes too one could add a
command "winfix" which will autodetect and do all the fixes necessary
for windows and then 30_os_prober.in can be modified to use this. This
way user doesn't need manual configuration. If autodetecting is too
cumbersome one could have separate commands in grub to do exactly the
fix you need. Could you make the patch and send it here. If you need to
import code from another project discuss it here first - not all code is
suitable for grub
>
> I'm running Ubuntu 9.04 with grub as the bootloader. Can these
> features be added to grub via say the menu.lst file as well as some
> config file that can store the dump for (2) above??
>
> Nando
> 
>
> ___
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   






___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: pci-e config register modification in grub

2009-09-26 Thread Vladimir 'phcoder' Serbinenko
Vladimir 'phcoder' Serbinenko wrote:
> Nando wrote:
>   
>> Hi everyone,
>>
>> Wondering if grub2 can have an additional module added to do various
>> pci-e Configuration Register fixups/modifications before launching
>> into XP/Win7/Linux. Specifically I require:
>>
>> 
For Linux I would recommend to contact developpers of corresponding
kernel subsystem - it will help them to improve driver. Further
discussion is in relation to MS stuff.
>> 1/ ability to modify PCI Bridge Configuration Registers for DIY ViDock
>> project  to
>> allow the video card to work [ current workaround is boot DOS, use
>> pcitool to do the mod, then use grub4dos to chainload the OS ]
>>
>> 2/ ability to restore a mini pci-e port's Extended PCI Configuration
>> registers config to reverse HP bios whitelisting of wifi cards (See
>> bottom of HP Mini pci-e wifi bios thread
>> . No current tool
>> can do this that I've found, with the DOS pcitool extending only to
>> the 00-FF pci-e configuration registers, not the extended registers.
>> 
> I'm not familiar with pci-e and don't know how much additional code
> would be required considering already existing pci code. Considering
> windows share "chainloader" command with other OSes too one could add a
> command "winfix" which will autodetect and do all the fixes necessary
> for windows and then 30_os_prober.in can be modified to use this. This
> way user doesn't need manual configuration. If autodetecting is too
> cumbersome one could have separate commands in grub to do exactly the
> fix you need. Could you make the patch and send it here. If you need to
> import code from another project discuss it here first - not all code is
> suitable for grub
>   
>> I'm running Ubuntu 9.04 with grub as the bootloader. Can these
>> features be added to grub via say the menu.lst file as well as some
>> config file that can store the dump for (2) above??
>>
>> Nando
>> 
>>
>> ___
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> http://lists.gnu.org/mailman/listinfo/grub-devel
>>   
>> 
>
>
>
>   




___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel