From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N1Nmr-0007Jr-IW for mharc-grub-devel@gnu.org; Fri, 23 Oct 2009 13:18:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1Nmp-0007J8-OV for grub-devel@gnu.org; Fri, 23 Oct 2009 13:18:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1Nmk-0007Gf-JD for grub-devel@gnu.org; Fri, 23 Oct 2009 13:18:47 -0400 Received: from [199.232.76.173] (port=48255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1Nmk-0007GN-An for grub-devel@gnu.org; Fri, 23 Oct 2009 13:18:42 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:36610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N1Nmk-0001Qx-0u for grub-devel@gnu.org; Fri, 23 Oct 2009 13:18:42 -0400 Received: by mail-ew0-f228.google.com with SMTP id 28so3170501ewy.42 for ; Fri, 23 Oct 2009 10:18:41 -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=piC8pOiLOxEZcAU/+GwlAiKmF1yJOi35sZpScZQ94W0=; b=hfWHg0Jr9DBBEi9qFD9MCfWuAkg+4GdlxTbmxoL/+UY+DtpEW1TBjc2zGtmTycYamK Rta8mvmpiV7D5I7i9FG9vJNnsSw5P9yHqbHCtJTwQClRC9ufxyQHJ7L9luOx4CI51Ht5 r2hpvt5m9bTGgvMqvYeklG/Rt2Jifr5c48vzo= 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=M4W//kpmng1l+VX8xiGy3xc+4HW5jhzGgCaAQ6dEDTEdQg0fWav0DVvIzRd+zZ0djb noHSY8UmrLG2oFkSDzCcVLwya4xZBF3jwOLy659/1655HcXKEam+QFy1irQsqYIh7T2O Nh9FtfYM865DX8Ufz2lHvbmVwGDYLinap/AJE= Received: by 10.211.143.10 with SMTP id v10mr12581280ebn.57.1256318321351; Fri, 23 Oct 2009 10:18:41 -0700 (PDT) Received: from debian.bg45.phnet (gprs01.swisscom-mobile.ch [193.247.250.1]) by mx.google.com with ESMTPS id 5sm5965537eyh.34.2009.10.23.10.18.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Oct 2009 10:18:40 -0700 (PDT) Message-ID: <4AE1C0E3.1090506@gmail.com> Date: Fri, 23 Oct 2009 16:42:43 +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> <4AE0475F.2050107@gmail.com> <4116f8730910230653s5f7e2bfatb17668ce91716ec@mail.gmail.com> In-Reply-To: <4116f8730910230653s5f7e2bfatb17668ce91716ec@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: Fri, 23 Oct 2009 17:18:48 -0000 Nando wrote: > Hi Vlad, > > Thank you for this! Just what I was looking for. With pciexbar I'll be > able to do the equivalent of setpci by calculating the addresses > needing memory writes. Except pciconf space > > Another question - is there any "write_dump" sort of command where I > can give an address, a file and it writes the binary data of the file > at the starting address up to the EOF marker? Would help overcome my > mPCIe whitelisting where i have a DOS workaround in place to do > exactly that. I see there is hexdump and dump but neither appear to > provide such function. If it doesn't exist, can a request be made to > add it? eg: > > write_dump ADDRESS FILE > eg: write_dump 0xF8000000 dump_file > This has already been discussed and conclusion that it's too dangerous to write to FS from grub2. If it's one time operation you can just boot FreeDOS for it. IF it's not explain why do you need it on every boot > Nando > > > On Thu, Oct 22, 2009 at 10:51 PM, Vladimir 'phcoder' Serbinenko > > wrote: > > > write 0xFED93418 0xC330005 > look at write_dword > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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