[flashrom] [PATCH] A8JM board_enable patch (was Re: A8JM flashrom unable to erase)

James Lancaster deathstalker at gmail.com
Fri Feb 12 17:43:35 CET 2010


This patch replaces the earlier one sent, and adds A8JM (and possibly
all A8J series) support, and additionally adds DMI detection of A8J,
after the r896 fix to dmi detection.

Signed-off-by: James Lancaster <deathstalker at gmail.com>

The DMI identification triggers on either the 2nd or 5th dmi strings,
which are both "A8J" followed by different numbers of spaces. Combined
with the PCI IDs, it might work on any of the A8J series seeing that
the main difference in all but the A8JS is the video card/screen
(possibly that too, while there they did add sata in place of IDE). I
believe (based on having a video card that was supposed to only be on
the A8JS, that it has a different device number (1232), that the A8JS
will not be picked up.)

I've tested this on my own computer, it picks it up and appears to
flash just fine. I think I probably should have added Acked by as it
works, but I'll be conservative on the issue.

On Sun, Feb 7, 2010 at 12:48 PM, James Lancaster <deathstalker at gmail.com> wrote:
> Adds support to board_enable.c for ASUS A8JM Notebooks (and possibly
> all A8J series)
>
> Signed-off-by: James Lancaster <deathstalker at gmail.com>
> ---
>
> I have now gotten it working. I would like to thank some of the people
> in IRC for trying to help. It came down to me seeing a few similar 945
> + ICH7 and just trying (first randomly, then systematically) all the
> possible GPIO pins. Finding that one needs to raise GPIO pin 34 on the
> ich7. The rest was already supported.
>
> Of note:
> It does not include DMI matching. I think the PCI IDs will identify it
> (and possibly other A8J series) uniquely.
> It should work for any A8J_ laptop, but as I don't have any others I'm
> not absolutely certain. (I think they simply differ by video card.
> except possibly the A8JS.)
>
> An additional warning:
> Either 0.91 or r3844 (Currently on Jaunty) partially flashed the bios
> initially. I'm not sure how, and frankly, given the hours with a
> corrupted flash rom, I'm not going to experiment, unless someone has a
> specific idea.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A8JM-with-dmi.patch
Type: text/x-diff
Size: 1744 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100212/e8e7eab7/attachment.bin>


More information about the flashrom mailing list