diff --git a/doc/classic_cli_manpage.rst b/doc/classic_cli_manpage.rst index 243cf4fea..cf805562c 100644 --- a/doc/classic_cli_manpage.rst +++ b/doc/classic_cli_manpage.rst @@ -789,13 +789,43 @@ Some of these programmers have more info below. atavia programmer ^^^^^^^^^^^^^^^^^ +The VT6421A is a PATA/SATA PCI controller that can be found on various cheap PCI cards. +Currently there is a `datasheet `_. + +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 `_. +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] `_ +* `[3] `_ +* `[4] `_ + +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 bb5cdaa36..483d3e66e 100644 --- a/doc/how_to_support_flashrom.rst +++ b/doc/how_to_support_flashrom.rst @@ -94,11 +94,8 @@ As for specific ideas: #. 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 `_ to `new website `_. - 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 f32f18298..b175787eb 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 .. include:: intro.rst diff --git a/doc/supported_hw/supported_prog/index.rst b/doc/supported_hw/supported_prog/index.rst index b87b99549..d1a42c96a 100644 --- a/doc/supported_hw/supported_prog/index.rst +++ b/doc/supported_hw/supported_prog/index.rst @@ -10,7 +10,7 @@ If you can run flashrom locally, the command ``flashrom -L`` prints all devices (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 `_ 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 dbac12788..af1555283 100644 --- a/flashrom.c +++ b/flashrom.c @@ -1528,27 +1528,27 @@ static void nonfatal_help_message(void) 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: \"!" "-------------------------------------------------------------------------------\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 ac70eed6e..7471d1aed 100644 --- a/ichspi.c +++ b/ichspi.c @@ -2236,7 +2236,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum 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 e2f5de512..505c0cdab 100755 --- a/util/git-hooks/commit-msg +++ b/util/git-hooks/commit-msg @@ -28,7 +28,7 @@ unset GREP_OPTIONS 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 #