Anastasia Klimchuk has uploaded this change for review.

View Change

doc: Final cleanup of remaining references to the old wiki website

Change-Id: Ie002c1242075c8becb59d26bd9c562c7616233c1
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
---
M doc/classic_cli_manpage.rst
M doc/how_to_support_flashrom.rst
M doc/index.rst
M doc/supported_hw/supported_prog/index.rst
M flashrom.c
M ichspi.c
M util/git-hooks/commit-msg
7 files changed, 41 insertions(+), 15 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/76/86676/1
diff --git a/doc/classic_cli_manpage.rst b/doc/classic_cli_manpage.rst
index 243cf4f..cf80556 100644
--- a/doc/classic_cli_manpage.rst
+++ b/doc/classic_cli_manpage.rst
@@ -789,13 +789,43 @@
atavia programmer
^^^^^^^^^^^^^^^^^

+The VT6421A is a PATA/SATA PCI controller that can be found on various cheap PCI cards.
+Currently there is a `datasheet <http://spacehopper.org/mirrors/ftp.vtbridge.org/Docs/Storage/DS_VT6421A_100_CCPL.PDF>`_.
+
+There exists a patch for flashrom that makes it possible to access the attached flash chip,
+but it has problems with some cards. They seem to need an offset added to the chip address for unknown reasons.
+
Due to the mysterious address handling of the VIA VT6421A controller the user can specify an offset with the::

flashrom -p atavia:offset=addr

syntax where ``addr`` will be interpreted as usual (leading 0x (0) for hexadecimal (octal) values, or else decimal).
-For more information please see `its wiki page <https://flashrom.org/VT6421A "its wiki page>`_.

+Cards found in the wild:
+
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+| Vendor | Model | rev. | country | lot code | Chip | Size [B] | Offset | lspci |
++================+======================+========+=========+============+=============+==========+======================+=======+
+| | | | | | W39V040BPZ | 512k | | |
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+| Eminent | EM2001 | 0910CD | Taiwan | 2IA0022481 | SST49LF020A | 256k | 0xfff00000 | [2] |
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+| "SATA CONNECT" | "High speed 2/4-port | 0901CD | Taiwan | 2IA0022471 | Pm49FL004 | 512k | 0xfff80000 = | [3] |
+| | Serial ATA card" | | | | | | 0xffffffff - size | |
+| | | | | | | | + 1 (aka phys_addr) | |
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+| Gembird | SATA-3 | | | | W39V040C | 512k | | |
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+| | HZ-006 | | | | Pm39LV512 | 64k | | [4] |
++----------------+----------------------+--------+---------+------------+-------------+----------+----------------------+-------+
+
+* `[2] <http://paste.flashrom.org/view.php?id=1369>`_
+* `[3] <http://www.flashrom.org/pipermail/flashrom/2012-September/009992.html>`_
+* `[4] <http://www.flashrom.org/pipermail/flashrom/2012-December/010318.html>`_
+
+The revision consists of two characters that are printed below the "VT6421A" string on the chip
+prefixed by 4 numbers that encode the production year and week.
+The country is noted right of the revision.

atapromise programmer
^^^^^^^^^^^^^^^^^^^^^
diff --git a/doc/how_to_support_flashrom.rst b/doc/how_to_support_flashrom.rst
index bb5cdaa..483d3e6 100644
--- a/doc/how_to_support_flashrom.rst
+++ b/doc/how_to_support_flashrom.rst
@@ -94,11 +94,8 @@
#. If there is an announcement on the mailing list about new doc under review,
have a look and you can join the review

-#. Help migrate information from `old website <https://wiki.flashrom.org/>`_ to `new website <https://www.flashrom.org/>`_.
- The rule is, all useful docs need to be migrated but they should be reviewed. Concrete example,
- there are docs for programmers, written a while ago. If you are using the programmer regularly
- you can review the existing doc and help update it (if needed) and then the updated doc will
- go to the new website.
+#. If you have been following the document and discovered something incorrect there, or outdated,
+ send a patch to update the document.

#. New documentation welcome.

