From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N0wDD-0006Nh-T9 for mharc-grub-devel@gnu.org; Thu, 22 Oct 2009 07:52:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0wDB-0006ND-2r for grub-devel@gnu.org; Thu, 22 Oct 2009 07:52:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0wD6-0006Ma-Ag for grub-devel@gnu.org; Thu, 22 Oct 2009 07:52:08 -0400 Received: from [199.232.76.173] (port=57278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0wD5-0006MR-5h for grub-devel@gnu.org; Thu, 22 Oct 2009 07:52:03 -0400 Received: from mail-fx0-f228.google.com ([209.85.220.228]:35845) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0wD4-0007kh-Ms for grub-devel@gnu.org; Thu, 22 Oct 2009 07:52:02 -0400 Received: by fxm28 with SMTP id 28so9184015fxm.42 for ; Thu, 22 Oct 2009 04:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=7QHnOAbKMS+SaWulGk35kTVziLBkc9qT/xzIv/xiNrg=; b=IbqmIJd/YUObZV9O28ft/E3ZA/FB51yR+39949CwkVbUZw+ROYidQK2zQtbONspsCd DXpS7dxNVfNK2kr5iekjUaSoPfoXcgRCQLofu89EgzknHf4+C17Xk1+inhvpN6WugdeC oATlmFKaMSd0fQyiRh2n8Ols1vj6TuDDRypkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=IAd3/hiVa/y3xPCJVhCFZQD4yG3Cr2AXR2nis3hwyTXeDUqlzURCQHZXJ/2jtK6cOR NxLDcUrC66CHMoevz8F/yH/yDwbujTldw/qulhxPsfkhYbx4fQOu8BVJqsinKMkOPeyN qdx5xE0ikSRop/96Nm2+CILW22mLudh1KoCK0= Received: by 10.204.162.137 with SMTP id v9mr2397293bkx.60.1256212321097; Thu, 22 Oct 2009 04:52:01 -0700 (PDT) Received: from debian.bg45.phnet (hpx-public-dock-146-dhcp.ethz.ch [82.130.83.146]) by mx.google.com with ESMTPS id h2sm1881613fkh.6.2009.10.22.04.51.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Oct 2009 04:52:00 -0700 (PDT) Message-ID: <4AE0475F.2050107@gmail.com> Date: Thu, 22 Oct 2009 13:51:59 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4116f8730910220433ga7d2237q8a72589713c13d94@mail.gmail.com> In-Reply-To: <4116f8730910220433ga7d2237q8a72589713c13d94@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 11:52:09 -0000 Nando wrote: > Hi everyone, > > I wanted to ask if the following features could be added to grub? > > 1/ Ability to write to 32-bit memory space > =============================== > > I need to set my ICH8M chipset to enable the SMBUS, since the bios > disables it. Rather than add the code to the kernel, I'd prefer to do > it in grub. Grub4dos has such a facility but no such facility in > grub's menu.lst. We don't support grub legacy anymore. Switch to grub2 > None that I found anyway. I need to write to following to have access > ot my ICS PLL to be able to do overclocking: > > write 0xFED93418 0xC330005 look at write_dword > > 2/ Ability to do a setpci -s type command > ============================== > > Also, if possible, could a small subset of 'setpci' be incorporated as > well? I guess I could figure out the address I need to write to by > calculation, but would be nice if I could do the equivalent of the > following in grub, associated with a menu entry. This would help the > DIY ViDock project that needs to setup PCI Bridge windows prior to > Windows load, something that many bios doesn't do, neither does Windows. > > setpci -s 00:02.0 40l=20 > it's not implemented yet but is trivial to do. Would you send us a patch? > Comments?? Suggestions?? > > Nando > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git