All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst
Date: Tue, 22 Dec 2009 17:27:52 +0100	[thread overview]
Message-ID: <4B30F388.7050604@gmail.com> (raw)
In-Reply-To: <4116f8730910240142l35f0c204t1c6d5dcb0ca7bcd6@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1911 bytes --]

Nando wrote:
> Hi Vlad,
>
>     > able to do the equivalent of setpci by calculating the addresses
>     > needing memory writes.
>
>     Except pciconf space
>
>
> Are you saying that write_dword will not write to pciconf space? 
>  
>
>     >
>     > 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
>
>
> I've like *read* a dump file into pciexbar memory space to overcome my
> wifi whitelisting. Currently doing this via a grub2 DOS Image entry
> explained at http://www.wimsbios.com/phpBB2/topic9388-135.html#53650 .
> To have such an ability would mean I could just add another menuitem
> "Ubunto [reverse whitelisting]" and bypass the need for the DOS
> bootimage. This ability would be further enhanced if a compressed dump
> file could be used to speed up the process.
>
> So I guess it should be a request for:
>
> - 'read_dump ADDRESS FILE' for mPCIe wifi whitelsting could be done
> within grub2. .
> - a 'setpci' type command  to do pci-e pci-port bridge window fixups,
> amongst other things.
>
MEM I/O isn't necessarily just a normal memory space. Most of the times
it isn't. So writing by dwords, words or bytes won't lead to the same
result. You could say: add an option to specify how to write to MM I/O
but it may happen that some registers need byte and other ones dword writes
> Nando
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]

  parent reply	other threads:[~2009-12-22 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22 11:33 Feature Request: 32-bit mem write and 'setpci -s' type command in menu.lst Nando
2009-10-22 11:51 ` Vladimir 'phcoder' Serbinenko
2009-10-23 13:53   ` Nando
2009-10-23 14:42     ` Vladimir 'phcoder' Serbinenko
2009-10-24  8:42       ` Nando
2009-10-24  8:54         ` Vladimir 'phcoder' Serbinenko
2009-10-24 10:57           ` Seth Goldberg
2009-10-24  8:55         ` Bean
2009-12-22 16:27         ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2009-12-22 16:25 ` [PATCH] " Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B30F388.7050604@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.