diff --git a/doc/index.rst b/doc/index.rst
index f32f182..b175787 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -20,7 +20,6 @@
how_to_support_flashrom
how_to_add_docs
documentation_license
- Old wiki website <https://wiki.flashrom.org/>

.. include:: intro.rst

diff --git a/doc/supported_hw/supported_prog/index.rst b/doc/supported_hw/supported_prog/index.rst
index b87b995..d1a42c9 100644
--- a/doc/supported_hw/supported_prog/index.rst
+++ b/doc/supported_hw/supported_prog/index.rst
@@ -10,7 +10,7 @@
(see :doc:`/classic_cli_manpage` for more details on command line options). The output of this command is long, so you might
want to save it to file or grep.

-Patches to add/update documentation, or migrate docs from `old wiki website <https://wiki.flashrom.org/Supported_programmers>`_ are very much appreciated.
+Patches to add/update documentation are very much appreciated.

.. toctree::
:maxdepth: 1
diff --git a/flashrom.c b/flashrom.c
index 8daad74..49d2b36 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1528,27 +1528,27 @@
if (is_internal_programmer())
msg_gerr("This means we have to add special support for your board, programmer or flash\n"
"chip. Please report this to the mailing list at flashrom@flashrom.org or on\n"
- "IRC (see https://www.flashrom.org/Contact for details), thanks!\n"
+ "chat channels (see https://flashrom.org/contact.html for details), thanks!\n"
"-------------------------------------------------------------------------------\n"
"You may now reboot or simply leave the machine running.\n");
else
msg_gerr("Please check the connections (especially those to write protection pins) between\n"
"the programmer and the flash chip. If you think the error is caused by flashrom\n"
- "please report this to the mailing list at flashrom@flashrom.org or on IRC (see\n"
- "https://www.flashrom.org/Contact for details), thanks!\n");
+ "please report this to the mailing list at flashrom@flashrom.org or on chat (see\n"
+ "https://flashrom.org/contact.html for details), thanks!\n");
}

void emergency_help_message(void)
{
msg_gerr("Your flash chip is in an unknown state.\n");
if (is_internal_programmer())
- msg_gerr("Get help on IRC (see https://www.flashrom.org/Contact) or mail\n"
+ msg_gerr("Get help on chat (see https://flashrom.org/contact.html) or mail\n"
"flashrom@flashrom.org with the subject \"FAILED: <your board name>\"!"
"-------------------------------------------------------------------------------\n"
"DO NOT REBOOT OR POWEROFF!\n");
else
msg_gerr("Please report this to the mailing list at flashrom@flashrom.org or\n"
- "on IRC (see https://www.flashrom.org/Contact for details), thanks!\n");
+ "on chat (see https://flashrom.org/contact.html for details), thanks!\n");
}

void list_programmers_linebreak(int startcol, int cols, int paren)
diff --git a/ichspi.c b/ichspi.c
index ac70eed..7471d1a 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -2236,7 +2236,7 @@
if (ich_spi_rw_restricted)
msg_pinfo("Not all flash regions are freely accessible by flashrom. This is "
"most likely\ndue to an active ME. Please see "
- "https://flashrom.org/ME for details.\n");
+ "https://flashrom.org/user_docs/management_engine.html for details.\n");
}

/* Handle PR registers */
diff --git a/util/git-hooks/commit-msg b/util/git-hooks/commit-msg
index e2f5de5..505c0cd 100755
--- a/util/git-hooks/commit-msg
+++ b/util/git-hooks/commit-msg
@@ -28,7 +28,7 @@
CHANGE_ID_AFTER="Bug|Depends-On|Issue|Test|Feature|Fixes|Fixed|Staging-ID"
MSG="$1"

-DEV_GUIDELINES_URL="https://www.flashrom.org/Development_Guidelines"
+DEV_GUIDELINES_URL="https://flashrom.org/dev_guide/development_guide.html"

# Check for, and add if missing, a unique Change-Id
#

To view, visit change 86676. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Ie002c1242075c8becb59d26bd9c562c7616233c1
Gerrit-Change-Number: 86676
Gerrit-PatchSet: 1
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>